public-health-ch/publichealth/static/css/main.scss
2017-03-07 23:37:55 +01:00

54 lines
835 B
SCSS

@charset 'utf-8';
@import 'paper/variables';
@import '../libs/bootstrap-sass/assets/stylesheets/bootstrap';
@import 'paper/bootswatch';
// Modules
@import "modules/modules";
body {
margin-top: 104px;
}
section {
padding: 6em 0;
&:nth-child(odd) {
background-color: $gray-lighter;
}
h2 {
text-align: center;
margin-bottom: 1.5em;
text-transform: uppercase;
}
}
/* 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%;
}
article footer .btn {
margin-bottom: 1em;
}