-
Notifications
You must be signed in to change notification settings - Fork 3
/
_reset.scss
44 lines (37 loc) · 870 Bytes
/
_reset.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
// Set up stuff for rems, so 1rem = 10px. On mobile and screens with very
// small height, set it to 8px
html {
font-size: $valenski-font-size-base;
@if $valenski-use-small-font-size {
@include respond-until($screen-sm) {
font-size: $valenski-font-size-small;
}
@media (max-height: $valenski-screen-small-height) {
font-size: $valenski-font-size-small;
}
}
}
body {
background-color: white;
color: black;
overflow-x: hidden;
}
img {
border: 0; // Be kind for IE9
}
button {
outline: none;
cursor: pointer;
background: none;
border: 0;
}
// These elements don't inherit the font styles by default
input, select, textarea, button {
font: inherit;
}