more mobile-friendly

This commit is contained in:
Avraham Sakal
2026-05-24 10:18:24 -04:00
parent f983fe5b83
commit 91931039bc
2 changed files with 24 additions and 12 deletions
+15 -12
View File
@@ -38,7 +38,8 @@ export default function Page() {
display: "flex", display: "flex",
flexDirection: "column", flexDirection: "column",
width: "70%", width: "70%",
padding: "1em", paddingLeft: "1em",
paddingRight: "1em",
position: "relative", position: "relative",
}} }}
> >
@@ -123,7 +124,7 @@ function MainSkills() {
<section className="relevant-skills"> <section className="relevant-skills">
<h3>Main Skills/Technologies</h3> <h3>Main Skills/Technologies</h3>
<div> <div>
<ul className="inline"> <ul className="inline" css={{ textAlign: "justify" }}>
{mainSkills.map((skill) => ( {mainSkills.map((skill) => (
<li>{skill}</li> <li>{skill}</li>
))} ))}
@@ -139,7 +140,7 @@ function ExposedSkills() {
<section className="relevant-skills"> <section className="relevant-skills">
<h3>Have Used</h3> <h3>Have Used</h3>
<div> <div>
<ul className="inline"> <ul className="inline" css={{ textAlign: "justify" }}>
{exposedSkills.map((skill) => ( {exposedSkills.map((skill) => (
<li>{skill}</li> <li>{skill}</li>
))} ))}
@@ -153,21 +154,21 @@ function Employment() {
const { employment } = useData<Data>(); const { employment } = useData<Data>();
return ( return (
<section className="employment"> <section className="employment">
<h1> <h2>
<div className="fit-content"> <div className="fit-content">
<span className="bold">Employment </span> <span className="bold">Employment </span>
<span css={{ fontWeight: 300 }} className="sm italic right"> <span css={{ fontWeight: 300 }} className="sm italic right">
(Most recent) (Most recent)
</span> </span>
</div> </div>
</h1> </h2>
<div> <div>
<ul className="no-bullet"> <ul className="no-bullet">
{employment.map((employment) => ( {employment.map((employment) => (
<li> <li>
<div className="space-between"> <div className="space-between" key={employment.title}>
<div> <div>
<span className="bold">{employment.title},</span> <span className="bold">{employment.title},</span>{" "}
<span> <span>
{employment.company}, {employment.location} {employment.company}, {employment.location}
</span> </span>
@@ -179,7 +180,9 @@ function Employment() {
<div> <div>
<ul> <ul>
{employment.highlights.map((highlight) => ( {employment.highlights.map((highlight) => (
<li>{highlight}</li> <li key={highlight} css={{ textAlign: "justify" }}>
{highlight}
</li>
))} ))}
</ul> </ul>
</div> </div>
@@ -195,11 +198,11 @@ function ProjectsHobbies() {
const { projectsHobbies } = useData<Data>(); const { projectsHobbies } = useData<Data>();
return ( return (
<section className="projects-hobbies"> <section className="projects-hobbies">
<h1> <h2>
<div className="fit-content"> <div className="fit-content">
<div className="bold">Projects/Hobbies</div> <div className="bold">Projects/Hobbies</div>
</div> </div>
</h1> </h2>
<div> <div>
<ul className="no-bullet"> <ul className="no-bullet">
{projectsHobbies.map((projectHobby) => ( {projectsHobbies.map((projectHobby) => (
@@ -238,9 +241,9 @@ function Education() {
const { education } = useData<Data>(); const { education } = useData<Data>();
return ( return (
<section className="education"> <section className="education">
<h1> <h2>
<span className="bold">Education</span> <span className="bold">Education</span>
</h1> </h2>
<div> <div>
<ul className="no-bullet"> <ul className="no-bullet">
{education.map((education) => ( {education.map((education) => (
+9
View File
@@ -100,3 +100,12 @@ a {
font-weight: 500; font-weight: 500;
text-decoration: none; text-decoration: none;
} }
.employment > :first-child {
margin-block-start: 0.3em;
}
h2 {
margin-block-start: 0.3em;
margin-block-end: 0.3em;
}