2017-06-20 11:13:24 +02:00
|
|
|
@import "colors";
|
2017-07-06 12:23:33 +02:00
|
|
|
@import "common";
|
2017-06-20 11:13:24 +02:00
|
|
|
@import "constants";
|
|
|
|
|
|
|
|
.two-columns {
|
2020-07-29 12:19:20 +02:00
|
|
|
background-color: $white;
|
2017-06-20 11:13:24 +02:00
|
|
|
|
2018-02-08 17:13:15 +01:00
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
|
|
|
background: linear-gradient(to right, #FFFFFF 0%, #FFFFFF 50%, $light-grey 50%, $light-grey 100%);
|
|
|
|
}
|
2017-06-20 11:13:24 +02:00
|
|
|
|
|
|
|
.columns-container {
|
2017-07-06 12:23:33 +02:00
|
|
|
@extend .container;
|
2017-06-20 11:13:24 +02:00
|
|
|
display: flex;
|
2018-02-08 17:13:15 +01:00
|
|
|
flex-direction: column;
|
2019-03-14 17:04:00 +01:00
|
|
|
justify-content: center;
|
2018-02-08 17:13:15 +01:00
|
|
|
|
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
|
|
|
flex-direction: row;
|
2018-03-21 11:01:06 +01:00
|
|
|
align-items: stretch;
|
2019-03-14 16:39:25 +01:00
|
|
|
justify-content: space-between;
|
2018-02-08 17:13:15 +01:00
|
|
|
}
|
2017-06-20 11:13:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.column {
|
2018-02-08 17:13:15 +01:00
|
|
|
width: 100%;
|
|
|
|
max-width: 500px;
|
2019-03-14 17:04:00 +01:00
|
|
|
margin: 0 auto;
|
2019-03-14 17:19:17 +01:00
|
|
|
padding: ($default-padding * 2) 0 0 0;
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
padding-bottom: $default-padding * 2;
|
|
|
|
}
|
2017-06-20 11:13:24 +02:00
|
|
|
|
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
2019-03-14 16:39:25 +01:00
|
|
|
width: 45%;
|
2019-03-14 17:04:00 +01:00
|
|
|
margin: 0;
|
2019-03-14 17:19:17 +01:00
|
|
|
padding: $two-columns-padding 0 $two-columns-padding 0;
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
padding-bottom: $two-columns-padding;
|
|
|
|
}
|
2017-06-20 11:13:24 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-09-26 08:56:27 +02:00
|
|
|
|
|
|
|
.one-column-centered {
|
|
|
|
margin: auto;
|
|
|
|
max-width: $page-width / 2;
|
|
|
|
}
|
2018-10-04 15:48:23 +02:00
|
|
|
|
|
|
|
.blank-tab {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2019-10-21 18:12:57 +02:00
|
|
|
|
|
|
|
.sticky--top {
|
|
|
|
position: sticky;
|
|
|
|
// scss-lint:disable VendorPrefix
|
|
|
|
position: -webkit-sticky; // This is needed on Safari (tested on 12.1)
|
|
|
|
// scss-lint:enable VendorPrefix
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sticky--bottom {
|
|
|
|
position: sticky;
|
|
|
|
// scss-lint:disable VendorPrefix
|
|
|
|
position: -webkit-sticky; // This is needed on Safari (tested on 12.1)
|
|
|
|
// scss-lint:enable VendorPrefix
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-07-23 14:22:26 +02:00
|
|
|
html.scroll-margins-for-sticky-footer {
|
|
|
|
scroll-padding: 0 0 100px 0;
|
|
|
|
}
|