public-health-ch/publichealth/static/css/main.scss

59 lines
1.2 KiB
SCSS
Raw Normal View History

2016-12-12 22:43:20 +00:00
@charset 'utf-8';
2016-12-19 10:32:58 +00:00
@import 'paper/variables';
$hr-border: $gray-light;
2016-12-23 16:52:12 +00:00
@import '../libs/bootstrap-sass/assets/stylesheets/bootstrap';
2016-12-19 10:32:58 +00:00
@import 'paper/bootswatch';
2016-12-12 22:43:20 +00:00
2017-01-12 11:15:49 +00:00
// Modules
@import "modules/modules";
2019-08-12 14:11:17 +00:00
// Improved responsive layout
body { margin-top: 104px; }
2017-05-05 14:57:28 +00:00
@include mid-screen($screen-sm-min, $screen-md-min) {
2018-06-18 14:18:16 +00:00
body { margin-top: 168px; }
2017-05-05 14:57:28 +00:00
}
@include max-screen(1000px) {
.carousel-inner .item {
margin-bottom: 0px;
height: auto;
}
.slick-dots { display: none !important; }
}
@include max-screen(480px) {
#responsive { display: none !important; }
.arrow:before { display: none; }
2018-06-02 12:49:30 +00:00
a.navbar-brand { max-width: 80%; }
}
2019-08-12 14:11:17 +00:00
// Slideshow positioning
$slider-nav: 200px;
.slider-nav {
margin-top: 2.5em;
.item {
height: $slider-nav;
img {
width: 90%;
height: $slider-nav;
}
}
}
2017-09-15 12:20:04 +00:00
// Slideshow navigation arrows
.arrow {
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
&:before {
font-size: 45px;
padding: 58px 0 88px 0;
// background-color: rgba(128, 128, 128, 0.57);
margin: 0;
}
}
2018-06-22 13:47:42 +00:00
2019-08-12 14:11:17 +00:00
// Language menu hack, until this is configurable
nav .language-nav a[lang='en'] { display: none; }
2018-06-22 13:47:42 +00:00
@import "subsites";