1
1
Fork 0
This commit is contained in:
Vrifox 2020-12-30 21:53:03 +01:00
parent 276a1fd2c9
commit 731565cad4
Signed by: vrifox
GPG key ID: D40098E5B60B2197
2 changed files with 154 additions and 50 deletions

View file

@ -2,7 +2,12 @@
// :root // :root
:root { :root {
--branding--title--text-transform: initial !important;
--global--color-background: #{$white} !important;
--global--color-dark-gray: #{$blog_body-bg} !important; --global--color-dark-gray: #{$blog_body-bg} !important;
//--global--color-primary: var(--global--color-white) !important;
--global--font-size-page-title: 39px !important;
--global--font-size-xl: 30px !important;
} }
// general // general
@ -10,12 +15,21 @@
body { body {
#page { #page {
header#masthead { header#masthead {
.site-branding {
.site-description {
font-style: italic;
}
}
nav#site-navigation { nav#site-navigation {
.primary-menu-container { .primary-menu-container {
ul#primary-menu-list { ul#primary-menu-list {
.menu-item { .menu-item {
a { a {
text-decoration-style: solid; text-decoration-style: solid;
text-decoration: underline;
&:hover {
text-decoration-style: dotted;
}
p.menu-item-description { p.menu-item-description {
display: none; display: none;
} }
@ -25,45 +39,54 @@ body {
} }
} }
} }
footer {
.site-info {
display: none;
}
}
} }
} }
// home // post preview
body.home { body {
#page { &.home,
#content { &.tag,
#primary { &.category {
#main { #page {
article.post { #content {
header.entry-header { #primary {
h2.entry-title { #main {
line-height: 42px; article.post {
margin-bottom: -20px; header.entry-header {
max-width: var(--responsive--alignfull-width); h2.entry-title {
text-align: center; line-height: 42px;
width: var(--responsive--alignwide-width); margin-bottom: -20px;
a { max-width: var(--responsive--alignfull-width);
font-size: 39px; text-align: center;
text-decoration: none; width: var(--responsive--alignwide-width);
a {
font-size: 39px;
}
} }
} }
} .entry-content {
.entry-content { h2 {
h2 { font-size: 30px;
font-size: 30px; line-height: 35px;
line-height: 35px; }
} .more-link-container {
.more-link-container { a.more-link {
a.more-link { background: var(--button--color-background);
background: transparent; border: var(--button--border-width) solid var(--button--color-background);
border: 1px solid $white; color: var(--button--color-text);
padding: 10px 40px; font-weight: var(--button--font-weight);
text-decoration: none; padding: 10px 40px;
transition: background .2s, border .2s !important; text-decoration: none;
&:hover { &:hover {
background: $nom-blue; background: transparent;
border-color: $nom-blue; color: var(--button--color-text-hover);
}
} }
} }
} }
@ -75,23 +98,96 @@ body.home {
} }
} }
// post // tag / category header
body.post-template-cover, body {
body.single-post { &.tag,
#page { &.category {
#content { #page {
#primary { #content {
#main { #primary {
article.post { #main {
header.entry-header { header.page-header {
h1.entry-title { h1 {
font-size: 39px;
font-weight: 400; font-weight: 400;
line-height: 42px; }
margin-bottom: -20px; }
text-align: center; }
text-decoration: none; }
}
}
}
}
// post
body {
&.post-template-cover,
&.single-post {
#page {
#content {
#primary {
#main {
article.post {
header.entry-header {
h1.entry-title {
font-size: 39px;
font-weight: 400;
line-height: 42px;
margin-bottom: -20px;
text-align: center;
text-decoration: none;
}
}
.entry-content {
.yarpp-related {
margin: 3em auto 0 auto !important;
ol {
color: rgb(155, 155, 170);
list-style: none;
margin: 0;
padding-left: 0;
li {
margin: 15px 0;
a {
font-weight: normal !important;
text-decoration: underline;
&:hover {
text-decoration-style: dotted;
}
}
}
}
}
}
}
}
}
}
}
}
}
// lightbox plugin
#slb_viewer_wrap {
#slb_viewer_slb_default {
.slb_viewer_layout {
.slb_container {
padding: 0 !important; // kein Rand
box-shadow: none !important; // kein »glow« bzw. Schatten
.slb_details {
.inner {
.slb_data {
.slb_data_content {
.slb_data_title {
font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
font-size: 16px;
font-weight: 500;
letter-spacing: 0;
margin: 10px 10px 0px 10px; // gleichmaessiger Rand
}
} }
} }
} }

View file

@ -13,7 +13,6 @@ $ngtb_height: 32px; // ngtb == nom_globaltopbar
.nom_globaltopbar { .nom_globaltopbar {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
background: $blog_body-bg;
border-bottom: 3px $nom-blue solid; border-bottom: 3px $nom-blue solid;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
@ -30,6 +29,11 @@ $ngtb_height: 32px; // ngtb == nom_globaltopbar
white-space: nowrap; white-space: nowrap;
width: 100%; width: 100%;
z-index: 9999; z-index: 9999;
@if $type == blog {
background: var(--global--color-background);
} @else {
background: $blog_body-bg;
}
@if $type == wiki { @if $type == wiki {
position: absolute; position: absolute;
top: 0; top: 0;
@ -49,12 +53,16 @@ $ngtb_height: 32px; // ngtb == nom_globaltopbar
display: flex; display: flex;
margin: 0; margin: 0;
a { a {
color: $grey-light;
font-size: 14px; font-size: 14px;
font-weight: normal; font-weight: normal;
padding: 4px 6px; padding: 4px 6px;
text-decoration: none; text-decoration: none;
transition: background .2s,color .2s; transition: background .2s,color .2s;
@if $type == blog {
color: var(--global--color-primary);
} @else {
color: $grey-light;
}
&:hover, &:hover,
&:active, &:active,
&:focus { &:focus {