forked from ConciseCSS/concise.css
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_headings.scss
More file actions
40 lines (32 loc) · 752 Bytes
/
_headings.scss
File metadata and controls
40 lines (32 loc) · 752 Bytes
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
//
// Headings
// =============================================================================
h1 { font-size: typeScale(6); }
h2 { font-size: typeScale(5); }
h3 { font-size: typeScale(4); }
h4 { font-size: typeScale(3); }
h5 { font-size: typeScale(2); }
h6 { font-size: typeScale(1); }
h1, h2, h3, h4, h5, h6 {
color: getColor(text, heading);
font-family: $font-secondary;
line-height: 1.3;
small {
color: inherit;
vertical-align: 0;
// Use the next smaller size in the scale
font-size: 100% / $scale-ratio;
}
}
h1, h2, h3 {
margin: 0.5lh 0 0.25lh;
a {
color: inherit;
&:hover,
&:focus {
color: getColor(base, primary);
text-decoration: none;
}
}
}
h4, h5, h6 { margin: 0.25lh 0; }