-
Notifications
You must be signed in to change notification settings - Fork 5
/
_1.base.scss
executable file
·60 lines (50 loc) · 1.12 KB
/
_1.base.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
// Don't include that just use it as a starting point
html {
font: #{$t-default-font-size}/#{$t-default-line-height} $t-default-font-family;
color: color(black);
text-size-adjust: 100%;
overflow-y: scroll;
}
html, body, .l-body {
min-height: 100%;
}
strong {
font-weight: 400;
}
// Remove text-shadow in selection highlight: h5bp.com/i
// These selection rule sets have to be separate.
// Customize the background color to match your design.
::-moz-selection {
background: color(blue-light);
text-shadow: none;
}
::selection {
background: color(blue-light);
text-shadow: none;
}
// Remove the gap between audio, canvas, iframes,
// images, videos and the bottom of their containers:
// https://github.com/h5bp/html5-boilerplate/issues/440
audio,
canvas,
iframe,
img,
svg,
video {
vertical-align: middle;
}
// Remove default fieldset styles.
fieldset {
border: 0;
margin: 0;
padding: 0;
}
// Allow only vertical resizing of textareas.
textarea {
resize: vertical;
}
$text-selectors: "%t-" ".t-" !default;
$typography-classes: true !default;
@if $typography-classes {
@inlcude textClasses($text-selectors);
}