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

144 lines
2.8 KiB
SCSS
Raw Normal View History

2016-12-12 23:43:20 +01:00
@charset 'utf-8';
2016-12-19 11:32:58 +01:00
@import 'paper/variables';
$hr-border: $gray-light;
2016-12-23 17:52:12 +01:00
@import '../libs/bootstrap-sass/assets/stylesheets/bootstrap';
2016-12-19 11:32:58 +01:00
@import 'paper/bootswatch';
2016-12-12 23:43:20 +01:00
2017-01-12 12:15:49 +01:00
// Modules
@import "modules/modules";
2019-08-12 16:11:17 +02:00
// Improved responsive layout
body { margin-top: 104px; }
2017-05-05 16:57:28 +02:00
@include mid-screen($screen-sm-min, $screen-md-min) {
2018-06-18 16:18:16 +02:00
body { margin-top: 168px; }
2017-05-05 16:57:28 +02: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 14:49:30 +02:00
a.navbar-brand { max-width: 80%; }
}
2019-08-12 16:11:17 +02: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 14:20:04 +02: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 15:47:42 +02:00
2019-08-12 16:11:17 +02:00
// Language menu hack, until this is configurable
2019-08-12 20:17:40 +02:00
.language-nav a[lang='en'] { display: none; }
2019-08-12 16:11:17 +02:00
2019-08-12 20:17:40 +02:00
// Disable metas and override blog styles
2020-01-16 11:34:10 +01: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 17:28:31 +02:00
}
2020-01-16 11:34:10 +01: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 20:17:40 +02:00
}
2020-01-16 11:34:10 +01: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 17:17:31 +02:00
}
2019-08-12 17:28:31 +02:00
2020-05-27 12:33:57 +02:00
// Fix Bootstrap 3 warning
.media, .media-body { zoom: none !important; transform: scale(1); }
2022-07-11 16:09:50 +05:30
#mc_embed_signup input[type=radio] {
-webkit-appearance: none; padding: 0px;margin-top: 0px;
2022-07-11 16:09:50 +05:30
}
#mc_embed_signup {
2022-07-11 16:09:50 +05:30
background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif;
}
.table-program td th {
padding: 0 10px !important;
}
2020-05-27 12:33:57 +02:00
2018-06-22 15:47:42 +02:00
@import "subsites";