maputnik/src/styles/_base.scss

90 lines
1.3 KiB
SCSS
Raw Normal View History

2017-01-11 09:35:48 +01:00
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
2018-11-01 19:26:21 +01:00
font-display: swap;
2017-01-11 09:35:48 +01:00
}
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Medium.ttf') format('truetype');
font-weight: bold;
font-style: normal;
2018-11-01 19:26:21 +01:00
font-display: swap;
2017-01-11 09:35:48 +01:00
}
html {
color: $color-white;
2017-01-11 15:48:15 +01:00
font-size: $font-size-5;
2017-01-11 09:35:48 +01:00
box-sizing: border-box;
}
body {
// The UI is 100% height so prevent bounce scroll on OSX
overflow: hidden;
}
2017-01-12 11:23:06 +01:00
*,
*::before,
*::after {
2017-01-11 09:35:48 +01:00
box-sizing: inherit;
}
p {
font-size: $font-size-6;
2017-01-11 11:35:33 +01:00
margin-top: $margin-2;
margin-bottom: $margin-2;
2017-01-11 09:35:48 +01:00
color: $color-lowgray;
2017-01-11 11:35:33 +01:00
line-height: 1.3;
2017-01-11 09:35:48 +01:00
}
h1 {
font-size: $font-size-2;
margin-bottom: $margin-3;
2017-01-11 15:48:15 +01:00
font-weight: bold;
2017-01-11 09:35:48 +01:00
}
h2 {
font-size: $font-size-3;
margin-bottom: $margin-3;
2017-01-11 16:32:31 +01:00
font-weight: bold;
2017-01-11 09:35:48 +01:00
}
h3 {
font-size: $font-size-4;
margin-bottom: $margin-3;
2017-01-11 16:32:31 +01:00
font-weight: bold;
2017-01-11 09:35:48 +01:00
}
h4 {
font-size: $font-size-5;
margin-bottom: $margin-3;
}
2017-01-12 11:23:06 +01:00
input:focus,
select:focus {
2017-01-11 09:35:48 +01:00
color: $color-white !important;
outline: #8e8e8e auto 1px !important;
}
2017-01-11 13:34:38 +01:00
2017-01-11 09:35:48 +01:00
label:hover {
color: $color-white;
}
2017-01-11 11:35:33 +01:00
.clearfix {
2017-01-12 11:23:06 +01:00
&::after {
2017-01-11 11:35:33 +01:00
content: "";
display: table;
clear: both;
}
}
a {
color: white;
}
.hide {
display: none !important;
}