blob: 9e37b5163253664e0d8ac58146d10440b853484f (
plain) (
blame)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
html, body {
/* Correct the line height in all browsers. */
line-height: $line-height;
/* Prevent adjustments of font size after orientation changes in iOS. */
-webkit-text-size-adjust: 100%;
}
body {
font-family: $display-font;
color: $display-font-color;
line-height: $line-height;
padding: 0;
margin: 0 $default-spacing;
@include breakpoint-max(600px) {
font-size: $mobile-font-size;
}
@include print {
font-color: $print-font-color;
margin: 0;
}
}
/* Add the correct display in IE 10+.*/
template {
display: none;
}
img {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto $default-spacing;
/* Remove the border on images inside links in IE 10. */
border-style: none;
}
a {
/* Remove the gray background on active links in IE 10. */
background-color: transparent;
text-decoration: none;
color: inherit;
}
p {
display: block;
margin: 0 0 $default-spacing;
padding: 0;
}
ul {
list-style: none;
margin: 0 0 $default-spacing;
padding: 0;
}
li {
display: inline-block;
margin: ($default-spacing/2) $default-spacing;
padding: 0 ($default-spacing/4);
@include breakpoint-min(600px) {
margin: ($default-spacing/2) ($default-spacing*2);
padding: 0 ($default-spacing/2);
}
}
/* Add the correct display in IE 10.*/
[hidden] {
display: none;
}
|