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

130 lines
2.5 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
2020-01-16 10:34:10 +00:00
.blog-page {
padding-top: 1em;
.sidebar .meta { display: none; }
ul.sidebar { background: transparent; }
section { padding: 0; }
.blog-tags ul { padding: 0; }
.searchTerm {
text-transform: uppercase;
font-weight: bold;
// background: #fff;
margin-bottom: 0px;
}
.searchDescription {
// background: #fff;
margin-bottom: 20px;
padding: 0 20px 20px;
line-height: normal;
color: #555;
}
.social-item {
font-size: 70%;
background: #2643A9 !important;
}
h1.title {
margin-bottom: 0;
}
ul.links {
margin: 0; padding: 0;
display: block;
text-align: center;
}
.blog-entry {
a {
text-decoration: none;
color: black;
}
.panel img {
width: 100%; height: auto;
}
.entry-category, .entry-meta {
font-size: 80%;
color: #777;
text-transform: uppercase;
}
}
2019-08-12 15:28:31 +00:00
}
2020-01-16 10:34:10 +00:00
.blog-header {
a {
color: white !important;
text-shadow: 1px 1px 2px black;
text-decoration: none;
}
.lead {
color: white;
font-size: 100%;
}
2019-08-12 18:17:40 +00:00
}
2020-01-16 10:34:10 +00:00
.blog .entry-categories {
text-align: center;
text-transform: uppercase;
a { color: #555; font-weight: bold; }
li { list-style: none; margin: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 1em 0 0; }
2019-09-09 15:17:31 +00:00
}
2019-08-12 15:28:31 +00:00
2018-06-22 13:47:42 +00:00
@import "subsites";