Choices/assets/styles/scss/base.scss

90 lines
1.8 KiB
SCSS
Raw Normal View History

$global-guttering: 24px;
$global-font-size-h1: 32px;
$global-font-size-h2: 24px;
$global-font-size-h3: 20px;
$global-font-size-h4: 18px;
$global-font-size-h5: 16px;
$global-font-size-h6: 14px;
2016-07-11 10:46:48 +02:00
/*=============================================
= Generic styling =
=============================================*/
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale
}
2016-07-11 10:46:48 +02:00
*, *:before, *:after {
box-sizing: border-box
}
html, body {
position: relative;
2016-07-11 10:46:48 +02:00
margin: 0;
width: 100%;
height: 100%;
2016-07-11 10:46:48 +02:00
}
body {
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 16px;
2016-07-11 10:46:48 +02:00
line-height: 1.4;
color: #FFFFFF;
background-color: #333;
overflow-x: hidden;
2016-07-11 10:46:48 +02:00
}
label {
display: block;
margin-bottom: 8px;
font-size: 14px;
2016-07-11 10:46:48 +02:00
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;
}
2016-07-30 17:07:03 +02:00
a, a:visited, a:focus {
color: #FFFFFF;
2016-07-30 17:07:03 +02:00
text-decoration: none;
font-weight: 600;
2016-07-30 17:07:03 +02:00
}
2016-07-11 10:46:48 +02:00
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: 40em;
padding: $global-guttering*2;
@media (max-width: 620px) { padding: 0; }
2016-07-11 10:46:48 +02:00
}
.section {
background-color: #FFFFFF;
padding: $global-guttering;
color: #333;
a, a:visited, a:focus { color: #00bcd4; }
2016-07-11 10:46:48 +02:00
}
/*===== End of Section comment block ======*/