From 0567f0c6e3974aa707c2b776fe35020138bd345c Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 4 Aug 2024 21:40:59 +0200 Subject: [PATCH] Remove RESUME - make page-header links lightorange --- assets/styles.scss | 96 ++----------------- .../layouts/shortcodes/resume-category.html | 1 - .../layouts/shortcodes/resume-entry.html | 31 ------ .../layouts/shortcodes/resume-section.html | 6 -- 4 files changed, 6 insertions(+), 128 deletions(-) delete mode 100644 themes/hugo-theme-notrack/layouts/shortcodes/resume-category.html delete mode 100644 themes/hugo-theme-notrack/layouts/shortcodes/resume-entry.html delete mode 100644 themes/hugo-theme-notrack/layouts/shortcodes/resume-section.html diff --git a/assets/styles.scss b/assets/styles.scss index 127ce23..ee0a24c 100644 --- a/assets/styles.scss +++ b/assets/styles.scss @@ -268,7 +268,7 @@ nav a { } nav li:hover { - border-color: $tab-border-color; + border-color: $ipng-lightorange; } .dropdown .sub-menu { @@ -323,10 +323,10 @@ nav li:hover { @media #{$mq-xxlarge} { margin: 0 27%; } a:hover { - color: $ipng-darkorange; + color: $ipng-lightorange; } .activetab > a:hover { - color: $ipng-lightorange; + color: white; } } @@ -340,11 +340,8 @@ nav li:hover { bottom: 0; color: $text-light; background-color: #f7f7f7; - @media #{$mq-small} { - margin: 0 15%; - width: 70%; - } + @media #{$mq-small} { margin: 0 15%; width: 70%; } @media #{$mq-medium} { margin: 0 17%; width: 66%; } @media #{$mq-large} { margin: 0 21%; width: 58%; } @media #{$mq-xlarge} { margin: 0 24%; width: 52%; } @@ -353,8 +350,8 @@ nav li:hover { .myname { margin: 0 auto 0 0; - padding: 0 0 .25em .25em; - font-size: 1.25em; + padding-left: .5em; + font-size: 1em; } .myname a { @@ -472,87 +469,6 @@ em.taxonomy-emph { } } -// RESUME - -.resume-content { - display: flex; - flex-flow: row wrap; -} - -.category-title { - text-align: left; - width: 8em; - padding: .5em; - flex: 1 3 auto; - - h4 { - margin: 0 0.5em 0 0; - font-size: 1.3em; - } -} - -.category-content { - flex: 2 1 65%; - padding: .5em; - - a { - color: $midnight-matte; - } - - p { - margin: 0; - font-size: 0.9em; - color: $text-light; - } - - ul { - list-style-type: "– "; - } - - ul, ol { - margin-top: 0; - } - li { - font-size: 0.9em; - color: $text-light; - } -} - -.resume-entry { - margin: 0 0 1em 0; - - .what { - text-align: left; - font-size: 1.0em; - color: $text-normal; - } - - .resume-entry-data { - text-align: left; - font-size: 0.8em; - color: $text-very-light; - margin-left: 0.9rem; - } - - .resume-inner { - line-height: 1; - margin-top: 0.2em; - margin-left: 0.9rem; - } - - p, ul, ol, li { - color: $text-light; - text-align: left; - font-size: 0.9em; - } -} - -p.resume-subcategory { - font-size: 1.4em; - text-decoration: underline; - padding: 0 0 .3em 0; -} - // CONTACT #contactinformation { diff --git a/themes/hugo-theme-notrack/layouts/shortcodes/resume-category.html b/themes/hugo-theme-notrack/layouts/shortcodes/resume-category.html deleted file mode 100644 index f1ba02a..0000000 --- a/themes/hugo-theme-notrack/layouts/shortcodes/resume-category.html +++ /dev/null @@ -1 +0,0 @@ -

{{ .Get "title" }}

diff --git a/themes/hugo-theme-notrack/layouts/shortcodes/resume-entry.html b/themes/hugo-theme-notrack/layouts/shortcodes/resume-entry.html deleted file mode 100644 index eeac024..0000000 --- a/themes/hugo-theme-notrack/layouts/shortcodes/resume-entry.html +++ /dev/null @@ -1,31 +0,0 @@ -
- - {{ with .Get "what" }} -

{{ . }}

- {{ end }} - - {{ $where := false }} - {{ $when := false }} - - {{/* Where was the thing you did? (e.g. Mozilla) */}} - {{ with .Get "where" }}{{ $where = . }}{{ end }} - - {{/* When did you do it? (e.g. 2020) */}} - {{- with .Get "when" }}{{ $when = . }}{{ end }} - - {{ if and $where $when }} -

{{ $where }} | - {{ $when }}

- {{ else if $where }} -

{{ $where }}

- {{ else if $when }} -

{{ $when }}

- {{ end }} - - {{/* additional HTML under or as the entry */}} - {{ if gt (len .Inner) 0 }} -
- {{ .Inner }} -
- {{ end }} -
diff --git a/themes/hugo-theme-notrack/layouts/shortcodes/resume-section.html b/themes/hugo-theme-notrack/layouts/shortcodes/resume-section.html deleted file mode 100644 index 9e932d1..0000000 --- a/themes/hugo-theme-notrack/layouts/shortcodes/resume-section.html +++ /dev/null @@ -1,6 +0,0 @@ -
-

{{ .Get "title" }}

-
-
- {{ .Inner }} -