diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-01-17 05:28:58 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-01-17 05:28:58 +0100 |
commit | ebc5ef7cc6b63c25ebb9143f8bbdd37c7b12055d (patch) | |
tree | b40ae88914d5fcb2b1573cd540dfede7b2641d10 /assets/css/input.css | |
parent | 0d1956e4b6dbf511b6968aa1aca6af4c814814b0 (diff) | |
download | hugo-minimalist-theme-ebc5ef7cc6b63c25ebb9143f8bbdd37c7b12055d.tar.gz hugo-minimalist-theme-ebc5ef7cc6b63c25ebb9143f8bbdd37c7b12055d.tar.bz2 hugo-minimalist-theme-ebc5ef7cc6b63c25ebb9143f8bbdd37c7b12055d.zip |
isolate cv css and apply style with tailwind
Diffstat (limited to 'assets/css/input.css')
-rw-r--r-- | assets/css/input.css | 71 |
1 files changed, 1 insertions, 70 deletions
diff --git a/assets/css/input.css b/assets/css/input.css index a8da489..b9875df 100644 --- a/assets/css/input.css +++ b/assets/css/input.css @@ -1,5 +1,6 @@ @import "tailwindcss/base"; @import "tailwindcss/components"; +@import "./cv.css" layer(components); @import "tailwindcss/utilities"; @import "./academicons.css" layer(utilities); @import "./fontawesome.css" layer(utilities); @@ -143,76 +144,6 @@ } } } - .cv-entry, - .cv-honor { - @apply ml-4 pl-8 pb-2 relative; - .cv-role { - @apply m-0; - } - .cv-host, - .cv-date, - .cv-location { - @apply font-light m-0 p-0; - } - .cv-host::before { - font-family: "Font Awesome 6 Free"; - content: "\f1ad"; - font-weight: 900; - margin: 0 0.5rem; - } - .cv-location::before { - font-family: "Font Awesome 6 Free"; - content: "\f041"; - font-weight: 900; - margin: 0 0.5rem; - } - p { - @apply text-base my-2; - } - ul { - all: revert; - } - } - .cv-entry { - @apply border-l border-gray-400; - .cv-role::before { - content: ""; - position: absolute; - width: 2rem; - height: 2rem; - background-color: #79c753; - border-radius: 50%; - transform: translateX(-50%); - left: 0; - } - .cv-date, - .cv-location { - @apply inline-block; - } - .cv-date::before { - font-family: "Font Awesome 6 Free"; - content: "\f133"; - font-weight: 900; - margin: 0 0.5rem; - } - } - - .cv-honor { - .cv-role { - @apply ml-12 text-xl; - } - .cv-date { - top: 0.05rem; - @apply absolute left-0 text-xl; - } - .cv-date::before { - font-family: "Font Awesome 6 Free"; - color: #ffb700; - content: "\f559"; - font-weight: 900; - margin: 0 0.5rem; - } - } .comment { @apply my-2 pl-4 border-l border-lime-500 relative; h3, |