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

91 lines
1.8 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
2019-08-12 18:17:40 +00:00
.language-nav a[lang='en'] { display: none; }
2019-08-12 14:11:17 +00:00
2019-08-12 18:17:40 +00:00
// Disable metas and override blog styles
2019-08-12 15:28:31 +00:00
.blog-page .sidebar .meta { display: none; }
.blog-page section { padding: 0; }
.blog-page .blog-tags ul { padding: 0; }
2019-09-09 15:17:31 +00:00
.blog-page ul.sidebar { background: transparent; }
2019-09-09 16:10:30 +00:00
.blog-page .searchTerm {
text-transform: uppercase;
font-weight: bold;
background: #fff;
margin-bottom: 0px;
}
.blog-page .searchDescription {
background: #fff;
margin-bottom: 20px;
padding: 0 20px 20px;
line-height: normal;
color: #555;
}
2019-08-12 15:28:31 +00:00
.blog-page .social-item {
2019-09-09 15:17:31 +00:00
font-size: 70%;
background: #2643A9 !important;
2019-08-12 15:28:31 +00:00
}
2019-08-12 18:17:40 +00:00
.blog-header a {
2019-09-09 12:59:47 +00:00
color: white !important;
text-shadow: 1px 1px 2px black;
text-decoration: none;
2019-08-12 18:17:40 +00:00
}
2019-09-09 15:17:31 +00:00
.blog-header .lead {
color: white;
font-size: 100%;
}
2019-08-12 15:28:31 +00:00
2018-06-22 13:47:42 +00:00
@import "subsites";