2015-10-04 19:19:47 +02:00
|
|
|
$width: 1000px !default;
|
|
|
|
$mobile-limit: 800px !default;
|
2016-05-13 22:07:59 +02:00
|
|
|
$very-small-limit: 480px !default;
|
2015-10-04 19:19:47 +02:00
|
|
|
$footer-background: #666666 !default;
|
|
|
|
$footer-color: white !default;
|
|
|
|
$top-logo-width: 0 !default;
|
2016-10-25 08:47:30 +02:00
|
|
|
$sidebar-width: 300px !default;
|
2019-12-12 11:27:39 +01:00
|
|
|
$sidebar-max-width: $sidebar-width !default;
|
|
|
|
$sidebar-min-width: 0 !default;
|
2016-10-25 08:47:30 +02:00
|
|
|
$sidebar-position: left !default;
|
2015-10-04 19:19:47 +02:00
|
|
|
|
|
|
|
html, body {
|
|
|
|
margin: 0;
|
2019-01-06 19:19:35 +01:00
|
|
|
min-height: 100vh;
|
2015-10-04 19:19:47 +02:00
|
|
|
}
|
|
|
|
|
2016-03-05 09:59:04 +01:00
|
|
|
div#page {
|
2016-06-08 09:22:51 +02:00
|
|
|
display: -ms-flexbox;
|
2017-05-09 15:41:40 +02:00
|
|
|
display: -webkit-flex;
|
2016-03-05 09:59:04 +01:00
|
|
|
display: flex;
|
2016-03-25 19:49:39 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
min-height: 100vh;
|
2016-06-08 09:22:51 +02:00
|
|
|
-ms-flex-direction: column;
|
2017-05-09 15:41:40 +02:00
|
|
|
-webkit-direction: column;
|
2016-03-05 09:59:04 +01:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2019-07-09 14:36:27 +02:00
|
|
|
div#page div#main-content-wrapper,
|
|
|
|
div#page main {
|
2016-06-08 09:22:51 +02:00
|
|
|
-ms-flex: 1 0 auto;
|
2017-05-09 15:41:40 +02:00
|
|
|
-webkit-flex: 1 0 auto;
|
2016-03-29 13:30:45 +02:00
|
|
|
flex: 1 0 auto;
|
2016-03-05 09:59:04 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#header,
|
|
|
|
div#nav,
|
|
|
|
div#footer {
|
2015-10-04 19:19:47 +02:00
|
|
|
clear: both;
|
|
|
|
max-width: $width;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#header {
|
2015-12-17 16:52:51 +01:00
|
|
|
box-sizing: border-box;
|
2015-10-04 19:19:47 +02:00
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
top: 0px;
|
|
|
|
z-index: 0;
|
2019-05-23 17:12:02 +02:00
|
|
|
padding: 0 0.7em;
|
2015-10-04 19:19:47 +02:00
|
|
|
& h1 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-limit) {
|
|
|
|
& h1 {
|
|
|
|
padding-left: $top-logo-width+70px;
|
|
|
|
background-position: 70px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div#main-content-wrapper {
|
|
|
|
position: relative;
|
|
|
|
z-index: 100;
|
|
|
|
max-width: $width;
|
|
|
|
margin: 0px auto 0px auto;
|
2016-03-05 09:59:04 +01:00
|
|
|
padding: 0;
|
2015-12-17 15:57:01 +01:00
|
|
|
@media screen and (max-width: $mobile-limit) {
|
|
|
|
position: static;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
2015-10-04 19:19:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
div#main-content {
|
|
|
|
margin: 0;
|
|
|
|
min-height: 300px;
|
|
|
|
}
|
|
|
|
|
2015-10-26 14:01:39 +01:00
|
|
|
#right {
|
|
|
|
float: right;
|
2016-03-26 21:52:29 +01:00
|
|
|
width: 50%;
|
2015-10-26 14:01:39 +01:00
|
|
|
}
|
|
|
|
#left {
|
|
|
|
float: left;
|
2016-03-26 21:52:29 +01:00
|
|
|
width: 50%;
|
2015-10-26 14:01:39 +01:00
|
|
|
}
|
|
|
|
|
2016-03-26 07:51:31 +01:00
|
|
|
#columns {
|
|
|
|
box-sizing: border-box;
|
2016-06-08 09:22:51 +02:00
|
|
|
-ms-flex: 1 auto;
|
2017-05-09 15:41:40 +02:00
|
|
|
-webkit-flex-grow: 1;
|
2016-03-27 11:05:05 +02:00
|
|
|
flex-grow: 1;
|
2019-01-23 14:11:48 +01:00
|
|
|
max-width: 100%;
|
2016-03-26 07:51:31 +01:00
|
|
|
}
|
|
|
|
|
2018-06-11 21:20:16 +02:00
|
|
|
.gru-content {
|
2016-11-11 20:23:48 +01:00
|
|
|
display: -ms-flexbox;
|
2017-05-09 15:41:40 +02:00
|
|
|
display: -webkit-flex;
|
2016-11-11 20:23:48 +01:00
|
|
|
display: flex;
|
2016-03-05 13:58:20 +01:00
|
|
|
#sidebar {
|
2016-11-11 20:23:48 +01:00
|
|
|
-ms-flex: 0 0 $sidebar-width;
|
2017-05-09 15:41:40 +02:00
|
|
|
-webkit-flex: 0 0 $sidebar-width;
|
2016-11-11 20:23:48 +01:00
|
|
|
flex: 0 0 $sidebar-width;
|
2019-12-12 11:27:39 +01:00
|
|
|
max-width: $sidebar-max-width;
|
|
|
|
@if $sidebar-min-width != 0 {
|
|
|
|
min-width: $sidebar-min-width;
|
|
|
|
}
|
2016-11-11 20:23:48 +01:00
|
|
|
@if $sidebar-position == right {
|
|
|
|
-ms-flex-order: 1;
|
2017-05-09 15:41:40 +02:00
|
|
|
-webkit-order: 1;
|
2016-11-11 20:23:48 +01:00
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
div.cell {
|
|
|
|
@if $sidebar-position == left {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 20px;
|
|
|
|
} @else {
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-right: 0px;
|
2016-03-26 21:53:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-05 13:58:20 +01:00
|
|
|
}
|
|
|
|
|
2015-10-26 14:01:39 +01:00
|
|
|
@media screen and (max-width: $mobile-limit) {
|
2016-03-26 07:51:31 +01:00
|
|
|
#columns {
|
2019-05-23 17:12:02 +02:00
|
|
|
padding: 0 0.7em;
|
2018-09-17 22:50:33 +02:00
|
|
|
max-width: 100%;
|
2016-03-26 07:51:31 +01:00
|
|
|
}
|
2015-10-26 14:01:39 +01:00
|
|
|
#right, #left {
|
|
|
|
float: none;
|
|
|
|
width: auto;
|
2015-10-04 19:19:47 +02:00
|
|
|
}
|
2016-04-09 13:38:13 +02:00
|
|
|
|
2018-06-11 21:20:16 +02:00
|
|
|
.gru-content {
|
2016-11-11 20:23:48 +01:00
|
|
|
-ms-flex-direction: column;
|
2017-05-09 15:41:40 +02:00
|
|
|
-webkit-flex-direction: column;
|
2016-11-11 20:23:48 +01:00
|
|
|
flex-direction: column;
|
|
|
|
#sidebar {
|
|
|
|
-ms-flex: 0 0 auto;
|
2017-05-09 15:41:40 +02:00
|
|
|
-webkit-flex: 0 0 auto;
|
2016-11-11 20:23:48 +01:00
|
|
|
flex: 0 0 auto;
|
2018-09-17 22:50:33 +02:00
|
|
|
max-width: 100%;
|
2019-12-12 11:27:39 +01:00
|
|
|
// don't apply min-width on mobile
|
|
|
|
@if $sidebar-min-width != 0 {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2019-05-23 17:12:02 +02:00
|
|
|
margin: 0 0.7em;
|
2016-11-11 20:23:48 +01:00
|
|
|
div.cell {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2016-04-09 13:38:13 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-10-04 19:19:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#footer-wrapper {
|
|
|
|
clear: both;
|
2019-12-06 14:55:56 +01:00
|
|
|
margin-top: 1.5em;
|
2019-05-23 17:12:02 +02:00
|
|
|
padding: 0.7em 0 1.5em 0;
|
2019-02-06 15:56:32 +01:00
|
|
|
background-color: $footer-background;
|
2015-10-04 19:19:47 +02:00
|
|
|
color: $footer-color;
|
2020-01-17 12:15:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#footer {
|
2018-09-25 14:56:04 +02:00
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
}
|
2015-10-04 19:19:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h1#logo {
|
|
|
|
padding-left: $top-logo-width;
|
|
|
|
}
|
2017-06-25 22:26:40 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: $mobile-limit) {
|
|
|
|
.desktop-only {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: $mobile-limit+1px) {
|
|
|
|
.mobile-only {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|