forked from ConciseCSS/concise.css
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_shared.scss
More file actions
37 lines (33 loc) · 921 Bytes
/
_shared.scss
File metadata and controls
37 lines (33 loc) · 921 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
@if $use-shared == true {
//------------------------------------//
// $SHARED
//------------------------------------//
// Declare a common bottom margin for most elements
// to maintain a consistent vertical rhythm.
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.giga, .mega, .kilo,
hgroup,
ul, ol, dl,
blockquote, p, address,
table,
fieldset, figure,
pre,
.row,
.well {
margin-bottom: $base-spacing-unit;
margin-bottom: ($base-spacing-unit / $base-font-size) * 1rem;
}
// Spacing for <hr> tags
hr {
margin-bottom: $base-spacing-unit - 2px;
margin-bottom: (($base-spacing-unit - 2px) / $base-font-size) * 1rem;
}
// Left margin for lists
ul,
ol,
dd {
margin-left: 2 * $base-spacing-unit;
margin-left: (2 * $base-spacing-unit / $base-font-size) * 1rem;
}
}