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

91 lines
1.8 KiB
SCSS

@charset 'utf-8';
@import 'paper/variables';
$hr-border: $gray-light;
@import '../libs/bootstrap-sass/assets/stylesheets/bootstrap';
@import 'paper/bootswatch';
// Modules
@import "modules/modules";
// Improved responsive layout
body { margin-top: 104px; }
@include mid-screen($screen-sm-min, $screen-md-min) {
body { margin-top: 168px; }
}
@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; }
a.navbar-brand { max-width: 80%; }
}
// Slideshow positioning
$slider-nav: 200px;
.slider-nav {
margin-top: 2.5em;
.item {
height: $slider-nav;
img {
width: 90%;
height: $slider-nav;
}
}
}
// 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;
}
}
// Language menu hack, until this is configurable
.language-nav a[lang='en'] { display: none; }
// Disable metas and override blog styles
.blog-page .sidebar .meta { display: none; }
.blog-page section { padding: 0; }
.blog-page .blog-tags ul { padding: 0; }
.blog-page ul.sidebar { background: transparent; }
.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;
}
.blog-page .social-item {
font-size: 70%;
background: #2643A9 !important;
}
.blog-header a {
color: white !important;
text-shadow: 1px 1px 2px black;
text-decoration: none;
}
.blog-header .lead {
color: white;
font-size: 100%;
}
@import "subsites";