Choices/assets/styles/scss/base.scss

80 lines
1.7 KiB
SCSS
Raw Normal View History

2016-07-11 10:46:48 +02:00
$global-guttering: 2.4rem;
$global-font-size-h1: 3.2rem;
$global-font-size-h2: 2.4rem;
$global-font-size-h3: 2rem;
$global-font-size-h4: 1.8rem;
$global-font-size-h5: 1.6rem;
$global-font-size-h6: 1.4rem;
/*=============================================
= Generic styling =
=============================================*/
*, *:before, *:after {
box-sizing: border-box
}
html {
font-size: 62.5%;
}
html, body {
margin: 0;
height: 100%;
widows: 100%;
}
body {
background-color: #333333;
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 1.6rem;
line-height: 1.4;
color: #FFFFFF;
}
label {
display: block;
margin-bottom: .8rem;
font-size: 1.4rem;
font-weight: 500;
}
hr {
display: block;
margin: $global-guttering*1.5 0;
border: 0;
border-bottom: 1px solid #eaeaea;
height: 1px;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: $global-guttering/2;
font-weight: 400;
line-height: 1.2;
}
h1, .h1 { font-size: $global-font-size-h1; }
h2, .h2 { font-size: $global-font-size-h2; }
h3, .h3 { font-size: $global-font-size-h3; }
h4, .h4 { font-size: $global-font-size-h4; }
h5, .h5 { font-size: $global-font-size-h5; }
h6, .h6 { font-size: $global-font-size-h6; }
.container {
display: block;
margin: auto;
max-width: 35em;
padding: $global-guttering;
}
.section {
background-color: #FFFFFF;
padding: $global-guttering;
color: #333;
& > *:last-child,
& > *:last-child > *:last-child,
& > *:last-child > *:last-child > *:last-child { margin-bottom: 0; }
2016-07-11 10:46:48 +02:00
}
/*===== End of Section comment block ======*/