2020-07-31 15:10:38 +02:00
|
|
|
@font-face {
|
|
|
|
font-family: Crimson;
|
|
|
|
src:
|
2020-07-31 16:54:15 +02:00
|
|
|
url('fonts/Crimson/CrimsonText-Regular.ttf'),
|
|
|
|
url('fonts/Crimson/CrimsonText-Bold.ttf'),
|
|
|
|
url('fonts/Crimson/CrimsonText-Italic.ttf')
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: Montserrat;
|
|
|
|
src:
|
2020-08-04 23:41:15 +02:00
|
|
|
url('fonts/Montserrat/Montserrat-Regular.ttf'),
|
|
|
|
url('fonts/Montserrat/Montserrat-Bold.ttf'),
|
|
|
|
url('fonts/Montserrat/Montserrat-Italic.ttf')
|
2020-07-31 15:10:38 +02:00
|
|
|
;
|
|
|
|
}
|
|
|
|
|
2020-08-01 10:25:30 +02:00
|
|
|
$-beige: #D7CEC7;
|
|
|
|
$-grey: #565656;
|
|
|
|
$-wine-red: #76323F;
|
|
|
|
$-light-brown: #C09F80;
|
|
|
|
$-almost-white: #f9f9f9;
|
2020-07-17 17:55:46 +02:00
|
|
|
|
2020-07-31 16:54:15 +02:00
|
|
|
$-primary-sans-serif-font: Montserrat, Helvetica, sans-serif;
|
2020-07-31 15:10:38 +02:00
|
|
|
$-primary-serif-font: Crimson, Times, serif;
|
2020-07-18 18:49:47 +02:00
|
|
|
$-primary-sans-serif-accent-font: Roboto, Arial, sans-serif;
|
2020-07-17 17:55:46 +02:00
|
|
|
|
2020-07-31 15:10:38 +02:00
|
|
|
$-viewport-small: 650px;
|
2020-07-31 23:35:41 +02:00
|
|
|
$-viewport-extra-small: 450px;
|
2020-08-02 23:00:55 +02:00
|
|
|
$-viewport-medium: 750px;
|
|
|
|
$-viewport-normal: 1000px;
|
2020-07-31 15:10:38 +02:00
|
|
|
|
2020-08-16 10:30:55 +02:00
|
|
|
$-viewport-toggle-sidebar: $-viewport-small;
|
|
|
|
|
2020-08-07 11:24:00 +02:00
|
|
|
$-sidebar-width: 250px;
|
|
|
|
|
2020-08-04 23:46:44 +02:00
|
|
|
html{
|
|
|
|
height:100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body{
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
2020-08-13 23:44:06 +02:00
|
|
|
padding: 0;
|
2020-08-04 23:46:44 +02:00
|
|
|
}
|
2020-07-31 15:10:38 +02:00
|
|
|
|
2020-08-13 23:44:06 +02:00
|
|
|
.LP-Wrapper__Site{
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: $-sidebar-width 1fr;
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
grid-template-areas: "header header" "sidebar content";
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2020-08-07 11:24:00 +02:00
|
|
|
|
2020-08-13 23:44:06 +02:00
|
|
|
.LP-Main__Content{
|
|
|
|
min-height: 1px;
|
|
|
|
padding: 25px;
|
|
|
|
grid-area: content;
|
|
|
|
}
|
2020-08-07 11:24:00 +02:00
|
|
|
|
2020-08-13 23:44:06 +02:00
|
|
|
.LP-Main__Sidebar{
|
|
|
|
grid-area: sidebar;
|
|
|
|
background-color: #f9f9f9;
|
2020-08-07 11:24:00 +02:00
|
|
|
}
|
|
|
|
|
2020-08-09 23:42:48 +02:00
|
|
|
.LP-Section{
|
|
|
|
clear: both;
|
|
|
|
padding: 25px 0px;
|
|
|
|
padding-left: 25px;
|
|
|
|
|
|
|
|
.LP-Headline{
|
|
|
|
margin-left: -25px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-16 10:30:55 +02:00
|
|
|
@media(max-width: $-viewport-normal){
|
|
|
|
.LP-Wrapper__Site{
|
|
|
|
grid-template-columns: (0.75 * $-sidebar-width) 1fr;
|
|
|
|
}
|
|
|
|
}
|
2020-08-09 23:42:48 +02:00
|
|
|
|
|
|
|
@media(max-width: $-viewport-small){
|
|
|
|
.LP-Section{
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
|
|
|
|
.LP-Headline{
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-08-16 10:30:55 +02:00
|
|
|
|
|
|
|
@media(max-width: $-viewport-toggle-sidebar){
|
|
|
|
.LP-Wrapper__Site{
|
|
|
|
grid-template-columns: 0 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes slide_out_siedebar{
|
|
|
|
from{left: -1 * $-sidebar-width;}
|
|
|
|
to{left: 0;}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes slide_in_siedebar{
|
|
|
|
from{left: 0;}
|
|
|
|
to{left: -1 * $-sidebar-width;}
|
|
|
|
}
|
|
|
|
|
|
|
|
.LP-Main__Sidebar{
|
|
|
|
grid-area:unset;
|
|
|
|
width: $-sidebar-width;
|
|
|
|
z-index: 15;
|
|
|
|
position: fixed;
|
|
|
|
left: -1 * $-sidebar-width - 1;
|
|
|
|
height: 100vh;
|
|
|
|
top: 60px;
|
|
|
|
border-right: 1px solid $-light-brown;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toggle_sidebar:checked ~ .LP-Main__Sidebar{
|
|
|
|
animation-name: slide_out_siedebar;
|
|
|
|
animation-duration: .3s;
|
|
|
|
left: 0 ;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toggle_sidebar ~ .LP-Main__Sidebar{
|
|
|
|
animation-name: slide_in_siedebar;
|
|
|
|
animation-duration: .3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.LP-Menu__Trigger{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.LP-Menu__TriggerLabel{
|
|
|
|
z-index: 20;
|
|
|
|
height: 60px;
|
|
|
|
width: 60px;
|
|
|
|
background-image: url('/icons/hamburger_menu.svg');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-clip: content-box;
|
|
|
|
background-position: center;
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.LP-Menu__Trigger:checked ~ .LP-Menu__TriggerLabel{
|
|
|
|
background-color: invert($-grey);
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.LP-Main__Content{
|
|
|
|
margin-top: 60px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-17 17:55:46 +02:00
|
|
|
@import '01_Atoms/atoms';
|
|
|
|
@import '02_Molecules/molecules';
|
|
|
|
@import '03_Organisms/organisms';
|
2020-08-04 23:46:44 +02:00
|
|
|
@import '04_Templates/templates';
|
|
|
|
@import '05_Pages/pages';
|