Choices/src/styles/base.scss

190 lines
2.6 KiB
SCSS
Raw Normal View History

2021-12-19 23:43:03 +01:00
/* =============================================
2016-07-11 10:46:48 +02:00
= Generic styling =
2021-12-19 23:43:03 +01:00
============================================= */
2016-07-11 10:46:48 +02:00
$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;
2018-05-27 13:04:42 +02:00
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2018-05-27 13:04:42 +02:00
*,
2021-12-19 23:43:03 +01:00
*::before,
*::after {
box-sizing: border-box;
2016-07-11 10:46:48 +02:00
}
2018-05-27 13:04:42 +02:00
html,
body {
position: relative;
margin: 0;
width: 100%;
height: 100%;
2016-07-11 10:46:48 +02:00
}
body {
2021-12-19 23:43:03 +01:00
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 16px;
line-height: 1.4;
2021-12-19 23:43:03 +01:00
color: #fff;
background-color: #333;
overflow-x: hidden;
2016-07-11 10:46:48 +02:00
}
label {
display: block;
margin-bottom: 8px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
2016-07-11 10:46:48 +02:00
}
2018-05-27 13:04:42 +02:00
p {
margin-top: 0;
2021-12-19 23:43:03 +01:00
margin-bottom: 8px;
2018-05-27 13:04:42 +02:00
}
2016-07-11 10:46:48 +02:00
hr {
display: block;
margin: $global-guttering * 1.25 0;
border: 0;
border-bottom: 1px solid #eaeaea;
height: 1px;
2016-07-11 10:46:48 +02:00
}
2018-05-27 13:04:42 +02:00
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: $global-guttering * 0.5;
font-weight: 400;
line-height: 1.2;
2016-07-11 10:46:48 +02:00
}
2018-05-27 13:04:42 +02:00
a,
a:visited,
a:focus {
2021-12-19 23:43:03 +01:00
color: #fff;
text-decoration: none;
font-weight: 600;
2016-07-30 17:07:03 +02:00
}
.form-control {
display: block;
width: 100%;
background-color: #f9f9f9;
padding: 12px;
border: 1px solid #ddd;
border-radius: 2.5px;
font-size: 14px;
appearance: none;
margin-bottom: $global-guttering;
}
2018-05-27 13:04:42 +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;
}
2016-07-11 10:46:48 +02:00
2019-02-11 22:47:47 +01:00
label + p {
margin-top: -4px;
}
2016-07-11 10:46:48 +02:00
.container {
display: block;
margin: auto;
max-width: 40em;
padding: $global-guttering * 2;
2021-12-19 23:43:03 +01:00
2018-05-27 13:04:42 +02:00
@media (max-width: 620px) {
padding: 0;
}
2016-07-11 10:46:48 +02:00
}
.section {
2021-12-19 23:43:03 +01:00
background-color: #fff;
padding: $global-guttering;
color: #333;
2021-12-19 23:43:03 +01:00
2018-05-27 13:04:42 +02:00
a,
a:visited,
a:focus {
color: #00bcd4;
}
2016-07-11 10:46:48 +02:00
}
2016-08-04 23:25:35 +02:00
.logo {
2016-09-29 14:55:31 +02:00
display: block;
margin-bottom: $global-guttering * 0.5;
2016-09-29 14:55:31 +02:00
}
2021-12-19 23:43:03 +01:00
.logo-img {
width: 100%;
height: auto;
display: inline-block;
max-width: 100%;
vertical-align: top;
padding: $global-guttering * 0.25 0;
2016-08-04 23:25:35 +02:00
}
2018-05-27 13:04:42 +02:00
.visible-ie {
display: none;
}
.push-bottom {
margin-bottom: $global-guttering;
}
2018-05-27 13:04:42 +02:00
.zero-bottom {
margin-bottom: 0;
}
.zero-top {
margin-top: 0;
}
.text-center {
text-align: center;
}
2018-10-13 13:18:02 +02:00
[data-test-hook] {
margin-bottom: $global-guttering;
}
2021-12-19 23:43:03 +01:00
/* ===== End of Section comment block ====== */