-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscaffolding.scss
246 lines (206 loc) · 3.32 KB
/
scaffolding.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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
//sass-lint:disable single-line-per-selector, no-vendor-prefixes, no-color-literals
// Reset
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
border: 0;
font-family: inherit;
font-size: 100%;
font-style: inherit;
font-weight: inherit;
margin: 0;
outline: 0;
padding: 0;
vertical-align: baseline;
}
* {
box-sizing: inherit;
&::before,
&::after {
box-sizing: inherit;
}
}
html {
font-size: 10px;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
font-size: 14px;
font-weight: normal;
line-height: 1.618;
background-color: #FFFFFF;
margin: 0;
padding: 0;
}
h1 {
font-size: 3.5rem;
}
h2 {
font-size: 2.5rem;
}
h3 {
font-size: 2rem;
}
h4 {
font-size: 1.5rem;
}
h5 {
font-size: 1.2rem;
}
h6 {
font-size: 0.8rem;
}
a {
text-decoration: none;
outline: 0;
&:hover,
&:focus,
&:active {
text-decoration: none;
outline: 0;
}
}
ul {
padding: 0;
}
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
outline: 0;
}
input,
textarea {
border: 1px solid #DDDDDD;
border-radius: 3px;
padding: 0.5rem 0 0.5rem 0.8rem;
line-height: normal;
&::-ms-input-placeholder,
&:-ms-input-placeholder {
color: #555555;
}
}
figure {
margin: 0;
}
// This hides focus around selected option in FF and native dropdown button arrow in IE
select {
&::-ms-expand {
display: none;
}
&:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #000000;
}
}
iframe {
border: 0;
width: 100%;
min-height: 80vh;
body {
margin: 0;
}
}
.navbar {
height: 8rem;
}
li {
list-style: none;
}
button {
outline: none;
}
blockquote {
border: 0;
}
// Correct `block` display not defined for any HTML5 element in IE
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
// Correct `inline-block` display not defined in IE 8/9.
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}
// Prevent modern browsers from displaying `audio` without controls.
audio {
&:not([controls]) {
display: none;
height: 0;
}
}
// Address `[hidden]` styling not present in IE 8/9/10.
[hidden],
template {
display: none;
}
// Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
b,
strong {
font-weight: bold;
}
// Address styling not present in Safari and Chrome.
dfn {
font-style: italic;
}
// Address inconsistent and variable font size in all browsers.
small {
font-size: 80%;
}
// Prevent `sub` and `sup` affecting `line-height` in all browsers.
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
// Remove border when inside `a` element in IE 8/9/10.
img {
border: 0;
}
// Correct overflow not hidden in IE 9/10/11.
svg {
&:not(:root) {
overflow: hidden;
}
}
// Remove most spacing between table cells.
table {
border-collapse: collapse;
border-spacing: 0;
td,
th {
padding: 0;
}
}