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

55 lines
835 B
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';
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";
2017-01-12 15:08:45 +00:00
body {
2017-02-06 13:35:58 +00:00
margin-top: 104px;
2017-01-12 15:08:45 +00:00
}
section {
padding: 6em 0;
&:nth-child(odd) {
background-color: $gray-lighter;
}
2017-03-07 22:37:55 +00:00
2017-01-16 11:21:38 +00:00
h2 {
text-align: center;
margin-bottom: 1.5em;
text-transform: uppercase;
}
2017-01-12 15:08:45 +00:00
}
2016-12-10 13:42:54 +00:00
/* Responsive image/video classes */
.rich-text img {
max-width: 100%;
height: auto;
}
.richtext-image.left{
float:left;
}
.richtext-image.right{
float:right;
}
.responsive-object {
position: relative;
}
.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
2017-02-15 09:54:06 +00:00
article footer .btn {
margin-bottom: 1em;
}