2016-04-02 22:24:34 +00:00
|
|
|
/* STYLE for jannikbeyerstedt.de
|
|
|
|
* generic styles
|
2016-05-17 18:47:47 +00:00
|
|
|
*
|
2017-11-20 19:58:56 +00:00
|
|
|
* main font: Alegreya Sans (100,300,400,400italic,500,500italic,700)
|
|
|
|
* headings: Crimson Text (400,700)
|
2016-05-17 18:47:47 +00:00
|
|
|
* Logo: Boon
|
2016-04-02 22:24:34 +00:00
|
|
|
*/
|
2016-04-05 16:38:00 +00:00
|
|
|
@import "mainvariables";
|
2016-04-02 22:24:34 +00:00
|
|
|
|
2017-11-20 19:58:56 +00:00
|
|
|
@import "fonts";
|
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
font-family: 'Alegreya Sans', "Verdana", "Arial", sans-serif;
|
2016-04-04 11:17:05 +00:00
|
|
|
min-width: 300px;
|
2016-10-28 21:32:29 +00:00
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
div.site-wrap {
|
|
|
|
background-color: $color_bg;
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
|
|
|
margin-bottom: 18px;
|
2016-04-24 21:02:37 +00:00
|
|
|
margin-top: 1em;
|
2016-04-02 22:24:34 +00:00
|
|
|
font-family: 'Crimson Text', serif;
|
|
|
|
}
|
2016-10-28 19:22:28 +00:00
|
|
|
main h1:first-child, main div.container:first-child {
|
|
|
|
margin-top: 0;
|
2016-05-21 21:14:52 +00:00
|
|
|
}
|
2016-04-02 22:24:34 +00:00
|
|
|
h5 {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
h6 {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
line-height: 1.5em;
|
|
|
|
}
|
2016-04-10 20:42:23 +00:00
|
|
|
a {
|
|
|
|
color: $link_color;
|
2016-04-16 22:23:20 +00:00
|
|
|
&:active, &:hover, &:focus {
|
2016-04-10 20:42:23 +00:00
|
|
|
color: $link_active;
|
|
|
|
}
|
|
|
|
}
|
2016-04-27 19:52:55 +00:00
|
|
|
main p {
|
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
a:visited {
|
|
|
|
color: $link_visited;
|
|
|
|
}
|
|
|
|
}
|
2016-04-17 22:28:20 +00:00
|
|
|
blockquote {
|
|
|
|
font-size: 1.4em;
|
|
|
|
border-left: 4px solid #dddddd;
|
|
|
|
padding: 0 15px;
|
|
|
|
color: #777777;
|
|
|
|
}
|
|
|
|
blockquote > :first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
blockquote > :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
code {
|
|
|
|
padding: 0 5px;
|
|
|
|
white-space: nowrap;
|
|
|
|
border: 1px solid #eaeaea;
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
pre {
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
border: 1px solid #cccccc;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 19px;
|
|
|
|
overflow: auto;
|
|
|
|
padding: 6px 10px;
|
|
|
|
border-radius: 3px;
|
|
|
|
code {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
white-space: pre;
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
2016-04-02 22:24:34 +00:00
|
|
|
|
2016-04-05 16:38:00 +00:00
|
|
|
main div.container {
|
|
|
|
margin-top: 10px;
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
max-width: 940px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
|
2016-04-04 11:17:05 +00:00
|
|
|
$header_logoSize: 75px;
|
2016-10-28 19:22:28 +00:00
|
|
|
$header_logoPadg: 4px;
|
2016-04-02 22:24:34 +00:00
|
|
|
header {
|
2017-08-18 23:35:03 +00:00
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-04-02 22:24:34 +00:00
|
|
|
img {
|
2016-04-04 11:17:05 +00:00
|
|
|
width: $header_logoSize;
|
|
|
|
height: $header_logoSize;
|
2017-08-18 23:35:03 +00:00
|
|
|
margin-top: $header_logoPadg;
|
2016-04-04 11:17:05 +00:00
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-05 16:38:00 +00:00
|
|
|
|
2016-10-28 21:32:29 +00:00
|
|
|
.nav-trigger {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-04-02 22:24:34 +00:00
|
|
|
nav {
|
|
|
|
box-sizing: border-box;
|
2016-04-04 11:17:05 +00:00
|
|
|
ul.nav {
|
2016-04-02 22:24:34 +00:00
|
|
|
margin: 0; // reset
|
|
|
|
padding-left: 0; // reset
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2016-04-04 11:17:05 +00:00
|
|
|
li {
|
|
|
|
list-style-type: none; // reset
|
|
|
|
}
|
|
|
|
a:hover, a:focus {
|
|
|
|
text-decoration: none; // reset
|
|
|
|
}
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@include media-breakpoint-up(sm) {
|
2016-04-04 11:17:05 +00:00
|
|
|
nav {
|
|
|
|
float: right;
|
|
|
|
ul.nav {
|
2016-04-02 22:24:34 +00:00
|
|
|
a {
|
|
|
|
float: left;
|
2016-04-04 11:17:05 +00:00
|
|
|
text-align: center;
|
2016-05-20 22:26:34 +00:00
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 300;
|
2016-10-28 19:37:26 +00:00
|
|
|
margin: 30px 7px 1px;
|
2016-04-04 11:17:05 +00:00
|
|
|
}
|
|
|
|
a:hover, a:focus, a.active {
|
2016-05-20 22:26:34 +00:00
|
|
|
border-bottom: 1px solid $color_accent;
|
2016-04-04 11:17:05 +00:00
|
|
|
}
|
2016-05-20 22:26:34 +00:00
|
|
|
a.section {
|
|
|
|
font-weight: 500;
|
2016-04-04 11:17:05 +00:00
|
|
|
}
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-10-28 19:37:26 +00:00
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
nav ul.nav a {
|
|
|
|
margin: 30px 9px 1px;
|
|
|
|
}
|
|
|
|
}
|
2016-10-28 21:32:29 +00:00
|
|
|
|
|
|
|
$mobileNav_width: 200px;
|
|
|
|
$mobileNav_button_right: 15px;
|
|
|
|
nav.mobile {
|
|
|
|
width: $mobileNav_width;
|
|
|
|
height: 100%;
|
|
|
|
position: fixed;
|
|
|
|
right: -$mobileNav_width;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
.site-wrap {
|
|
|
|
position: relative;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2016-04-02 22:24:34 +00:00
|
|
|
@include media-breakpoint-down(xs) {
|
2016-10-28 21:32:29 +00:00
|
|
|
label[for="nav-trigger"] {
|
|
|
|
position: absolute;
|
|
|
|
right: $mobileNav_button_right;
|
|
|
|
top: 24px;
|
|
|
|
z-index: 2;
|
2016-11-05 11:10:38 +00:00
|
|
|
|
2016-10-28 21:32:29 +00:00
|
|
|
padding: .5rem .75rem;
|
|
|
|
font-size: $font-size-lg;
|
|
|
|
line-height: 1;
|
|
|
|
font-family: inherit;
|
|
|
|
font-weight: 300;
|
2016-11-05 11:10:38 +00:00
|
|
|
|
2016-10-28 21:32:29 +00:00
|
|
|
// button-color
|
|
|
|
color: #373a3c;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
2016-11-05 11:10:38 +00:00
|
|
|
|
2016-10-28 21:32:29 +00:00
|
|
|
nav.mobile {
|
2016-11-05 11:10:38 +00:00
|
|
|
background-color: $color_bg_inv;
|
2016-04-04 11:17:05 +00:00
|
|
|
ul.mobileNav {
|
2016-05-20 22:26:34 +00:00
|
|
|
color: $color_font_inv;
|
|
|
|
padding: 1rem 1rem;
|
2016-10-28 21:32:29 +00:00
|
|
|
padding-top: 28px;
|
|
|
|
li {
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
a {
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
a.active {
|
|
|
|
color: $color_accent;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
2016-10-28 21:32:29 +00:00
|
|
|
ul>li {
|
|
|
|
margin-bottom: 0.2em;
|
2016-04-04 11:17:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-10-28 21:32:29 +00:00
|
|
|
.nav-trigger:checked + label {
|
|
|
|
right: ($mobileNav_width + $mobileNav_button_right);
|
|
|
|
}
|
|
|
|
.nav-trigger:checked ~ .site-wrap {
|
|
|
|
left: -$mobileNav_width;
|
|
|
|
box-shadow: 0 0 5px 5px rgba(0,0,0,0.5);
|
|
|
|
}
|
|
|
|
.nav-trigger:checked ~ nav.mobile {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
.nav-trigger + label, nav.mobile {
|
|
|
|
transition: right 0.2s;
|
2016-10-28 21:59:13 +00:00
|
|
|
-webkit-transition: right 0.2s;
|
|
|
|
-moz-transition: right 0.2s;
|
|
|
|
-o-transition: right 0.2s;
|
2016-10-28 21:32:29 +00:00
|
|
|
}
|
|
|
|
.site-wrap {
|
|
|
|
transition: left 0.2s;
|
2016-10-28 21:59:13 +00:00
|
|
|
-webkit-transition: left 0.2s;
|
|
|
|
-moz-transition: left 0.2s;
|
|
|
|
-o-transition: left 0.2s;
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-10-28 21:32:29 +00:00
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
$footer_logoHeight: 1.4rem;
|
2016-10-28 19:22:28 +00:00
|
|
|
$footer_margin: 25px;
|
|
|
|
$footer_height: 70px;
|
|
|
|
$footer_height_xs: 175px;
|
2016-04-02 22:24:34 +00:00
|
|
|
footer {
|
2016-10-28 19:22:28 +00:00
|
|
|
margin-top: 25px;
|
2016-10-16 09:26:18 +00:00
|
|
|
padding-top: 15px;
|
|
|
|
padding-bottom: 10px;
|
2016-11-05 11:10:38 +00:00
|
|
|
|
2016-10-28 19:22:28 +00:00
|
|
|
height: $footer_height;
|
2016-07-09 17:17:08 +00:00
|
|
|
min-width: inherit;
|
2016-04-04 11:17:05 +00:00
|
|
|
|
2016-04-10 20:42:23 +00:00
|
|
|
background-color: $footer_color_bg;
|
|
|
|
color: $color_font;
|
2016-04-04 11:17:05 +00:00
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2016-04-04 11:17:05 +00:00
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
@media (max-width: $col_xxs_bp) {
|
|
|
|
text-align: center;
|
|
|
|
p {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
2016-04-04 11:17:05 +00:00
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
i.fa {
|
2016-04-10 20:42:23 +00:00
|
|
|
color: $color_font;
|
2016-04-02 22:24:34 +00:00
|
|
|
font-size: $footer_logoHeight;
|
|
|
|
padding-right: 0.2em;
|
|
|
|
}
|
|
|
|
a > svg {
|
|
|
|
height: $footer_logoHeight;
|
|
|
|
width: $footer_logoHeight;
|
|
|
|
position: relative; top: 0.18rem;
|
|
|
|
image {
|
|
|
|
height: $footer_logoHeight;
|
|
|
|
width: $footer_logoHeight;
|
|
|
|
}
|
|
|
|
}
|
2016-04-10 20:13:10 +00:00
|
|
|
img {
|
|
|
|
height: $footer_logoHeight;
|
|
|
|
padding-right: 0.2em;
|
|
|
|
}
|
2016-04-04 11:17:05 +00:00
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
|
|
|
|
2016-10-28 19:22:28 +00:00
|
|
|
@include media-breakpoint-down(xs) {
|
|
|
|
footer {
|
|
|
|
height: $footer_height_xs;
|
|
|
|
}
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
2016-10-28 19:22:28 +00:00
|
|
|
|
|
|
|
/* space footer at bottom of page */
|
2017-08-18 23:35:03 +00:00
|
|
|
$header_height: 2*$header_logoPadg + $header_logoSize + 4px; // + weird "padding" added to inline-block elements
|
2016-04-02 22:24:34 +00:00
|
|
|
@include media-breakpoint-up(sm) {
|
2016-10-28 19:22:28 +00:00
|
|
|
main {
|
|
|
|
min-height: calc(100vh - #{$header_height} - #{$footer_height} - #{$footer_margin});
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@include media-breakpoint-down(xs) {
|
2016-10-28 19:22:28 +00:00
|
|
|
main {
|
|
|
|
min-height: calc(100vh - #{$header_height} - #{$footer_margin});
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-08-18 23:35:03 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* PLUGINS AND OTHER MODULES
|
|
|
|
*/
|
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
/*
|
2021-01-24 17:05:39 +00:00
|
|
|
* KIRBY PLUGIN columns
|
2016-04-02 22:24:34 +00:00
|
|
|
*/
|
2017-08-18 23:35:03 +00:00
|
|
|
$cols-breakdown-width: 600px;
|
|
|
|
$cols-pad: 15px;
|
|
|
|
.columns {
|
2021-01-24 17:05:39 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
2017-08-18 23:35:03 +00:00
|
|
|
margin-left: -$cols-pad;
|
2021-01-24 17:05:39 +00:00
|
|
|
margin-right: -$cols-pad;
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
2017-08-18 23:35:03 +00:00
|
|
|
|
2021-01-24 17:05:39 +00:00
|
|
|
.column {
|
|
|
|
flex: 0 1 100%;
|
|
|
|
margin-left: $cols-pad;
|
|
|
|
margin-right: $cols-pad;
|
|
|
|
max-width: 100%;
|
2017-08-18 23:35:03 +00:00
|
|
|
}
|
|
|
|
|
2021-01-24 17:05:39 +00:00
|
|
|
@media (min-width: $cols-breakdown-width) {
|
|
|
|
.column {
|
|
|
|
flex: 1;
|
2016-04-02 22:24:34 +00:00
|
|
|
}
|
|
|
|
}
|
2017-08-18 23:35:03 +00:00
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
|
|
|
|
/* to break down col-xs */
|
|
|
|
.visible-xxs {
|
|
|
|
display: none!important;
|
|
|
|
}
|
|
|
|
@media (max-width: $col_xxs_bp) {
|
|
|
|
.col-xxs-12 {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
2016-04-04 11:17:05 +00:00
|
|
|
|
2016-04-02 22:24:34 +00:00
|
|
|
position: relative; left: 0; right: 0;
|
|
|
|
min-height: 1px;
|
|
|
|
padding-right: 15px;
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
.hidden-xxs {
|
|
|
|
display: none!important;
|
|
|
|
}
|
|
|
|
.visible-xxs {
|
|
|
|
display: block!important;
|
|
|
|
}
|
|
|
|
}
|
2016-04-06 11:58:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* KIRBYTAGS
|
|
|
|
*/
|
|
|
|
.html5player {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.video-container {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
padding-bottom: 53%;
|
|
|
|
padding-top: 30px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.video-container iframe {
|
|
|
|
position: absolute; top: 0; left: 0;
|
|
|
|
width: 100%; height: 100%;
|
|
|
|
}
|
|
|
|
|
2016-04-07 19:57:06 +00:00
|
|
|
.columns ul {
|
|
|
|
padding-left: 25px;
|
|
|
|
}
|