Move into wp-content path

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
2019-08-31 00:48:20 +02:00
parent f523d8ccc0
commit 3724cc6edd
342 changed files with 108652 additions and 0 deletions

View File

@@ -0,0 +1,137 @@
/*-----------------------------------------------------------------------------------*/
/* Accordion
/*-----------------------------------------------------------------------------------*/
.accordion {
margin: 10px 0 20px 0;
.accordion-group {
border: none;
margin-bottom: 5px;
.accordion-heading {
overflow: hidden;
.accordion-toggle {
border-left: 10px solid $color-main;
background: $color-border;
color: $color-text;
@include border-radius(4px);
text-decoration: none;
@include px2rem($font-size-accordion-toggle);
padding: 8px 35px 8px 10px;
position: relative;
width: 100%;
display: inline-block;
&:before {
@extend .fa;
@extend .fa-caret-down;
position: absolute;
top: 10px;
right: 10px;
}
&:hover, &:focus {
background-color: lighten($color-main, 10%);
text-decoration: none;
}
&.active,
&.active:hover,
&.active:focus {
background-color: lighten($color-main, 10%);
color: $color-text; // $colorPrimary;
&:before {
@extend .fa-caret-up;
top: 8px;
}
}
}
}
.accordion-body {
display: block; // none;
.accordion-inner {
@extend .clearfix;
border: none;
background: $color-border;
padding: 15px 20px;
}
}
}
.secondcolor .accordion-heading .accordion-toggle,
.second .accordion-heading .accordion-toggle {
border-color: $color-second;
&:hover, &:focus {
color: #fff;
background-color: lighten($color-second, 10%);
}
&.active,
&.active:hover,
&.active:focus {
color: #fff;
background-color: lighten($color-second, 10%);
}
}
h1, h2, h3, h4, h5, h6 {
color: $color-text;
}
hr {
&::after,
&::before {
bottom: inherit;
background: inherit;
left: inherit;
position: relative;
right: inherit;
top: inherit;
}
border: 1px solid $color-border;
margin: 30px 20px;
height: inherit;
}
& > .accordion {
.accordion-heading .accordion-toggle {
border-left: 0;
}
}
}
/* Boxes like accordions for single glossar entries and other article-inserts/shortcodes */
.accordionbox {
margin: 10px 0 20px 0;
header {
border-left: 10px solid $color-main;
background: $color-main;
color: $color-text;
@include border-radius(4px);
text-decoration: none;
font-size: 16px;
padding: 8px 35px 8px 10px;
position: relative;
h2 {
color: $color-text;
padding: 0px;
}
&.secondcolor,
&.second {
border-color: $color-second;
}
}
.body {
border: none;
background: $color-special-background;
padding: 15px 20px;
}
}

View File

@@ -0,0 +1,240 @@
/*-----------------------------------------------------------------------------------*/
/* Buttons
/*-----------------------------------------------------------------------------------*/
.box {
margin: 0 0 30px;
padding: 20px;
overflow: hidden;
line-height: 1.4;
a {
font-weight: bold;
}
}
.site-content .box p {
margin: 0 0 30px;
}
.white-box {
border: 3px solid #fff;
&.invertbox {
background: darken( #fff, 10%);
}
}
.blue-box {
border: 3px solid $color-shortcodes-blue;
&.invertbox {
background: lighten( $color-shortcodes-blue, 10%);
}
}
.yellow-box {
border: 3px solid $color-shortcodes-yellow;
&.invertbox {
background: lighten( $color-shortcodes-yellow, 10%);
}
}
.red-box {
border: 3px solid $color-shortcodes-red;
&.invertbox {
background: lighten( $color-shortcodes-red, 10%);
}
}
.green-box {
border: 3px solid $color-shortcodes-green;
&.invertbox {
background: lighten( $color-shortcodes-green, 10%);
}
}
.lightgrey-box {
border: 3px solid $color-shortcodes-lightgrey;
&.invertbox {
background: lighten( $color-shortcodes-lightgrey, 10%);
}
}
.grey-box {
border: 3px solid $color-shortcodes-grey;
&.invertbox {
background: lighten( $color-shortcodes-grey, 10%);
}
}
.dark-box {
border: 3px solid $color-shortcodes-dark;
&.invertbox {
background: lighten( $color-shortcodes-dark, 10%);
color: #fff;
}
}
.maincolor-box {
border: 3px solid $color-shortcodes-maincolor;
a {
color: $color-shortcodes-maincolor;
}
&.invertbox {
background: lighten( $color-shortcodes-maincolor, 10%);
a {
color: $color-text;
}
}
}
.secondcolor-box {
border: 3px solid $color-shortcodes-secondcolor;
a {
color: $color-shortcodes-secondcolor;
}
&.invertbox {
background: lighten( $color-shortcodes-secondcolor, 10%);
color: #fff;
}
}
/* --- Buttons --- */
a.standard-btn {
display: inline-block;
margin: 0 0 30px;
padding: 10px 18px;
overflow: hidden;
cursor: pointer;
background: $color-text;
color: #fff;
font-size: 16px;
font-size: 1rem;
text-align: center;
font-weight: normal;
text-decoration: none !important;
-webkit-transition: 0.2s background ease;
-moz-transition: 0.2s background ease;
-o-transition: 0.2s background ease;
-ms-transition: 0.2s background ease;
transition: 0.2s background ease;
&:focus,
&:hover {
background: lighten($color-text, 35%);
}
}
.post .entry-content a.standard-btn,
.page .entry-content a.standard-btn,
.post .entry-content a.standard-btn:hover,
.page .entry-content a.standard-btn:hover {
color: #fff;
border: none;
}
a.standard-btn {
&.xsmall-btn {
padding: 5px 10px 3px;
font-size: 14px;
font-size: 0.875rem;
}
&.small-btn {
padding: 7px 12px 5px;
font-size: 18px;
font-size: 1.125rem;
}
&.large-btn {
padding: 14px 20px 13px;
font-size: 23px;
font-size: 1.4375rem;
}
&.xlarge-btn {
padding: 18px 30px 17px;
font-size: 25px;
font-size: 1.5625rem;
}
&.red-btn {
background: $color-shortcodes-red;
&:focus,
&:hover {
background: darken($color-shortcodes-red, 15%);
}
}
&.green-btn {
background: $color-shortcodes-green;
&:focus,
&:hover {
background: darken($color-shortcodes-green, 15%);
}
}
&.blue-btn {
background: $color-shortcodes-blue;
&:focus,
&:hover {
background: darken($color-shortcodes-blue, 15%);
}
}
&.yellow-btn {
background: $color-shortcodes-yellow;
&:focus,
&:hover {
background: darken($color-shortcodes-yellow, 15%);
}
}
&.grey-btn {
background: $color-shortcodes-grey;
&:focus,
&:hover {
background: darken($color-shortcodes-grey, 15%);
}
}
&.black-btn {
background: $color-shortcodes-black;
&:focus,
&:hover {
background: darken(#fff, 65%);
}
}
&.maincolor-btn {
background: $color-main;
&:focus,
&:hover {
background: $color-shortcodes-secondcolor;
}
}
&.secondcolor-btn {
background: $color-shortcodes-secondcolor;
&:focus,
&:hover {
background: $color-main;
}
}
}
.footer-feature-btn {
display: inline-block;
margin: 20px 0 0 0;
padding: 18px 30px;
background: none;
border: 2px solid $color-main;
background: $color-main;
color: $color-page-background;
text-transform: uppercase;
letter-spacing: 3px;
outline: none;
font-weight: 500;
&:focus,
&:hover {
border-color: $color-second;
background: $color-second;
}
}

View File

@@ -0,0 +1,99 @@
/*-----------------------------------------------------------------------------------*/
/* General Classes
/*-----------------------------------------------------------------------------------*/
.wp-smiley {
border: 0;
margin-bottom: 0;
margin-top: 0;
padding: 0;
}
.entry-content p {
&.pull-left,
&.pull-right {
margin-bottom: 15px;
font-weight: 600;
line-height: 1.4 !important;
}
}
span.dropcap {
float: left;
padding: 3px 4px 0 0;
font-size: 64px;
font-size: 4rem;
font-weight: 600;
line-height: 0.78;
}
.uppercase {
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
.wide-content {
margin-bottom: 30px;
}
/* --- Alignment --- */
.justify {
text-align: justify;
}
.alignleft,
.alignright {
display: block;
}
.alignleft {
margin-right: 35px;
float: left;
}
.alignright {
margin-left: 35px;
float: right;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
clear: both;
}
.unsichtbar {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}
.unsichtbar:focus {
position: relative;
left: 0;
width: auto;
height: auto;
overflow: auto;
}
.screen-reader-text {
@extend .unsichtbar;
}
.hide-desktop {
display: none;
}
.hidden {
display: none;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,355 @@
/*-----------------------------------------------------------------------------------*/
/* Comments
/*-----------------------------------------------------------------------------------*/
#comments-toggle {
position: relative;
display: block;
width: 100%;
padding: 18px 20px 18px 60px;
border-width: 2px;
border-style: solid;
background: none;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 3px;
text-align: left;
outline: none;
&:before {
@extend .fa;
@extend .fa-comment-o;
display: block;
position: absolute;
top: 0;
left: 0;
width: 60px;
height: 58px;
text-align: center;
padding-top: 16px;
background: none;
}
}
.comments-show #comments-toggle:before {
@extend .fa-commenting-o;
}
.toggledcomments .comments-content {
display: none;
}
.comments-show .comments-content {
display: block;
}
#primary .hentry {
.entry-comments {
display: block;
padding-bottom: 8px;
}
}
.entry-comments a {
position: relative;
padding-left: 18px;
&:before {
@extend .fa;
@extend .fa-comment-o;
display: block;
position: absolute;
top: 2px;
left: 0;
}
}
#comments {
ul li,
ol li {
list-style-position: outside;
}
position: relative;
padding: 20px 0 0 0;
ul.children {
margin: 0;
padding: 0;
}
li {
&.comment,
&.pingback {
overflow: hidden;
margin: 0 0 16px;
padding: 0;
}
&.comment:last-of-type,
&.pingback:last-of-type {
margin: 0;
}
&.comment ul.children {
margin: 16px 0 0;
}
}
.children .comment:last-child {
margin: 0;
}
h3.comments-title {
padding: 27px 0 0 0;
border-top: 1px solid #1a1a1a;
display: block;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 3px;
}
.comment-details {
position: relative;
margin: 0 90px 0 0;
padding: 0;
}
.comment-avatar {
margin: 0;
padding: 0;
line-height: 0;
float: left;
img.avatar {
width: 40px;
height: 40px;
margin: 0;
-moz-border-radius: 50px;
-webkit-border-radius: 50px;
border-radius: 50px;
}
}
.comment-author {
@include px2rem($font-size-base);
font-weight: 600;
span {
display: none;
}
}
.comment-text {
overflow: hidden;
padding: 10px 30px 10px 0;
p {
margin: 0;
padding: 0 0 15px;
&:last-child {
padding: 0;
}
}
}
.comment-meta {
overflow: hidden;
list-style: none;
li {
display: inline;
}
}
.comment-reply {
position: relative;
padding: 0;
a {
padding-left: 20px;
&:before {
@extend .fa;
@extend .fa-commenting-o;
display: block;
position: absolute;
top: 4px;
left: 0;
text-align: left;
}
}
}
p.comment-awaiting-moderation {
display: inline-block;
}
ol li.pingback p {
margin: 0;
}
.disclaimer {
@extend .box;
@extend .maincolor-box;
margin-bottom: 10px;
}
#respond {
margin: 0;
padding-top: 30px;
overflow: hidden;
text-align: left;
}
li.comment #respond {
padding-top: 20px;
}
ol.commentlist #respond {
margin: 0;
padding-left: 0;
padding-right: 0;
}
#respond {
p {
&.comment-notes {
margin: 0;
padding: 0;
}
&.logged-in-as {
padding: 3px 0 0 0;
margin-bottom: 0;
}
}
}
}
ol.commentlist {
list-style: none;
margin: 0;
padding: 40px 0 0;
li {
display: block;
margin: 0;
padding: 0;
}
.comment-text li {
padding: 0 0 0 18px;
}
}
/* --- Comment Content --- */
.comment-wrap {
padding: 0 0 16px 60px;
}
ol.commentlist {
li.comment:last-of-type .comment-wrap {
padding-bottom: 0;
}
ul.children li.comment:last-of-type .comment-wrap {
padding-bottom: 16px;
}
}
.bypostauthor {}
.comment-edit:before {
content: ',';
display: inline;
}
.site-content {
.nopassword, p.nocomments {
position: relative;
margin: 15px 0 0;
padding: 0;
font-weight: 600;
}
}
#respond a#cancel-comment-reply-link {
margin: 21px 0 0 0;
float: right;
font-weight: normal;
text-transform: none;
letter-spacing: 0;
}
#commentform p {
&.comment-form-author,
&.comment-form-email,
&.comment-form-url,
&.comment-form-comment {
margin: 0;
padding: 20px 0 0;
}
&.comment-form-author,
&.comment-form-email,
&.comment-form-url,
&.comment-form-comment {
float: none;
clear: both;
width: 100%;
}
}
.contact-form div {
float: none;
clear: both;
width: 100%;
}
#commentform {
input {
&#author,
&#email,
&#url {
display: block;
width: 100%;
margin: 0;
line-height: normal;
-webkit-appearance: none;
outline-color: transparent;
outline-style: none;
}
}
textarea#comment {
width: 100%;
margin: 0;
line-height: normal;
-webkit-appearance: none;
outline-color: transparent;
outline-style: none;
}
input#submit {
margin: 20px 0;
width: 100%;
font-weight: 600;
}
p.form-submit {
margin: 0;
clear: both;
}
}
#respond small {
font-size: 100%;
}
.comment-notes {
display: none;
}
.externcomments a.standard-btn {
width: 100%;
}
.single-post {
.entry-comments-title {
@extend .screen-reader-text;
}
}
@media screen and (min-width: $breakpoint-sm) {
.single-post {
.entry-comments a {
padding-left: 22px;
}
}
ol.commentlist {
padding: 40px 0 10px;
}
#comments li.comment ul.children {
margin-left: 60px;
ul.children ul.children {
margin-left: 0;
}
}
}

View File

@@ -0,0 +1,42 @@
/*-----------------------------------------------------------------------------------*/
/* Divider
/*-----------------------------------------------------------------------------------*/
hr {
@media screen and (min-width: 550px) {
display:block;
border:0px;
height:56px;
margin: 10px 0;
color: $color-hr;
background-image: url("./img/trenner-04-50.png");
@if $color-hr == $color-main {
background-image: url("./img/trenner-01-50.png");
}
background-position: center center;
background-repeat: no-repeat;
}
.menu_separator & {
background-image: url("./img/trenner-01-30.png");
@if $color-hr == $color-main {
background-image: url("./img/trenner-04-30.png");
}
height: 40px;
}
.site-content & {
clear: both;
}
.devider_hideimage & {
background-image: none;
border: 1px;
height: 1px;
background: $color-hr;
}
}
#overlay-nav .menu_separator hr {
display: none;
}

View File

@@ -0,0 +1,64 @@
/*-----------------------------------------------------------------------------------*/
/* Elements
/*-----------------------------------------------------------------------------------*/
// Reset Styles
@import "reset";
// General Styles
@import "general-styles";
// Überschriften
@import "headlines";
// Trennzeichen hr
@import "devider";
// Links
@import "links";
// Tabellen
@import "tables";
// Listen
@import "lists";
// Blockquptes und Zitate
@import "quotes";
// Metas: Cats, Tags, Timestamps, ..
@import "meta-entries";
// Allgemeine Klassen
@import "classes";
// Formulare, Unput Felder etc
@import "forms";
// Bilder
@import "images";
// Bildergalerien
@import "galleries";
// Embeds, Videos
@import "embeds";
// Social Media Icons
@import "social-media";
// Buttons (keine Input-Buttons, sondern Klassen)
@import "buttons";
// Kommentare
@import "comments";
// Slider
@import "slider";
// Accordion
@import "accordions";
// Colorsets - to change default colors
@import "colorsets";

View File

@@ -0,0 +1,18 @@
/*-----------------------------------------------------------------------------------*/
/* Embeds
/*-----------------------------------------------------------------------------------*/
embed, iframe, object, video {
max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
max-width: 100% !important;
/* Override the Twitter embed fixed width */
}
.site-content .type-attachment {
padding-top: 0 !important;
}

View File

@@ -0,0 +1,187 @@
/*-----------------------------------------------------------------------------------*/
/* Forms
/*-----------------------------------------------------------------------------------*/
.widget_mc4wp_form_widget input[type="submit"],
.jetpack_subscription_widget #subscribe-submit input[type="submit"] {
background: $color-content-links;
}
.desktop-search input[type="submit"]:hover {
background: #0c6ca6;
}
.widget_mc4wp_form_widget input[type="submit"]:hover,
.jetpack_subscription_widget #subscribe-submit input[type="submit"]:hover {
background: $color-cats-background-hover;
}
.desktop-search input[type="submit"]:hover,
.widget_search input[type="submit"]:hover,
.post-password-form input[type="submit"]:hover,
.post-password-form input[type="submit"]:hover .footer-feature-btn:hover {
border: 2px solid #0c6ca6;
color: #fff;
background: #0c6ca6;
}
input {
padding: 12px 15px;
background: #fff;
border: 1px solid #ccc;
line-height: normal;
outline: none;
color: $color-text;
&[type="submit"]:hover,
&#submit:hover {
background: #0c6ca6;
border: 2px solid #0c6ca6;
color: #fff;
}
&[type="reset"],
&[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
&[type="button"],
&[type="submit"],
&#submit {
padding: 9px 30px;
border: 2px solid $color-main;
background-color: $color-main;
color: $color-page-background;
line-height: normal;
cursor: pointer;
outline: none;
-webkit-appearance: none;
text-transform: uppercase;
font-weight: 500;
letter-spacing: 3px;
&:focus, &:hover {
background-color: $color-second;
border-color: $color-second;
}
}
}
textarea {
padding: 12px 15px;
background: #fff;
border: 1px solid #ccc;
line-height: normal;
outline: none;
color: $color-text;
&:focus,
&:active {
border: 1px solid $color-text;
}
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
button, input, optgroup, select, textarea {
color: inherit;
font: inherit;
margin: 0;
}
button {
overflow: visible;
text-transform: none;
}
select {
text-transform: none;
}
button,
html input[type="button"] {
-webkit-appearance: button;
cursor: pointer;
}
button[disabled],
html input[disabled] {
cursor: default;
}
#commentform input#submit {
border-color: $color-main;
background-color: $color-main;
color: $color-page-background;
&:focus, &:hover {
background-color: $color-second;
border-color: $color-second;
}
}
.post-password-form input[type="password"] {
padding: 9px 15px;
}
.widget_search {
.searchform {
width: 100%;
max-width: 500px;
display: block;
overflow: hidden;
}
input.search-field {
margin-right: 6px;
padding: 12px 2%;
float: left;
width: 58%;
}
}
.error404 input {
&.search-field {
padding: 12px 2%;
}
&[type="submit"] {
padding: 10px 30px;
}
}
.widget_search input[type="submit"],
.post-password-form input[type="submit"] {
padding: 11px 0;
font-weight: 600;
line-height: 1.65;
}
.widget_search input[type="submit"] {
width: 40%;
float: right;
}
@media screen and (min-width: 48em) {
input {
&[type="button"],
&[type="submit"],
&#submit {
@include px2rem($font-size-smaller);
}
}
}

View File

@@ -0,0 +1,121 @@
/*-----------------------------------------------------------------------------------*/
/* Image Galleries
/*-----------------------------------------------------------------------------------*/
.gallery {
margin-left: auto;
margin-right: auto;
padding-top: 10px;
.gallery-item {
float: left;
margin-top: 0;
width: 33.3%;
a {
border-bottom: none;
}
.gallery-caption {
margin: 0;
padding: 8px 2px 30px;
@include px2rem($font-size-small);
}
img {
width: 100%;
height: auto;
}
}
dl, dt {
margin: 0;
}
br + br {
display: none;
}
}
.shadow-images .entry-content .gallery img {
width: 100%;
box-shadow: 2px 0px 10px 0px rgba(0,0,0,0.8);
}
.tiled-gallery {
margin-left: auto;
margin-right: auto;
padding-top: 10px;
margin-bottom: 30px !important;
}
.gallery-columns-2 .gallery-item {
width: 50%;
&:nth-of-type(odd) {
padding-right: 1.4%;
}
}
.gallery-columns-3 .gallery-item:nth-of-type(3n+1) {
padding-right: 1.4%;
}
.gallery-columns-2 .gallery-item:nth-of-type(even) {
padding-left: 1.4%;
}
.gallery-columns-3 .gallery-item {
&:nth-of-type(3n+3) {
padding-left: 1.4%;
}
&:nth-of-type(3n+2) {
padding-left: 0.7%;
padding-right: 0.7%;
}
}
.gallery-columns-4 .gallery-item {
width: 25%;
}
.gallery-columns-5 .gallery-item {
width: 20%;
}
.gallery-columns-6 .gallery-item {
width: 16.6%;
}
.gallery-columns-7 .gallery-item {
width: 14%;
}
.gallery-columns-8 .gallery-item {
width: 12.5%;
}
.gallery-columns-9 .gallery-item {
width: 11%;
}
.gallery-columns-2 .attachment-medium {
max-width: 92%;
height: auto;
}
.gallery-columns-4 .attachment-thumbnail,
.gallery-columns-5 .attachment-thumbnail,
.gallery-columns-6 .attachment-thumbnail {
max-width: 93%;
height: auto;
}
.gallery-columns-7 .attachment-thumbnail,
.gallery-columns-8 .attachment-thumbnail,
.gallery-columns-9 .attachment-thumbnail {
max-width: 94%;
height: auto;
}
.single .gallery .gallery-item .gallery-caption {
display: block;
}

View File

@@ -0,0 +1,266 @@
/*-----------------------------------------------------------------------------------*/
/* General Styles
/*-----------------------------------------------------------------------------------*/
.front-section-title,
.social-front-title,
p.text-big, .widget_mc4wp_form_widget p,
.jetpack_subscription_widget #subscribe-text p,
.single-post .entry-content p.intro {
@include px2rem($font-size-entrytitle);
}
.section-about-column-one p {
@include px2rem($font-size-bigtext);
}
.entry-content p {
&.pull-left,
&.pull-right {
@include px2rem($font-size-bigtext);
}
@include px2rem($font-size-base);
}
.entry-header {
p.intro {
@include px2rem($font-size-base);
}
}
p.site-title {
font-weight: bold;
padding-right: 55px;
margin: 0;
@include px2rem($font-size-sitetitle);
}
#overlay-nav ul li a,
#desktop-navigation ul li a,
.comments-toggle {
@include px2rem($font-size-smaller);
}
.section-about-column-one p cite,
.footer-feature-btn,
.page a.post-edit-link {
@include px2rem($font-size-smaller);
}
.site-content {
p.nocomments,
div.wpcf7 p input.wpcf7-submit {
@include px2rem($font-size-smaller);
}
}
.entry-summary,
.footer-menu ul li,
#overlay-nav ul ul li a,
#footer-social span {
@include px2rem($font-size-small);
hypens: auto;
}
.widget_rss ul li {
.rssSummary,
cite {
@include px2rem($font-size-small);
}
}
.contact-form label span {
@include px2rem($font-size-small);
}
#site-info,
.front-section a.all-posts-link,
.single-post .canonical-link,
.null-instagram-feed .clear {
font-size: 12px;
font-size: 0.75rem;
}
#overlay-nav ul li a,
#desktop-navigation ul li a,
.site-content p.nocomments {
text-transform: uppercase;
letter-spacing: 1px;
}
/* --- Links + Colors --- */
.comments-show #comments-toggle,
#comments-toggle:focus,
#comments-toggle:hover {
border: 2px solid #0c6ca6;
}
#primary #infinite-handle span:focus,
#front-section-three a.all-posts-link:focus,
.footer-feature-btn:focus,
#offcanvas-widgets-open:focus,
#primary #infinite-handle span:hover,
#front-section-three a.all-posts-link:hover,
.footer-feature-btn:hover,
#offcanvas-widgets-open:hover,
.offcanvas-widgets-show #offcanvas-widgets-open {
border: 2px solid #0c6ca6;
}
/* --- Typography --- */
p {
margin-bottom: 30px;
.entry-summary & {
@include hyphens(auto);
}
}
.entry-content p:last-child,
.team-text p:last-child {
margin-bottom: 0;
}
b, strong {
font-weight: bold;
}
dfn, em, i {
font-style: italic;
}
s, strike, del {
text-decoration: line-through;
}
address {
margin: 0 0 30px;
}
pre {
max-width: 100%;
word-wrap: break-word;
margin-bottom: 30px;
padding: 15px;
overflow: auto;
}
code, kbd, tt, var, pre {
font-family: $font-family-monospace;
@include px2rem($font-size-smaller);
}
abbr, acronym {
border-bottom-width: 1px;
border-bottom-style: dotted;
cursor: help;
}
mark, ins {
text-decoration: none;
}
sup, sub {
position: relative;
vertical-align: baseline;
height: 0;
font-size: 75%;
line-height: 0;
}
sup {
bottom: 1ex;
}
sub {
top: .5ex;
}
small {
font-size: 75%;
}
big {
font-size: 125%;
}
figure {
margin: 0;
}
dt {
padding-bottom: 4px;
font-weight: bold;
}
dd {
margin: 0 0 30px;
}
dl {
dt {
font-weight: bold;
}
dd {
margin: 0 0 30px;
}
}
@media screen and (min-width: $breakpoint-sm) {
.front-section-title,
.social-front-title {
@include px2rem($font-size-h1-sm);
}
.entry-header p.intro,
.section-about-column-one p,
p.text-big,
.single-post .entry-content p.intro {
@include px2rem($font-size-entrytitle-sm);
}
.entry-content p {
&.pull-left,
&.pull-right {
@include px2rem($font-size-bigtext-sm);
}
@include px2rem($font-size-base-sm);
}
.entry-content {
ol, ul, dl {
@include px2rem($font-size-base-sm);
}
}
.big-thumb .entry-header p.intro,
.section-one-column-one .type-post .entry-summary,
.section-three-column-one .type-post .entry-summary,
p.text-small {
@include px2rem($font-size-base-sm);
}
address {
@include px2rem($font-size-base-sm);
}
.entry-summary {
@include px2rem($font-size-base);
}
.null-instagram-feed .clear {
@include px2rem($font-size-smaller);
}
.section-fourcolumn-postwrap .type-post .entry-summary,
.section-sixcolumn-postwrap .type-post .entry-summary {
@include px2rem($font-size-smaller);
}
}

View File

@@ -0,0 +1,344 @@
/*-----------------------------------------------------------------------------------*/
/* Headlines
/*-----------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
@include hyphens(auto);
font-familiy: $font-family-headlines;
}
#section-fullwidth,
.site-content,
.entry-content {
h1 {
padding: 6px 0 9px;
@include px2rem($font-size-h1);
@include hyphens(manual);
}
h2 {
@include px2rem($font-size-h2);
padding: 6px 0 9px;
@include hyphens(manual);
}
h3 {
@include px2rem($font-size-h3);
padding: 5px 0 8px;
}
h4 {
@include px2rem($font-size-h4);
padding: 5px 0 8px;
}
h5 {
@include px2rem($font-size-h5);
padding: 3px 0;
text-transform: uppercase;
letter-spacing: 1px;
}
h6 {
@include px2rem($font-size-h6);
padding: 3px 0;
}
}
h1, h2, h3, h4, h5, h6,
#overlay-nav ul li a,
#desktop-navigation ul li a,
.authorbox h3.author-title,
#comments h3.comments-title {
font-weight: 600;
}
p.site-title,
h1.site-title {
font-weight: bold;
padding-right: 25px;
@include px2rem($font-size-base-sm);
}
h1 {
.single-post .entry-header &.entry-title,
.entry-header &.entry-title,
.attachment &.entry-title,
.page &.entry-title,
&.entry-title,
.archive-header &.archive-title,
.site-content &,
.entry-content & {
text-transform: uppercase;
border-bottom: 7px;
border-style: solid;
margin-bottom: 50px;
display: table-cell;
padding-bottom: 1px;
& + * {
margin-top: 20px;
}
}
.single-post .entry-header &::after.entry-title,
.entry-header &::after.entry-title,
.page &::after.entry-title,
.attachment &::after.entry-title,
.archive-header &::after.archive-title
article &::after,
.entry-content &::after {
content: " ";
display: table-cell;
width: 100%;
}
.h1noupper &,
.h1noupper .entry-header &.entry-title,
.h1noupper.page &.entry-title {
text-transform: none;
}
}
.entry-header {
h1.entry-title {
margin: 0;
}
}
#secondary h2.widget-title,
#sidebar-page h2.widget-title {
@include px2rem($font-size-h2-widget);
text-decoration: none;
}
h2 {
#footer-social &.socialmedia {
@include px2rem($font-size-small);
hypens: auto;
display: inline-block;
float: left;
padding: 8px 15px 0px 0px;
}
}
.entry-header {
h2.entry-title {
@include px2rem($font-size-h2-entryheader);
@include hyphens(manual);
text-decoration: none;
padding: 4px 0 8px;
display: block;
margin: 0;
a {
text-decoration: none;
}
}
}
.widget {
h2.widget-title {
display: block;
margin: 0;
padding: 15px 0 24px;
border-top-width: 1px;
border-top-style: solid;
}
}
.widget_mc4wp_form_widget h2.widget-title,
.jetpack_subscription_widget h2.widget-title {
@include px2rem($font-size-headersmall);
}
h3 {
&#reply-title {
margin: 0 0 10px 0;
padding: 0;
display: block;
line-height: 1;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1.5px;
}
#footer-social &.socialmedia {
@include px2rem($font-size-small);
hypens: auto;
display: inline-block;
float: left;
padding: 8px 15px 0px 0px;
}
}
.footer-menu h3.footer-menu-title {
text-transform: uppercase;
letter-spacing: 1px;
}
.footer-menu h3.footer-menu-title,
.authorbox h3.author-title {
@include px2rem($font-size-headersmall);
}
#comments {
h3.comments-title,
#respond h3#reply-title {
@include px2rem($font-size-headersmall);
}
}
#front-section-three h3.front-section-title {
@include px2rem($font-size-entrytitle);
}
.single-post .entry-header h1.entry-title,
.blog-wrap h3.blog-title,
.archive-header h1.archive-title,
.attachment h1.entry-title,
.page h1.entry-title,
.featured-slider .entry-header h2.entry-title,
#front-section-four .entry-header h2.entry-title,
.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .entry-header h2.entry-title,
.section-one-column-one .entry-header h2.entry-title,
.section-three-column-one .entry-header h2.entry-title,
.jetpack_subscription_widget #subscribe-text p,
#front-section-three h3.front-section-title,
.recommended-posts-wrap #jp-relatedposts h3.jp-relatedposts-headline,
#big-footer-feature h2.footer-feature-title,
#big-footer-feature h3.footer-feature-title {
@include px2rem($font-size-entrytitle);
}
.site-content,
.entry-content {
header {
margin-bottom: 20px;
}
}
.home.page .entry-header h1 {
@extend .screen-reader-text;
}
@media screen and (min-width: $breakpoint-sm) {
p.site-title,
h1.site-title {
padding-top: 5px;
}
.single-post .entry-header h1.entry-title,
.single-attachment .entry-header h1.entry-title,
.attachment h1.entry-title,
h1.entry-title {
@include px2rem($font-size-h1-sitetitle-sm);
}
.blog-wrap h3.blog-title,
.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .entry-header h2.entry-title,
.section-one-column-one .entry-header h2.entry-title,
.section-three-column-one .entry-header h2.entry-title,
#front-section-four .entry-header h2.entry-title,
.recommended-posts-wrap #jp-relatedposts h3.jp-relatedposts-headline,
.archive-header h1.archive-title,
.entry-content h1 {
@include px2rem($font-size-h1-sm);
}
#section-fullwidth,
.entry-content {
h2 {
@include px2rem($font-size-h2-sm);
}
h3 {
@include px2rem($font-size-h3-sm);
}
h4 {
@include px2rem($font-size-h4-sm);
}
h5 {
@include px2rem($font-size-h5-sm);
}
h6 {
@include px2rem($font-size-h6-sm);
}
}
.entry-header h2.entry-title {
@include px2rem($font-size-h2-entryheader-sm);
}
.section-one-column-two .type-post:nth-of-type(n+2) .entry-header h2.entry-title,
.section-two-column-two .type-post .entry-header h2.entry-title,
.section-three-column-two .type-post .entry-header h2.entry-title,
#front-section-fourcolumn .type-post .entry-header h2.entry-title,
.section-sixcolumn-postwrap .type-post .entry-header h2.entry-title {
@include px2rem($font-size-h2-entryheader);
}
.page div.sharedaddy h3.sd-title,
.null-instagram-feed .clear {
@include px2rem($font-size-headersmall);
}
.attachment h1.entry-title,
.page h1.entry-title {
margin-bottom: 45px;
}
}
@media screen and (min-width: $breakpoint-1024) {
.entry-header h2.entry-title {
@include px2rem($font-size-h2-entryheader-1024);
}
#front-section-twocolumn .entry-header h2.entry-title {
@include px2rem($font-size-h2-entryheader-1024);
}
.widget {
h2.widget-title {
border-top: none;
}
}
}
@media screen and (min-width: $breakpoint-1060) {
h1.site-title {
@include px2rem( $font-size-h1-sitetitle-1060);
text-align: center;
padding-right: 0;
}
.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .entry-header h2.entry-title,
.section-one-column-one .entry-header h2.entry-title,
.section-three-column-one .entry-header h2.entry-title,
#front-section-four .entry-header h2.entry-title {
@include px2rem( $font-size-h2-entryheader-1060);
}
#front-section-fourcolumn .type-post .entry-header h2.entry-title,
.recommended-posts-wrap #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
@include px2rem( $font-size-h2-entryheader-1060-small);
}
#front-section-four {
entry-header h2.entry-title {
padding-top: 10px;
}
}
}
@media screen and (min-width: $breakpoint-lg) {
.single-post .entry-header h1.entry-title,
#front-section-four .entry-header h2.entry-title {
@include px2rem($font-size-h2-entryheader-lg);
}
}

View File

@@ -0,0 +1,125 @@
/* --- Images --- */
img {
max-width: 100%;
/* Adhere to container width. */
height: auto;
/* Make sure images are scaled correctly. */
&.wp-post-image {
padding: 0;
}
&.img-border {
border: 5px solid #e2e2e2;
}
&.img-border-thin {
background: #fff;
padding: 5px;
border: 1px solid #ededee;
}
&.shadow {
max-width: calc(100% - 10px);
box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.6);
}
&.noshadow {
max-width: inherit;
box-shadow: none;
}
&.rounded {
border-radius: 50%;
}
&.roundedges {
border-radius: 10px;
}
&.alignleft,
&.alignright {
margin-top: 8px;
margin-bottom: 25px;
}
}
.widget img {
max-width: 100%;
height: auto;
}
.wp-caption {
&.alignnone {
margin-left: 0;
margin-right: 0;
}
max-width: 100%;
}
img#wpstats {
display: none;
}
.entry-content {
.wp-caption-text,
p.wp-caption-text {
margin: 0;
@include px2rem($font-size-small);
}
.shadow-images & img {
max-width: calc(100% - 10px);
box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.6);
}
.shadow-images & img.noshadow {
max-width: inherit;
box-shadow: none;
}
}
.type-attachment .entry-content .entry-caption p {
margin: 0;
padding: 8px 10px 30px 2px;
@include px2rem($font-size-small);
}
.entry-content {
p.wp-caption-text {
text-align: right;
padding: 0 10px 0 0;
}
.alignleft p.wp-caption-text {
text-align: left;
}
.alignright p.wp-caption-text {
text-align: right;
margin-right: 6px;
}
}
figure {
margin: 10px 0 20px 0;
figcaption {
text-align: right;
padding: 0 10px 0 0;
margin: 0;
@include px2rem($font-size-small);
max-width: 100%;
}
&.entry-thumbnail {
figcaption {
text-align: right;
}
}
.shadow-images & img {
max-width: calc(100% - 10px);
box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.6);
}
}
.single-post {
.entry-thumbnail {
@media screen and (min-width:$breakpoint-sm) {
padding-bottom: 30px;
}
}
}

View File

@@ -0,0 +1,53 @@
/*
Links and colors
*/
a {
text-decoration: none;
.entry-content &,
.comment-text & {
font-weight: bold;
}
.author-bio &,
.textwidget & {
text-decoration: underline;
}
}
#secondary h2.widget-title,
#sidebar-page h2.widget-title {
text-decoration: none;
}
#primary #infinite-handle span:focus,
#front-section-three a.all-posts-link:focus,
#offcanvas-widgets-open:focus,
#primary #infinite-handle span:hover,
#front-section-three a.all-posts-link:hover,
#offcanvas-widgets-open:hover,
.offcanvas-widgets-show #offcanvas-widgets-open {
border-style: solid;
border-width: 2px;
}
.comments-show #comments-toggle,
#comments-toggle:focus,
#comments-toggle:hover {
border-style: solid;
border-width: 2px;
}
.desktop-search input.search-field {
&:active,
&:focus {
border-bottom-style: solid;
border-bottom-width: 1px;
}
}
.wp-caption-text {
a {
line-height: 1.6em;
}
}

View File

@@ -0,0 +1,272 @@
/*-----------------------------------------------------------------------------------*/
/* Lists
/*-----------------------------------------------------------------------------------*/
ul,
ol {
margin: 0 0 30px 0;
padding-left: 40px;
list-style-position: inside;
}
ul {
list-style: none;
ul {
margin: 0;
}
}
ol {
list-style: decimal;
ol {
margin: 0;
list-style: lower-alpha;
ol {
list-style: lower-roman;
}
}
}
li {
& > ul,
& > ol {
margin-bottom: 0;
margin-left: 0;
}
}
.entry-content {
ul {
padding-left: 50px;
li {
position: relative;
padding: 0 0 0 24px;
list-style-position: outside;
list-style-type: none;
&:before {
@extend .fa;
@extend .fa-chevron-circle-right;
margin-right: 10px;
margin-left: -24px;
}
ul {
padding-left: 50px;
li {
padding-left: 24px;
&:before {
@extend .fa;
@extend .fa-chevron-circle-right;
}
li {
display: list-item;
list-style-type: circle;
padding-left: 0px;
&:before {
content: "";
margin-right: 0;
margin-left: 0;
}
}
}
}
ol li:before {
display: none;
}
}
ul {
padding-left: 50px;
}
&.default {
li {
display: list-item;
padding: 0;
list-style-type: circle;
&:before {
content: "";
margin-left: 0;
margin-right: 0;
}
li {
list-style-type: square;
li {
list-style-type: disc ;
}
}
}
}
&.nolist {
li {
@include no-list;
}
li:before {
display: none;
}
}
&.sign {
li {
list-style-type: none;
padding-left: 30px;
margin-left: 20px;
background-image:url(../img/signet-maincolor-24.gif);
background-repeat:no-repeat;
background-position:left 3px;
display: list-item;
&:before {
content: "";
margin: 0;
}
ul li {
background-image: none;
list-style-type: circle;
list-style-image: none;
padding: 0;
margin: 0;
ul li {
list-style-type: square;
}
}
ol li {
background-image: none;
padding: 0;
margin: 0;
}
}
&.grau {
li {
background-image:url(../img/signet-grau-24.gif);
}
}
&.secondcolor {
li {
background-image:url(../img/signet-secondcolor-24.gif);
}
}
}
&.line {
li {
position: relative;
padding: 0 0 0 24px;
list-style-position: outside;
list-style-type: none;
&:before {
vertical-align: top;
position: absolute;
top: 0;
left: 0;
content: '\2013';
padding: 0;
margin-left: 0;
margin-right: 0;
}
ul {
padding-left: 50px;
li {
padding-left: 24px;
}
}
ol li:before {
display: none;
}
}
}
&.textlist {
@extend .nolist;
margin-left: 0;
padding-left: 0;
li {
padding-left: 0;
display: inline;
}
}
}
ol {
padding-left: 70px;
li {
padding-left: 4px;
list-style-position: outside;
}
ol {
padding-left: 50px;
}
ul {
li {
padding-left: 24px;
}
}
}
}
.comment-text {
ul,
ol {
margin: 0 0 15px;
padding-left: 20px;
}
li {
position: relative;
padding: 0 0 0 24px;
}
ul li:before {
vertical-align: top;
position: absolute;
top: 0;
left: 0;
content: '\2013';
padding: 0;
}
ul li {
ul li {
padding-left: 24px;
}
ol li:before {
display: none;
}
}
ol ul li {
padding: 0 0 0 24px;
}
}
#comments {
ul ul, ol ol {
padding-left: 50px;
}
}
.fontawesome-icon-list {
a {
text-decoration: none;
i {
color: $color-text;
min-width: 2em;
}
}
}

View File

@@ -0,0 +1,145 @@
/*-----------------------------------------------------------------------------------*/
/* Display of meta elements, like tags, categories, timestampts and so on
/*-----------------------------------------------------------------------------------*/
.entry-meta,
.entry-cats {
@include px2rem($font-size-xsmall);
text-transform: uppercase;
letter-spacing: 1px;
a {
text-decoration: none;
}
}
.entry-meta {
display: block;
clear: both;
.entry-tags ul {
margin: 0;
padding: 0;
}
}
#primary .hentry {
.entry-date,
.entry-edit {
display: block;
}
.entry-date {
padding-bottom: 8px;
}
}
.featured-slider .entry-cats a,
.section-one-column-one .entry-cats a,
.section-three-column-one .entry-cats a,
#front-section-four .entry-cats a,
.single-post .entry-cats a {
padding: 3px 5px;
margin: 0 2px 4px 0;
}
.section-one-column-one {
.entry-cats {
position: absolute;
top: 37px;
left: 17px;
}
}
.section-three-column-two {
.entry-cats {
display: none;
}
}
.search-results .entry-cats a:nth-child(n+2):before,
.archive .entry-cats a:nth-child(n+2):before {
content: ' / ';
padding: 0 2px;
}
.single-post {
.entry-header {
@include px2rem($font-size-small);
.entry-cats {
display: block;
text-align: right;
a {
display: inline-block;
}
}
}
.entry-tags {
@include px2rem($font-size-small);
}
}
.blog {
#primary .hentry.has-post-thumbnail:nth-child(4n+1) .entry-cats a:before,
.section-one-column-one .entry-cats a:before,
.section-three-column-one .entry-cats a:before,
#front-section-four .entry-cats a:before {
display: none;
}
.hentry .entry-cats a {
display: none;
&:nth-child(1),
&:nth-child(2),
&:nth-child(3),
&:nth-child(4) {
display: inline;
}
}
.entry-cats a:nth-child(n+2):before {
content: ' / ';
}
#primary .hentry.has-post-thumbnail:nth-child(4n+1) {
.entry-cats a {
padding: 2px 5px;
display: inline;
}
.entry-date,
.entry-comments,
.entry-edit,
.entry-author {
display: inline-block;
padding-bottom: 0;
}
.entry-date {
padding-right: 20px;
}
}
}
.front_hidecats {
.blog .entry-cats {display: none !important;}
}
@media screen and (min-width: $breakpoint-sm) {
.single-post .hentry .entry-meta,
.single-attachment .hentry .entry-meta,
.shortcode-section a.all-posts-link,
.front-section a.all-posts-link {
@include px2rem($font-size-smaller);
}
.single-post {
.canonical-link,
.entry-tags {
@include px2rem($font-size-smaller);
}
}
}

View File

@@ -0,0 +1,145 @@
/*-----------------------------------------------------------------------------------*/
/* Blockquotes and cites
/*-----------------------------------------------------------------------------------*/
blockquote {
display:block;
padding: 20px 20px 20px 45px;
margin: 10px 20px 30px;
position: relative;
font-family: $font-family-quotation;
border-left-style: solid;
border-left-width: 15px;
border-right-style: solid;
border-right-width: 2px;
font-style: italic;
@include hyphens(manual);
a {
text-decoration: none;
cursor: pointer;
padding: 0 3px;
}
em{
font-style: italic;
}
p {
position: relative;
font-weight: 600;
@include px2rem($font-size-blockquote);
}
cite {
display: block;
padding-top: 10px;
padding-right: 30px;
font-style: normal;
font-weight: normal;
text-align: right;
@include px2rem($font-size-blockquote-cite);
&::before {
content: "\2013 ";
}
}
&.quotesign {
padding: 20px 20px 20px 60px;
&::before {
content: "\201C"; // Unicode for Left Double Quote
font-family: Georgia, serif;
font-size: 70px;
font-weight: bold;
position: absolute;
left: 10px;
top: 0px;
}
&::after{
// Reset to make sure
content: "";
}
}
&.smallborder {
border-left-width: 2px;
border-right-width: 2px;
}
&.boxborder {
border-top-width: 2px;
border-bottom-width: 2px;
border-top-style: solid;
border-bottom-style: solid;
}
&.small {
border-left-width: 2px;
border-right-width: 2px;
font-style: normal;
padding: 10px 10px 10px 25px;
p {
font-weight: normal;
@include px2rem($font-size-base);
}
cite {
@include px2rem($font-size-base);
}
}
&.borderless {
border: none;
}
.inner-offcanvas-wrap & {
background: inherit;
margin: 10px 5px 30px 20px;
border: 0;
&::before {
content: "\201C"; // Unicode for Left Double Quote
font-family: Georgia, serif;
font-size: 60px;
font-weight: bold;
color: lighten($color-text,20%); //lighten($color-text,50%);
position: absolute;
left: 2px;
top: -5px;
}
&::after{
// Reset to make sure
content: "";
}
}
}
blockquote
#comments blockquote {
border-left: none;
border-right: none;
p {
position: relative;
font-weight: 600;
}
cite {
display: block;
padding-top: 10px;
font-style: normal;
@include px2rem($font-size-base);
}
}
@media screen and (min-width: $breakpoint-sm) {
.entry-content blockquote:not(.small) {
p {
@include px2rem($font-size-blockquote-sm);
}
cite {
@include px2rem($font-size-blockquote-cite-sm);
}
}
}

View File

@@ -0,0 +1,102 @@
/*-----------------------------------------------------------------------------------*/
/* Reset
/*-----------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
display: block;
}
audio, canvas, video {
display: inline-block;
*display: inline;
*zoom: 1;
}
audio:not([controls]), [hidden] {
display: none;
}
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body, figure {
margin: 0;
}
img {
border: 0;
-ms-interpolation-mode: bicubic;
}
a {
&:hover, &:active, &:focus {
outline: none;
-moz-outline-style: none;
}
}
input {
-webkit-border-radius: 0;
border-radius: 0;
}
::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
color: #999;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
&:before, &:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
}
::selection, ::-moz-selection {
background: #d7f4f9;
}
/* Clearfix */
.clearfix:after, #main-wrap .sharedaddy:after, .clear:after {
clear: both;
content: ' ';
display: block;
font-size: 0;
line-height: 0;
visibility: hidden;
width: 0;
height: 0;
}
.cf {
&:before {
content: " ";
/* 1 */
display: table;
/* 2 */
}
&:after {
content: " ";
/* 1 */
display: table;
/* 2 */
clear: both;
}
}

View File

@@ -0,0 +1,433 @@
/*-----------------------------------------------------------------------------------*/
/* Featured Slider + Custom Header Image
/*-----------------------------------------------------------------------------------*/
.featured-content {
.no-js & {
display: none;
}
padding-bottom: 35px;
}
.header-image {
display: block;
line-height: 0;
margin-bottom: 35px;
img {
width: 100%;
}
}
.slider-on.slider-boxed .featured-content {
padding-top: 20px;
}
.headerimg-on {
&.slider-on.slider-boxed .featured-content {
padding-top: 0 !important;
}
&.header-boxed .header-image {
margin-top: 20px;
}
}
.slider-on.slider-boxed .featured-slider {
.entry-header,
.entry-meta,
.credits {
padding-left: 17px;
padding-right: 17px;
}
}
.featured-slider {
visibility: hidden;
overflow: hidden;
position: relative;
padding-bottom: 35px;
article header {
margin-bottom: 0px;
}
.meta-main-wrap {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding-bottom: 17px;
}
.entry-author {
display: none;
}
.entry-edit {
margin-left: 20px;
}
button {
&.slick-next {
position: absolute;
bottom: 0;
width: 50%;
height: 35px;
background: transparent;
outline: 0;
border-top: none;
border-left: none;
border-bottom: 1px solid #ddd;
text-indent: -99999px;
}
&.slick-prev {
position: absolute;
bottom: 0;
width: 50%;
height: 35px;
background: transparent;
outline: 0;
border-top: none;
border-left: none;
border-bottom: 1px solid #ddd;
text-indent: -99999px;
left: 0;
border-right: 1px solid #ddd;
}
&.slick-next {
right: 0;
border-right: none;
}
}
.entry-header,
.entry-meta,
.credits {
padding-left: 5.3125%;
/* 17px at 320px */
padding-right: 5.3125%;
/* 17px at 320px */
}
.entry-edit,
.entry-cats a:before {
display: none;
}
.entry-date {
padding-right: 20px;
&::before {
display: none;
}
}
.entry-thumbnail img {
position: relative;
width: 100%;
}
.credits {
@include px2rem($font-size-small);
color: $color-slider-credits;
text-shadow: 1px 2px 2px black;
position: absolute;
bottom: 0px;
text-align: right;
width: 100%;
}
}
.slick-initialized {
visibility: visible !important;
}
.slick-slide {
position: relative;
}
.section-one-column-one {
.entry-author,
.entry-date:before {
display: none;
}
}
.slider-on.slider-boxed .featured-slider button {
&.slick-prev {
border-left: 1px solid #ddd;
}
&.slick-next {
border-right: 1px solid #ddd;
}
}
.featured-slider button {
&.slick-prev:after,
&.slick-next:after {
position: absolute;
display: block;
@extend .fa;
text-indent: 0;
color: $color-text;
bottom: 13px;
}
&.slick-prev:after {
left: 47%;
content: $fa-var-chevron-left;
}
&.slick-next:after {
right: 47%;
content: $fa-var-chevron-right;
}
}
/* --- Fullscreen Slider and Header Image Option --- */
.slider-on.slider-fullscreen .featured-content,
.headerimg-on.header-fullscreen .featured-content {
padding-top: 0;
}
.home.blog {
&.slider-on.slider-fullscreen #site-branding,
&.headerimg-on.header-fullscreen #site-branding {
background: none;
border-bottom: none;
}
}
.home.blog {
&.slider-on.slider-fullscreen #site-branding {
position: absolute;
}
}
.slider-on.slider-boxed .featured-content {
padding-left: 5.3125%;
/* 17px at 320px */
padding-right: 5.3125%;
/* 17px at 320px */
}
.featured-slider .entry-thumbnail a {
width: 130%;
}
.slider-on .front-section:first-of-type {
padding-top: 0;
}
@media screen and (min-width: $breakpoint-600) {
.featured-slider .entry-edit {
display: inline-block;
}
.featured-slider .format-video .entry-thumbnail a:before {
width: 60px;
height: 42px;
padding: 22px 0 0 24px;
}
}
@media screen and (min-width: $breakpoint-sm) {
.featured-slider {
padding-bottom: 0;
.entry-header h2.entry-title {
@include px2rem($font-size-slider-title-sm);
a {
text-shadow: 1px 2px 2px black;
}
}
.credits {
bottom: 10px;
text-align: left;
}
.meta-main-wrap {
padding-bottom: 35px;
}
button {
&.slick-next,
&.slick-prev {
position: absolute;
bottom: 0;
outline: 0;
border-top: none;
border-left: none;
border-bottom: none;
text-indent: -99999px;
z-index: 1;
background: rgba(26, 26, 26, 0.75);
width: 50px;
height: 50px;
}
&.slick-next:focus,
&.slick-next:hover {
background: rgba(26, 26, 26, 1);
}
&.slick-prev {
&:focus,
&:hover {
background: rgba(26, 26, 26, 1);
}
left: auto;
right: 50px;
border-right: none;
}
&.slick-next {
right: 0;
}
&.slick-prev:after,
&.slick-next:after {
color: #fff;
position: absolute;
bottom: 0;
}
&.slick-prev:after {
left: 13px;
bottom: 13px;
}
&.slick-next:after {
right: 13px;
bottom: 13px;
}
}
}
.slider-on.slider-boxed .featured-slider button {
&.slick-prev,
&.slick-next {
border: none;
}
}
.slider-on.slider-boxed .featured-slider {
.entry-header, .entry-meta {
padding-left: 40px;
padding-right: 40px;
}
}
.slider-on .featured-slider .entry-thumbnail a{
max-height: 400px;
overflow: hidden;
}
}
@media screen and (min-width: $breakpoint-1024) {
.featured-slider .entry-thumbnail a {
width: 100%;
}
.slider-on .featured-slider .entry-thumbnail a{
max-height: 700px;
overflow: hidden;
}
}
@media screen and (min-width: $breakpoint-1060) {
.blog {
&.slider-on #masthead {
margin-bottom: 0;
border-bottom: none;
}
}
.slider-on.slider-boxed #masthead {
border-bottom: 1px solid #ddd !important;
}
.featured-slider {
article header {
margin-bottom: 20px;
}
.entry-header,
.entry-meta,
.credits {
padding-left: 0;
padding-right: 0;
width: 57.63888888888889%;
/* -- 830px at 1440px ---*/
margin-left: 6.25%;
}
.entry-header h2.entry-title {
@include px2rem($font-size-slider-title-1060);
padding-top: 10px;
}
.format-video .entry-thumbnail a:before {
left: 6.25%;
top: 40px;
}
.entry-date:before {
content: ' / ';
padding: 0 2px;
display: inline-block;
.no-author & {
display: none;
}
}
.entry-meta {
padding-top: 20px;
}
.entry-author {
display: inline-block;
}
}
.slider-on.slider-boxed .featured-content {
padding-left: 0;
padding-right: 0;
margin-left: 6.25%;
margin-right: 6.25%;
padding-top: 30px;
width: 87.5%;
}
.slider-on.slider-boxed .featured-slider {
.entry-header, .entry-meta {
margin-left: 0;
}
}
}
@media screen and (min-width: 85em) {
.featured-slider .entry-header h2.entry-title {
@include px2rem($font-size-slider-title-lg);
}
.slider-on .featured-slider .entry-thumbnail a{
max-height: 900px;
overflow: hidden;
}
}
@media screen and (min-width: 112.5em) {
.slider-on.slider-boxed .featured-content {
width: 70%;
margin-left: auto;
margin-right: auto;
}
.featured-slider {
.entry-header,
.entry-meta,
.credits {
width: 70%;
margin-left: auto;
margin-right: auto;
}
}
}
@media screen and (min-width: 137.5em) {
.slider-on.slider-boxed .featured-content {
width: 56%;
}
.featured-slider {
.entry-header,
.entry-meta,
.credits {
width: 56%;
}
}
}

View File

@@ -0,0 +1,387 @@
/*-----------------------------------------------------------------------------------*/
/* Social Media Icons
/*-----------------------------------------------------------------------------------*/
.social-nav {
ul {
@extend .fa-ul;
li {
display: inline-block;
border: 1px solid transparent;
border-radius: 50%;
a {
background: $color-page-background;
color: $color-text;
overflow: hidden;
display: inline-block;
width: 25px;
height: 25px;
text-align: center;
vertical-align: middle;
border-radius: 50%;
}
:hover {
background: $color-text;
color: $color-page-background;
}
}
li {
a {
@extend .fa-star;
&::before {
@extend .fa;
@include px2rem($font-size-socialmedia-icon);
text-align: center;
vertical-align: middle;
padding-top: 1px;
}
&[href*="diaspora.com"] {
// @extend .fa-star-o;
background-color: #ccc;
border-color: #ccc;
color: white;
}
&[href*="diaspora.com"]:before {
@include px2rem($font-size-socialmedia-icon * 2, $font-size-base , $font-size-base * 2);
content: "*";
font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
font-weight: bold;
}
&[href*="diaspora.com"]:focus,
&[href*="diaspora.com"]:hover {
background-color: darken(#ccc,10%);
}
&[href*="delicious.com"] {
@extend .fa-delicious;
background-color: #eeeeee;
border-color: #eeeeee;
color: white;
}
&[href*="delicious.com"]:focus,
&[href*="delicious.com"]:hover {
background-color: darken(#eeeeee,10%);
}
&[href*="facebook.com"] {
@extend .fa-facebook;
background-color: #3b5998;
border-color: #3b5998;
color: white;
}
&[href*="facebook.com"]:focus,
&[href*="facebook.com"]:hover {
background-color: darken(#3b5998,10%);
}
&[href*="feed"] {
@extend .fa-rss;
background-color: #ff8800;
border-color: #ff8800;
color: white;
}
&[href*="feed"]:focus,
&[href*="feed"]:hover {
background-color: darken(#ff8800,10%);
}
&[href*="flattr.com"] {
@extend .fa-refresh;
background-color: #5CB85C;
border-color: #5CB85C;
color: white;
}
&[href*="flattr.com"]:focus,
&[href*="flattr.com"]:hover {
background-color: darken(#5CB85C,10%);
}
&[href*="flickr.com"] {
@extend .fa-flickr;
background-color: #ff0084;
border-color: #ff0084;
color: white;
}
&[href*="flickr.com"]:focus,
&[href*="flickr.com"]:hover {
background-color: darken(#ff0084,10%);
}
&[href*="google.com"] {
@extend .fa-google;
background-color: #4285f4;
border-color: #4285f4;
color: white;
}
&[href*="google.com"]:focus,
&[href*="google.com"]:hover {
background-color: darken(#4285f4,10%);
}
&[href*="github.com"] {
@extend .fa-github;
background-color: #4078c0;
border-color: #4078c0;
color: white;
}
&[href*="github.com"]:focus,
&[href*="github.com"]:hover {
background-color: darken(#4078c0,20%);
}
&[href*="instagram.com"] {
@extend .fa-instagram;
background-color: #c13584;
border-color: #c13584;
color: white;
}
&[href*="instagram.com"]:focus,
&[href*="instagram.com"]:hover {
background-color: darken(#c13584,20%);
}
&[href*="linkedin.com"] {
@extend .fa-linkedin;
background-color: #0077b5;
border-color: #0077b5;
color: white;
}
&[href*="linkedin.com"]:focus,
&[href*="linkedin.com"]:hover {
background-color: darken(#0077b5,20%);
}
&[href*="pinterest.com"] {
@extend .fa-pinterest;
background-color: #bd081c;
border-color: #bd081c;
color: white;
}
&[href*="pinterest.com"]:focus,
&[href*="pinterest.com"]:hover {
background-color: darken(#bd081c,20%);
}
&[href*="reddit.com"] {
@extend .fa-reddit;
background-color: #ff4500;
border-color: #ff4500;
color: white;
}
&[href*="reddit.com"]:focus,
&[href*="reddit.com"]:hover {
background-color: darken(#ff4500,20%);
}
&[href*="slack.com"] {
@extend .fa-slack;
background-color: #6ecadc;
border-color: #6ecadc;
color: white;
}
&[href*="slack.com"]:focus,
&[href*="slack.com"]:hover {
background-color: darken(#6ecadc,20%);
}
&[href*="snapchat.com"] {
@extend .fa-snapchat;
background-color: #fffc00;
border-color: #fffc00;
color: white;
}
&[href*="snapchat.com"]:focus,
&[href*="snapchat.com"]:hover {
background-color: darken(#fffc00,20%);
}
&[href*="slideshare.com"] {
@extend .fa-slideshare;
background-color: #bddfdf;
border-color: #bddfdf;
color: black;
}
&[href*="slideshare.com"]:focus,
&[href*="slideshare.com"]:hover {
background-color: darken(#bddfdf,20%);
}
&[href*="skype.com"],
&[href*="skype:"] {
@extend .fa-skype;
}
&[href*="spotify.com"] {
@extend .fa-spotify;
}
&[href*="stumbleupon.com"] {
@extend .fa-stumbleupon;
}
&[href*="tumblr.com"] {
@extend .fa-tumblr;
background-color: #56BC8A;
border-color: #56BC8A;
color: white;
}
&[href*="tumblr.com"]:focus,
&[href*="tumblr.com"]:hover {
background-color: darken(#56BC8A,20%);
}
&[href*="twitter.com"] {
@extend .fa-twitter;
background-color: #1da1f2;
border-color: #1da1f2;
color: white;
}
&[href*="twitter.com"]:focus,
&[href*="twitter.com"]:hover {
background-color: darken(#1da1f2,20%);
}
&[href*="vimeo.com"] {
@extend .fa-vimeo;
background-color: #162221;
border-color: #162221;
color: white;
}
&[href*="vimeo.com"]:focus,
&[href*="vimeo.com"]:hover {
background-color: lighten(#162221,20%)
}
&[href*="whatsapp.com"] {
@extend .fa-whatsapp;
}
&[href*="wordpress.org"],
&[href*="wordpress.com"] {
@extend .fa-wordpress;
}
&[href*="xing.com"] {
@extend .fa-xing;
background-color: #026466;
border-color: #026466;
color: white;
}
&[href*="xing.com"]:focus,
&[href*="xing.com"]:hover {
background-color: darken(#026466,20%)
}
&[href*="youtube.com"] {
@extend .fa-youtube;
background-color: #cd201f;
border-color: #cd201f;
color: white;
}
&[href*="youtube.com"]:focus,
&[href*="youtube.com"]:hover {
background-color: darken(#162221,20%)
}
&[href^="mailto"] {
@extend .fa-envelope-o;
}
// Mailinglists
&[href*="lists.piratenpartei.de"] {
@extend .fa-envelope;
background-color: #ff8800;
border-color: #ff8800;
color: white;
}
&[href*="lists.piratenpartei.de"]:focus,
&[href*="lists.piratenpartei.de"]:hover {
background-color: darken(#ff8800,20%)
}
}
}
}
}
.socialmedia-maincolor .social-nav ul li {
a {
color: $color-main;
background-color: $color-page-background;
border-color: $color-page-background;
&:focus,
&:hover {
background: $color-second;
color: $color-page-background;
border-color: $color-second;
}
}
:focus,
:hover {
background: $color-second;
color: $color-page-background;
border-color: $color-second;
}
}
.socialmedia-secondcolor .social-nav ul li {
a {
color: $color-second;
background-color: $color-page-background;
border-color: $color-page-background;
&:focus,
&:hover {
background: $color-main;
color: $color-page-background;
border-color: $color-main;
}
}
:focus,
:hover {
background: $color-main;
color: $color-page-background;
border-color: $color-main;
}
}
#footer-social.social-nav {
li {
border: none;
}
.socialmedia-maincolor & ul li a {
color: $color-main;
background: $color-footer-background;
&:focus,
&:hover {
background: $color-second;
color: $color-page-background;
border-color: $color-second;
}
}
.socialmedia-secondcolor & ul li a {
color: $color-main;
background: $color-footer-background;
&:focus,
&:hover {
background: $color-main;
color: $color-page-background;
border-color: $color-main;
}
}
}
@media screen and (min-width: $breakpoint-1060) {
.header-social {
display: block;
position: absolute;
right: 0;
top: 40px;
height: 59px;
padding-top: 10px;
}
#header-social-sticky {
top: 7px;
right: 20px;
.header-stick & {
z-index: 9999;
}
}
}

View File

@@ -0,0 +1,107 @@
/*-----------------------------------------------------------------------------------*/
/* Tables
/*-----------------------------------------------------------------------------------*/
table {
line-height: 2;
@include px2rem($font-size-tables);
border-collapse: collapse;
border-bottom-width: 1px;
border-bottom-style: solid;
border-spacing: 0;
border-width: 1px;
margin: 0 0 1.6em;
width: 100%;
&.sorttable {
thead {
cursor: pointer;
}
}
&.center {
th, td {
text-align: center;
}
}
&.right {
td {
text-align: right;
}
}
thead {
th {
border-bottom-width: 2px;
border-bottom-style: solid;
}
}
&.long,
&.border {
td {
border-bottom-width: 1px;
border-bottom-style: solid;
}
}
}
caption, th, td {
font-weight: normal;
text-align: left;
vertical-align: top;
}
caption {
padding: 3px 5px;
font-style: italic;
margin: 40px 0;
&.right {
text-align: right;
}
&.center {
text-align: center;
}
}
th {
font-weight: bold;
}
th, td {
padding: 0.4em;
}
th.right,
td.right {
text-align: right;
}
th.center,
td.center {
text-align: center;
}
@media screen and (max-width: $breakpoint-sm) {
table, tr, td {
padding:0;
}
table {
border:none;
}
thead {
display:none;
}
tr {
float: left;
width: 100%;
margin-bottom: 2em;
}
td {
float: left;
width: 100%;
padding:1em;
}
}