aboutsummaryrefslogtreecommitdiffstats
path: root/assets/css/cv.css
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-17 05:28:58 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-17 05:28:58 +0100
commitebc5ef7cc6b63c25ebb9143f8bbdd37c7b12055d (patch)
treeb40ae88914d5fcb2b1573cd540dfede7b2641d10 /assets/css/cv.css
parent0d1956e4b6dbf511b6968aa1aca6af4c814814b0 (diff)
downloadhugo-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/cv.css')
-rw-r--r--assets/css/cv.css60
1 files changed, 60 insertions, 0 deletions
diff --git a/assets/css/cv.css b/assets/css/cv.css
new file mode 100644
index 0000000..23cae95
--- /dev/null
+++ b/assets/css/cv.css
@@ -0,0 +1,60 @@
+.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;
+ i {
+ @apply mx-2 fas;
+ }
+ }
+ .cv-host i {
+ @apply fa-building;
+ }
+ .cv-location i {
+ @apply fa-location-pin;
+ }
+ 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 i {
+ @apply fa-calendar;
+ }
+}
+
+.cv-honor {
+ .cv-role {
+ @apply ml-12 text-xl;
+ }
+ .cv-date {
+ top: 0.05rem;
+ @apply absolute left-0 text-xl;
+ i {
+ @apply text-amber-400 fas fa-award;
+ }
+ }
+}