From d4c6a44bff3c2a1026239dc54cd6fdbbd586e6dc Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sat, 21 Oct 2023 23:19:47 +0200 Subject: New styling for org-cv entries --- assets/scss/style.scss | 56 +++++++++++++++++++++++++++++++++++++------------- 1 file changed, 42 insertions(+), 14 deletions(-) (limited to 'assets') 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 -- cgit v1.2.3