aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-21 23:19:47 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-21 23:19:47 +0200
commitd4c6a44bff3c2a1026239dc54cd6fdbbd586e6dc (patch)
tree1050b548d2ce0eca84159d9e637c7884fe4cb310
parentebf3f6bf9f66aeb0c00be30fd1930b7c3d256427 (diff)
downloadhugo-minimalist-theme-d4c6a44bff3c2a1026239dc54cd6fdbbd586e6dc.tar.gz
hugo-minimalist-theme-d4c6a44bff3c2a1026239dc54cd6fdbbd586e6dc.tar.bz2
hugo-minimalist-theme-d4c6a44bff3c2a1026239dc54cd6fdbbd586e6dc.zip
New styling for org-cv entries
-rw-r--r--assets/scss/style.scss56
1 files changed, 42 insertions, 14 deletions
diff --git a/assets/scss/style.scss b/assets/scss/style.scss
index c1019e9..c8fc777 100644
--- a/assets/scss/style.scss
+++ b/assets/scss/style.scss
@@ -197,8 +197,29 @@ footer {
}
}
// CV ENTRY
+.cv-entry, .cv-honor {
+ @extend .ml3, .pl4, .pb2, .relative;
+ .cv-host, .cv-date, .cv-location {
+ @extend .fw3, .mid-gray, .ma0, .pa0;
+ }
+ .cv-host::before {
+ font-family: "Font Awesome 6 Free";
+ content: "\f1ad";
+ font-weight: 900;
+ margin: 0 .5rem ;
+ }
+ .cv-location::before {
+ font-family: "Font Awesome 6 Free";
+ content: "\f041";
+ font-weight: 900;
+ margin: 0 .5rem ;
+ }
+ p, ul {
+ @extend .mv1, .pv1, .f5;
+ }
+}
.cv-entry {
- @extend .ml3, .pl4, .pb2, .relative, .bl, .b--moon-gray;
+ @extend .bl, .b--moon-gray;
.cv-role {
@extend .ma0, .f3;
}
@@ -212,14 +233,8 @@ footer {
transform: translateX(-50%);
left: 0;
}
- .cv-host, .cv-date, .cv-location {
- @extend .fw3, .mid-gray, .ma0, .pa0;
- }
- .cv-host::before {
- font-family: "Font Awesome 6 Free";
- content: "\f1ad";
- font-weight: 900;
- margin: 0 .5rem ;
+ .cv-date, .cv-location {
+ @extend .dib;
}
.cv-date::before {
font-family: "Font Awesome 6 Free";
@@ -227,15 +242,28 @@ footer {
font-weight: 900;
margin: 0 .5rem ;
}
- .cv-location::before {
+}
+.cv-honor {
+ .cv-role {
+ @extend .ma0, .f4;
+ margin-left: 3.25rem;
+ }
+ .cv-date {
+ position: absolute;
+ left: 0;
+ top: 0.05rem;
+ font-size: 1.25rem;
+ }
+ .cv-host, .cv-location {
+ @extend .dib;
+ }
+ .cv-date::before {
font-family: "Font Awesome 6 Free";
- content: "\f041";
+ color: #ffb700;
+ content: "\f559";
font-weight: 900;
margin: 0 .5rem ;
}
- p, ul {
- @extend .mv1, .pv1;
- }
}
// Title font