1
1
Fork 0
This repository has been archived on 2022-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
natenom-websites/scss/import/blog.scss

513 lines
11 KiB
SCSS
Raw Normal View History

2020-10-09 21:48:10 +02:00
2020-10-10 19:45:15 +02:00
//
2020-10-09 21:48:10 +02:00
// main
2020-10-10 19:45:15 +02:00
//
2020-10-09 21:48:10 +02:00
body {
2020-10-10 17:42:19 +02:00
position: relative;
2020-10-09 21:48:10 +02:00
h1,
h2 {
font-size: 3rem !important; // smaller
}
h3 {
font-size: 2.5rem !important; // smaller
}
h4 {
font-size: 2rem !important; // smaller
}
h5 {
font-size: 1.5rem !important; // smaller
}
2020-10-10 17:42:19 +02:00
header {
2020-10-10 19:45:15 +02:00
.header-inner {
.header-navigation-wrapper {
nav.primary-menu-wrapper {
ul.primary-menu {
li.menu-item {
a {
2020-10-11 18:33:06 +02:00
color: $nom-blue-light !important;
2020-10-10 19:45:15 +02:00
}
}
}
}
}
}
2020-10-10 17:42:19 +02:00
}
.menu-modal {
2020-10-11 12:41:49 +02:00
.menu-modal-inner {
.menu-wrapper {
.menu-top,
.menu-bottom {
2020-10-11 18:33:06 +02:00
nav.expanded-menu,
nav.mobile-menu {
2020-10-11 12:41:49 +02:00
ul.modal-menu {
li.menu-item {
.ancestor-wrapper {
a {
2020-10-11 18:33:06 +02:00
color: $nom-blue-light !important;
2020-10-11 12:41:49 +02:00
}
}
}
}
}
}
}
}
2020-10-10 17:42:19 +02:00
}
2020-10-09 21:48:10 +02:00
main {
article {
2020-10-10 16:47:46 +02:00
header.entry-header {
2020-10-10 19:45:15 +02:00
padding-bottom: 40px; // Abstand zw. Artikelbildern und Überschrit verkleinern
2020-10-10 16:47:46 +02:00
.entry-header-inner {
2020-10-10 19:45:15 +02:00
.entry-categories {
.entry-categories-inner {
a {
2020-10-11 18:33:06 +02:00
color: $nom-blue-light;
2020-10-10 19:45:15 +02:00
}
}
}
2020-10-10 16:47:46 +02:00
.post-meta-wrapper {
ul.post-meta {
li.post-author {
display: none; // Autor im Beitragsheader ausblenden
2020-10-10 16:28:29 +02:00
}
}
}
}
}
2020-10-10 19:45:15 +02:00
.featured-media {
margin-top: 0;
2020-10-11 12:41:49 +02:00
.featured-media-inner {
.wp-caption-text {
display: none; // Bildbeschreibungen nur unter Artikelbildern werden ausgeblendet
}
}
2020-10-10 19:45:15 +02:00
}
2020-10-09 21:48:10 +02:00
.post-inner {
2020-10-10 19:45:15 +02:00
padding-top: 40px; // Abstand zw. Artikelbildern und Inhalt verkleinern
2020-10-09 21:48:10 +02:00
.entry-content {
2020-10-10 16:28:29 +02:00
a {
2020-10-11 18:33:06 +02:00
color: $nom-blue-light !important;
2020-10-10 16:28:29 +02:00
}
2020-10-11 12:41:49 +02:00
.wp-block-quote {
2020-10-11 18:33:06 +02:00
border-color: $nom-blue-light;
2020-10-11 12:41:49 +02:00
}
2020-10-11 21:04:13 +02:00
.wp-block-image {
margin: 40px auto;
}
2020-10-09 21:48:10 +02:00
.read-more-button-wrap {
a.more-link {
2020-10-10 17:09:26 +02:00
.faux-button { // Button: "Weiterlesen"
2020-10-11 18:33:06 +02:00
background: $nom-blue;
2020-10-10 17:09:26 +02:00
color: rgb(245, 245, 255);
font-weight: initial;
padding: 10px 40px; // Groesse aendern
text-transform: none; // nicht unterstrichen
transition: background .2s;
2020-10-09 21:48:10 +02:00
&:hover {
text-decoration: none;
2020-10-11 18:33:06 +02:00
background: $nom-blue-dark;
2020-10-09 21:48:10 +02:00
}
}
}
}
}
}
}
2020-10-11 12:41:49 +02:00
.pagination-wrapper {
nav.pagination {
.nav-links {
a {
2020-10-11 18:33:06 +02:00
color: $nom-blue-light;
2020-10-11 12:41:49 +02:00
}
}
}
}
2020-10-09 21:48:10 +02:00
}
.footer-nav-widgets-wrapper {
.footer-inner {
.footer-menu-wrapper {
.footer-menu {
.menu-item {
a {
2020-10-11 18:33:06 +02:00
color: $nom-blue-light !important;
2020-10-09 21:48:10 +02:00
}
}
}
}
.footer-widgets-outer-wrapper {
.footer-widgets-wrapper {
.footer-widgets {
2020-10-10 17:28:32 +02:00
.widget.widget_tag_cloud {
.widget-content {
.tagcloud {
a.tag-cloud-link {
2020-10-11 18:33:06 +02:00
color: $grey !important;
2020-10-10 17:28:32 +02:00
}
}
}
}
2020-10-09 21:48:10 +02:00
.widget_nav_menu {
.widget-content {
.menu-datenschutz-impressum-faq-container {
.menu {
.menu-item {
a {
2020-10-11 18:33:06 +02:00
color: $nom-blue-light !important;
2020-10-09 21:48:10 +02:00
}
}
}
}
}
}
2020-10-10 17:28:32 +02:00
.widget_archive {
2020-10-09 21:48:10 +02:00
.widget-content {
2020-10-10 17:28:32 +02:00
select {
background: rgb(58, 66, 89);
border: 0;
color: rgb(245, 245, 255);
padding: 5px 10px;
2020-10-09 21:48:10 +02:00
}
}
}
}
}
}
}
}
}
2020-10-10 19:45:15 +02:00
//
2020-10-09 21:48:10 +02:00
// article / post
2020-10-10 19:45:15 +02:00
//
2020-10-09 21:48:10 +02:00
2020-10-11 12:41:49 +02:00
body.post-template,
body.post-template-default {
2020-10-09 21:48:10 +02:00
main {
article.post {
.post-inner {
.entry-content {
.yarpp-related {
margin: 3em auto 0 auto !important;
ol {
color: rgb(155, 155, 170);
list-style: none;
margin: 0;
li {
border-bottom: 1px solid rgb(53, 59, 68);
margin: 15px 0;
a {
font-weight: normal !important;
}
}
}
}
}
.post-meta-wrapper {
.post-meta {
.post-tags {
.meta-text {
2020-10-11 18:33:06 +02:00
color: $grey !important;
}
}
}
}
2020-10-10 16:28:29 +02:00
}
.pagination-single {
.pagination-single-inner {
.previous-post,
.next-post {
2020-10-11 18:33:06 +02:00
color: $nom-blue-light !important;
2020-10-09 21:48:10 +02:00
}
}
2020-10-10 16:28:29 +02:00
}
.comments-wrapper {
.comments {
.comments-inner {
article.comment-body {
footer.comment-footer-meta {
.comment-reply {
2020-10-10 17:09:26 +02:00
a.comment-reply-link { // Button: "Kommentieren"
2020-10-11 18:33:06 +02:00
background: $nom-blue ;
2020-10-10 17:09:26 +02:00
color: rgb(245, 245, 255);
font-weight: initial;
text-transform: none;
transition: background .2s;
2020-10-10 16:28:29 +02:00
&:hover {
2020-10-11 18:33:06 +02:00
background: $nom-blue-dark;
2020-10-10 17:09:26 +02:00
text-decoration: none;
2020-10-09 21:48:10 +02:00
}
}
}
}
}
}
2020-10-10 16:28:29 +02:00
}
.comment-respond {
.section-inner {
.comment-form-comment {
textarea#comment {
background: rgb(37, 45, 57);
border: 0;
color: rgb(255, 255, 255);
}
}
.comment-form-author,
.comment-form-email,
.comment-form-url {
input {
&#author,
&#email,
&#url {
2020-10-09 21:48:10 +02:00
background: rgb(37, 45, 57);
border: 0;
color: rgb(255, 255, 255);
}
}
2020-10-10 16:28:29 +02:00
}
.form-submit {
2020-10-10 17:09:26 +02:00
.submit { // Button "Kommentar abschicken"
2020-10-11 18:33:06 +02:00
background: $nom-blue;
2020-10-10 17:09:26 +02:00
color: rgb(245, 245, 255);
font-weight: initial;
padding: 10px 40px; // Groesse aendern
text-transform: none; // nicht unterstrichen
transition: background .2s;
2020-10-10 16:28:29 +02:00
&:hover {
2020-10-11 18:33:06 +02:00
background: $nom-blue-dark;
2020-10-10 17:09:26 +02:00
text-decoration: none;
2020-10-09 21:48:10 +02:00
}
2020-10-10 16:28:29 +02:00
}
2020-10-09 21:48:10 +02:00
}
}
}
}
}
}
}
2020-10-10 19:45:15 +02:00
//
// article / post: cover template
//
body.post-template.template-cover {
header {
.header-inner {
.header-navigation-wrapper {
nav.primary-menu-wrapper {
ul.primary-menu {
li.menu-item {
a {
color: rgb(255, 255, 255) !important;
}
}
}
}
}
}
}
main {
article.post {
.cover-header {
2020-10-11 11:56:49 +02:00
background-position: center -182.5px;
2020-10-10 19:45:15 +02:00
.cover-header-inner-wrapper {
min-height: 60vh; // Cover Hoehe bei Cover Template nur noch 6/10 statt 10/10
.cover-header-inner {
.cover-color-overlay {
color: rgb(37, 45, 57); // Cover-Farbe (falls kein Hex-Code angegeben werden kann)
}
header.entry-header {
.entry-header-inner {
.entry-categories {
.entry-categories-inner {
a {
color: rgb(255, 255, 255);
}
}
}
}
}
}
}
}
2020-10-11 21:04:13 +02:00
.post-inner {
padding-top: 40px;
}
2020-10-10 19:45:15 +02:00
}
}
}
//
// page (e.g. https://blog.natenom.com/natenom/)
//
body.page-template {
2020-10-11 19:39:11 +02:00
2020-10-10 19:45:15 +02:00
}
//
// category (e.g. https://blog.natenom.com/category/allgemein/)
//
body.category {
2020-10-11 19:39:11 +02:00
2020-10-10 19:45:15 +02:00
}
//
// tag (e.g. https://blog.natenom.com/tag/fahrrad/)
//
body.tag {
2020-10-11 19:39:11 +02:00
2020-10-10 19:45:15 +02:00
}
2020-10-11 12:41:49 +02:00
//
2020-10-11 19:39:11 +02:00
// archive (e.g. https://blog.natenom.com/2020/08/)
2020-10-11 12:41:49 +02:00
//
body.archive {
main {
header.archive-header {
.archive-header-inner {
h1.archive-title {
.color-accent {
color: rgb(255, 255, 255);
}
}
}
}
}
}
2020-10-11 19:39:11 +02:00
//
// error pages (e.g. https://blog.natenom.com/errorpages/errorpages)
//
body.error404 {
main {
.error404-content {
form.search-form {
label {
input.search-field {
background: rgb(37, 45, 57);
border: 0;
color: rgb(255, 255, 255);
}
}
input.search-submit {
background: $nom-blue;
color: rgb(245, 245, 255);
font-weight: initial;
margin-left: 0;
text-transform: none;
transition: background .2s;
&:hover {
background: $nom-blue-dark;
text-decoration: none;
}
}
}
}
}
}
2020-10-10 19:45:15 +02:00
//
2020-10-14 18:30:13 +02:00
// search results (e.g. https://blog.natenom.com/?s=search)
//
body.search-results {
main {
header.archive-header {
.archive-header-inner {
h1.archive-title {
.color-accent {
color: rgb(255, 255, 255);
}
}
}
}
}
}
2020-10-14 18:37:18 +02:00
//
// search no-results (e.g. https://blog.natenom.com/?s=searchdddddd)
//
body.search-no-results {
main {
header.archive-header {
.archive-header-inner {
h1.archive-title {
.color-accent {
color: rgb(255, 255, 255);
}
}
}
}
.no-search-results-form {
form.search-form {
label {
input.search-field {
background: rgb(37, 45, 57);
border: 0;
color: rgb(255, 255, 255);
}
}
input.search-submit {
background: $nom-blue;
color: rgb(245, 245, 255);
font-weight: initial;
margin-left: 0;
text-transform: none;
transition: background .2s;
&:hover {
background: $nom-blue-dark;
text-decoration: none;
}
}
}
}
}
}
2020-10-14 18:30:13 +02:00
//
// lightbox plugin
2020-10-10 19:45:15 +02:00
//
2020-10-09 21:48:10 +02:00
#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 {
2020-10-17 18:49:32 +02:00
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
}
}
}
}
}
}
}
}
}
2020-10-13 12:44:34 +02:00
//
// wp-admin
//
body {
#wpadminbar {
position: sticky;
}
}