Move the overrides into the 'ipng' theme

This commit is contained in:
2024-08-04 21:43:58 +02:00
parent 1f8420e2d7
commit 1b400642b9
2 changed files with 94 additions and 917 deletions

View File

@ -1,7 +1,6 @@
// Colors
$midnight-blue: #07608f;
$midnight-matte: #4c7e99;
$text-color: #444;
$tab-border-color: #ddd;
$tab-active-color: #474a4f;
$heading-gray: #333;
@ -11,12 +10,17 @@ $close-hover-gray: #bbb;
$contactlinks-color: #eee;
$contactlinks-text-color: #524e59;
$cv-red: #b25347;
$light-text: #5f5a6f;
$very-light-text: #767676;
$text-dark: #444;
$text-normal: #777;
$text-light: #5f5a6f;
$text-very-light: #767676;
$medium-light-text: #4f4a5f;
$code-background: #f3f3f3;
$codeblock-background: #f6f8fa;
$code-text: #f8f8f2;
$ipng-orange: #f46524;
$ipng-darkorange: #8c1919;
$ipng-lightorange: #fb8c00;
// Breakpoints
$bp-mini: 28em; // 288px
@ -37,11 +41,11 @@ $mq-xxlarge: "(min-width: #{$bp-xxlarge})";
$mq-retina: "(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)";
// Font-Size
$base-font-size: 1.1em;
$base-font-size: 1.2em;
// Line-Height
$base-line-height: 1.1;
$header-line-height: 1.25;
$base-line-height: 1.2;
$header-line-height: 1.3;
// HUGO
@ -54,26 +58,11 @@ body {
margin: 0;
min-height: 100vh;
overflow-y: scroll;
font-size: $base-font-size * 1.1;
line-height: $base-line-height * 1.1;
font-family: FreeSerif, serif;
font-size: $base-font-size * 1.0;
line-height: $base-line-height * 1.0;
font-family: BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
@media #{$mq-medium} {
font-size: $base-font-size*1.2;
line-height: $base-line-height*1.2;
}
@media #{$mq-large} {
font-size: $base-font-size*1.3;
}
@media #{$mq-xlarge} {
font-size: $base-font-size*1.4;
}
@media #{$mq-xxlarge} {
font-size: $base-font-size*1.6;
}
@media #{$mq-medium} { line-height: $base-line-height*1.0; }
}
/*largest screens*/
@ -81,63 +70,54 @@ main {
display: block;
margin: 0;
padding: 1em 1em;
background-color: white;
@media #{$mq-small} {
margin: 0 15%;
@media #{$mq-small} { margin: 0 15%; }
@media #{$mq-medium} { margin: 0 17%; }
@media #{$mq-large} { margin: 0 21%; }
@media #{$mq-xlarge} { margin: 0 24%; }
@media #{$mq-xxlarge} { margin: 0 27%; }
a {
color: $ipng-darkorange;
text-decoration: none;
}
@media #{$mq-medium} {
margin: 0 17%;
}
@media #{$mq-large} {
margin: 0 21%;
}
@media #{$mq-xlarge} {
margin: 0 24%;
}
@media #{$mq-xxlarge} {
margin: 0 27%;
a:hover {
color: $ipng-lightorange;
text-decoration: none;
}
}
a {
font-family: FreeSerif, serif;
color: $midnight-blue;
text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
font-family: FreeSans, sans-serif;
font-weight: bold;
font-style: normal;
color: $heading-gray;
}
p, li {
color: $text-color;
font-family: FreeSerif, serif;
color: $text-normal;
text-align: justify;
}
strong {
font-style: normal;
font-family: FreeSerif, serif;
font-weight: bold;
color: black;
}
em {
font-style: normal;
font-family: FreeSerif, serif;
font-style: italic;
}
kbd, code {
font-family: Mononoki, monospace;
color: $text-color;
color: $text-normal;
background-color: $code-background;
font-size: 0.9em;
}
@ -151,18 +131,15 @@ pre {
}
th {
font-family: FreeSerif, serif;
font-weight: bold;
color: $text-color;
color: $text-normal;
}
td {
font-family: FreeSerif, serif;
color: $text-color;
color: $text-normal;
}
.footnotes ol li {
font-family: FreeSerif, serif;
font-size: 0.8em;
}
@ -240,14 +217,14 @@ figcaption {
}
h4 {
margin: 0.3em 0;
color: $text-color;
color: $text-normal;
text-align: left;
}
}
.page-title {
text-align: center;
font-size: 1.9em;
font-size: 1.5em;
}
.page-title.blog {
@ -284,22 +261,21 @@ nav li {
}
nav a {
color: $text-color;
color: $text-normal;
padding: .25em .63em;
font-family: FreeSans, sans-serif;
font-size: 1.2em;
font-size: 1.1em;
display: block;
}
nav li:hover {
border-color: $tab-border-color;
border-color: $ipng-lightorange;
}
.dropdown .sub-menu {
display: none;
position: absolute;
background-color: #f9f9f9;
color: $text-color;
color: $text-normal;
cursor: pointer;
border-width: 0 0 .3em 0;
min-width: 6em;
@ -321,7 +297,7 @@ nav li:hover {
display: block;
text-align: left;
padding: .2em .63em;
color: $text-color;
color: $text-normal;
}
.dropdown.activetab, .activetab, li.activetab {
@ -334,24 +310,54 @@ nav li:hover {
}
.page-header {
border-bottom: 1px solid black;
border-bottom: 2px solid $text-dark;
background-color: #f7f7f7;
text-align: center;
display: flex;
flex-flow: row wrap;
margin: 1em 1em 0 1em;
@media #{$mq-small} { margin: 0 15%; }
@media #{$mq-medium} { margin: 0 17%; }
@media #{$mq-large} { margin: 0 21%; }
@media #{$mq-xlarge} { margin: 0 24%; }
@media #{$mq-xxlarge} { margin: 0 27%; }
a:hover {
color: $ipng-lightorange;
}
.activetab > a:hover {
color: white;
}
}
.page-footer {
position: fixed;
font-size: .8em;
border-top: 2px solid $text-dark;
text-align: center;
display: flex;
flex-flow: row wrap;
bottom: 0;
color: $text-light;
background-color: #f7f7f7;
@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%; }
@media #{$mq-xxlarge} { margin: 0 27%; width: 48%; }
}
.myname {
margin: 0 auto 0 0;
padding: 0 0 .25em .25em;
font-size: 2em;
padding-left: .5em;
font-size: 1em;
}
.myname a {
color: black;
color: $text-dark;
text-decoration: none;
font-family: FreeSerif, serif;
font-style: italic;
font-style: normal;
font-weight: bold;
}
@ -363,9 +369,7 @@ nav li:hover {
.blog-post-summary {
margin: 0;
@media #{$mq-mini} {
margin: 2em;
}
@media #{$mq-mini} { margin: 2em; }
}
#latest-blog-home {
@ -387,14 +391,13 @@ nav li:hover {
a {
color: $heading-gray;
font-family: FreeSans, sans-serif;
}
}
.blog-post-info {
margin: 0.2em 0;
font-size: 0.8em;
color: $light-text;
color: $text-light;
margin-left: 1em;
text-align: left;
@ -402,7 +405,6 @@ nav li:hover {
}
em.taxonomy-emph {
font-family: FreeSans, sans-serif;
font-style: oblique;
}
@ -419,7 +421,7 @@ em.taxonomy-emph {
justify-content: center;
margin: 0;
padding: 0;
border-bottom: 2px solid $text-color;
border-bottom: 2px solid $text-normal;
li {
flex-grow: 1;
@ -433,7 +435,7 @@ em.taxonomy-emph {
background-color: $tab-border-color;
font-size: 1.5em;
text-align: center;
color: $text-color;
color: $text-normal;
padding: .5em;
flex-grow: 1;
text-transform: capitalize;
@ -442,7 +444,6 @@ em.taxonomy-emph {
.pagination {
list-style-type: none;
font-family: FreeSans, sans-serif;
display: flex;
justify-content: center;
margin: 1em;
@ -450,12 +451,12 @@ em.taxonomy-emph {
}
.page-item {
color: $text-color;
color: $text-normal;
display: inline-block;
padding: .2em .6em;
a {
color: $text-color;
color: $text-normal;
}
}
@ -468,92 +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: $light-text;
}
ul {
list-style-type: " ";
}
ul, ol {
font-family: FreeSans, sans-serif;
margin-top: 0;
}
li {
font-size: 0.9em;
color: $light-text;
}
}
.resume-entry {
margin: 0 0 1em 0;
.what {
font-family: FreeSans, serif;
text-align: left;
font-size: 1.0em;
color: $text-color;
}
.resume-entry-data {
font-family: FreeSans, serif;
text-align: left;
font-size: 0.8em;
color: $very-light-text;
margin-left: 0.9rem;
}
.resume-inner {
line-height: 1;
margin-top: 0.2em;
margin-left: 0.9rem;
}
p, ul, ol, li {
font-family: FreeSerif, serif;
color: $light-text;
text-align: left;
font-size: 0.9em;
}
}
p.resume-subcategory {
font-family: FreeSans, sans-serif;
font-size: 1.4em;
text-decoration: underline;
padding: 0 0 .3em 0;
}
// CONTACT
#contactinformation {
@ -565,13 +480,15 @@ p.resume-subcategory {
.social {
display: flex;
justify-content: center;
font-size: $base-font-size*0.7;
margin: auto;
width: 100%;
ul {
list-style-type: none;
display:flex;
justify-content: space-around;
flex-wrap: wrap;
width: 100%;
padding: 0;
li {
@ -581,25 +498,26 @@ p.resume-subcategory {
a {
white-space: nowrap;
color: #3f444d;
font-size: 1em;
font-family: FreeSans, sans-serif;
font-size: 1.2em;
i {
font-size: 2em;
font-size: 1.5em;
vertical-align: middle;
}
}
a:hover {
color: $ipng-lightorange;
}
}
}
}
.contactbox {
padding: 0 1.0em 0 1.0em;
box-sizing: border-box;
@media #{$mq-mini-reverse} {
width: 100% !important;
}
@media #{$mq-mini-reverse} { width: 100% !important; }
ul {
list-style-type: none;
@ -617,7 +535,6 @@ p.resume-subcategory {
a {
font-family: FreeSans, sans-serif;
font-weight: bold;
font-size: 1em;
color: $contactlinks-text-color;
@ -657,13 +574,11 @@ p.resume-subcategory {
// General
blockquote {
font-family: FreeSerif, serif;
font-size: .9em;
color: $text-color;
color: $text-normal;
}
cite {
font-family: FreeSerif, serif;
font-style: italic;
}
@ -808,16 +723,3 @@ cite {
text-decoration: none;
cursor: pointer;
}
footer {
position: fixed;
width: 100vw;
color: #444;
font-size: .8em;
padding-left: 1em;
padding-top: .2em;
padding-bottom: .1em;
bottom: 0;
left: 0;
background-color: #f7f7f7;
}