From 638ce08668fc09a69e43dd7c50b72a4a6098a81c Mon Sep 17 00:00:00 2001 From: webdevzsk <72684302+webdevsk@users.noreply.github.com> Date: Thu, 7 Sep 2023 21:30:29 +0600 Subject: [PATCH] Decreased spacing --- src/index.css | 7 ++----- src/resume.js | 2 +- src/templates/Template1.css | 36 +++++++++++++++++++++--------------- src/templates/Template1.jsx | 6 ++++-- 4 files changed, 28 insertions(+), 23 deletions(-) diff --git a/src/index.css b/src/index.css index 44f4d6a..aa94df1 100644 --- a/src/index.css +++ b/src/index.css @@ -65,12 +65,9 @@ h2, h3, h4, - h5 { - @apply font-bold text-theme; - } - + h5, h6 { - @apply font-semibold text-accent; + @apply font-bold text-theme; } p, diff --git a/src/resume.js b/src/resume.js index 6ef712b..4d316ad 100644 --- a/src/resume.js +++ b/src/resume.js @@ -60,7 +60,7 @@ const resume = { experiences: [ { position: - "E-commerce Operations Associate, Inventory Management Associate.", + "E-commerce Operations Associate, Inventory Management Associate", company: "Wadi Groceries, Carrefour", location: "Riyadh, Saudiarabia", dateFrom: "APR 2018", diff --git a/src/templates/Template1.css b/src/templates/Template1.css index 817e034..76f4422 100644 --- a/src/templates/Template1.css +++ b/src/templates/Template1.css @@ -6,9 +6,9 @@ #template { --theme: #2a014f; - --accent: #242b52; + --accent: #340ce4; --body: #23192b; - --template-gap: 0.75rem; + --template-gap: 0.5rem; @apply flex flex-col text-body; } @@ -24,7 +24,7 @@ #contact-info { @apply overflow-hidden pb-template; .row { - @apply -mx-2 flex flex-wrap divide-x divide-accent; + @apply -mx-2 flex flex-wrap divide-x divide-theme; } .col { @apply flex gap-1 px-2; @@ -36,17 +36,17 @@ } #about-me { - @apply border-t border-accent py-template; + @apply border-t border-theme py-template; } #skills { @apply overflow-hidden; & > .row { - @apply -mx-4 flex flex-wrap divide-x divide-accent border-accent; + @apply -mx-4 flex flex-wrap divide-x divide-theme border-theme; } .col { - @apply grow border-t border-accent px-4 py-template; + @apply grow border-t border-theme px-4 py-template; } .skillset { @@ -57,25 +57,28 @@ #projects { @apply mb-template; .content { - @apply flex flex-col gap-y-6; + @apply flex flex-col gap-y-4; } .sections { - @apply flex flex-col gap-y-3; + @apply flex flex-col gap-y-2; } .title-section { @apply flex flex-wrap justify-between gap-x-2; + & h5 { + @apply before:me-1 before:text-accent before:content-["▢"]; + } } .builders { @apply flex flex-wrap items-center gap-1; & > *:not(:first-child) { - @apply rounded-md border border-current px-2 transition-colors hover:border-theme hover:bg-theme hover:text-white hover:no-underline; + @apply rounded-md border border-current px-1 transition-colors hover:border-theme hover:bg-theme hover:text-white hover:no-underline; } } .row > h6 { @apply mb-1; } .features { - @apply flex flex-col gap-y-1; + /* @apply flex flex-col gap-y-1; */ } } @@ -83,22 +86,25 @@ @apply mb-template; .content { - @apply mt-template flex flex-col gap-y-6; + @apply mt-template flex flex-col gap-y-4; } .sections { - @apply flex flex-col gap-y-3; + @apply flex flex-col gap-y-2; } .row { grid-template-columns: minmax(0, 1fr) max-content; @apply grid gap-x-2; } + .position > * { + @apply before:me-1 before:text-accent before:content-["◎"]; + } .details { - @apply text-end; + @apply -mb-8 text-end; } .soft-skills, .responsibilities { - @apply mb-1 mt-1 flex flex-col gap-y-1; + /* @apply mb-1 mt-1 flex flex-col gap-y-1; */ } } @@ -106,7 +112,7 @@ @apply mb-template; .content { - @apply flex flex-col gap-y-1; + /* @apply flex flex-col gap-y-1; */ } .row { diff --git a/src/templates/Template1.jsx b/src/templates/Template1.jsx index 9725f62..47e1fea 100644 --- a/src/templates/Template1.jsx +++ b/src/templates/Template1.jsx @@ -128,7 +128,7 @@ const Template1 = ({ printMode }) => {
  • -
    {project.title}
    +
    {project.title}
    {project.repo && (

    @@ -186,7 +186,9 @@ const Template1 = ({ printMode }) => {

  • -
    {job.position}
    + {job.position.split(",").map((title) => ( +
    {title.trim()}
    + ))}