From 91931039bc029dcd9a85cd0c2a1105232058b39b Mon Sep 17 00:00:00 2001 From: Avraham Sakal Date: Sun, 24 May 2026 10:18:24 -0400 Subject: [PATCH] more mobile-friendly --- pages/index/+Page.tsx | 27 +++++++++++++++------------ styles.css | 9 +++++++++ 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/pages/index/+Page.tsx b/pages/index/+Page.tsx index 8e1fe3e..3c86f3e 100644 --- a/pages/index/+Page.tsx +++ b/pages/index/+Page.tsx @@ -38,7 +38,8 @@ export default function Page() { display: "flex", flexDirection: "column", width: "70%", - padding: "1em", + paddingLeft: "1em", + paddingRight: "1em", position: "relative", }} > @@ -123,7 +124,7 @@ function MainSkills() {

Main Skills/Technologies

-
    +
      {mainSkills.map((skill) => (
    • {skill}
    • ))} @@ -139,7 +140,7 @@ function ExposedSkills() {

      Have Used

      -
        +
          {exposedSkills.map((skill) => (
        • {skill}
        • ))} @@ -153,21 +154,21 @@ function Employment() { const { employment } = useData(); return (
          -

          +

          Employment (Most recent)
          -

          +
            {employment.map((employment) => (
          • -
            +
            - {employment.title}, + {employment.title},{" "} {employment.company}, {employment.location} @@ -179,7 +180,9 @@ function Employment() {
              {employment.highlights.map((highlight) => ( -
            • {highlight}
            • +
            • + {highlight} +
            • ))}
            @@ -195,11 +198,11 @@ function ProjectsHobbies() { const { projectsHobbies } = useData(); return (
            -

            +

            Projects/Hobbies
            -

            +
              {projectsHobbies.map((projectHobby) => ( @@ -238,9 +241,9 @@ function Education() { const { education } = useData(); return (
              -

              +

              Education -

              +
                {education.map((education) => ( diff --git a/styles.css b/styles.css index f7dfd48..2062220 100644 --- a/styles.css +++ b/styles.css @@ -100,3 +100,12 @@ a { font-weight: 500; text-decoration: none; } + +.employment > :first-child { + margin-block-start: 0.3em; +} + +h2 { + margin-block-start: 0.3em; + margin-block-end: 0.3em; +} \ No newline at end of file