forked from ChrisK91/Universal-Anki-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_element_styles.scss
118 lines (97 loc) · 1.96 KB
/
_element_styles.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
$list-margin: 1em !default;
$large-list-margin: 2.5em !default;
$gradient-background: linear-gradient(to top, lighten($background, 2%) 0%, lighten($background-gradient-end, 2%) 100%) !default;
$cloze-color: #1d1dd1 !default;
ul, ol, dl {
text-align: left;
margin-left: $list-margin;
margin-right: $list-margin;
@include medium_width() {
margin-left: $large-list-margin;
margin-right: $large-list-margin;
}
}
span.cloze {
font-weight: bold;
color: $cloze-color;
}
code, pre {
display: block;
font-family: $monospace;
text-align: left;
background-image: $gradient-background;
}
code#typeans {
text-align: center;
margin: 0.4em 0;
border: $lighter-color 1px solid;
border-radius: 3px;
}
div.hint {
padding: 4px 0;
border: $lighter-color 1px solid;
border-radius: 3px;
margin: 0.4em 15%;
background-image: $gradient-background;
}
pre {
padding: 1.2em;
border: $lighter-color 1px solid;
}
kbd {
border: $lighter-color 1px solid;
border-radius: 3px;
padding-left: 4px;
padding-right: 4px;
background-image: $gradient-background;
}
.mute {
color: $lighter-color;
}
blockquote {
display: block;
text-align: left;
border-left: $lighter-color 2px solid;
padding-left: 3em;
margin-left: 4em;
margin-right: 4em;
}
hr {
color: transparent;
border-color: $lighter-color;
border: 0px;
border-bottom: 1px solid;
}
h1, h2, h3, h4, h5, h6 {
text-align: left;
border-bottom: $lighter-color 1px solid;
margin-top: 1.7em;
margin-bottom: 1em;
font-weight: 350;
font-family: $header-fonts;
}
abbr {
text-decoration: none;
border-bottom: $lighter-color dashed 1px;
}
h1 {
font-weight: 100;
font-size: 2.2em;
}
h2 {
font-weight: 200;
font-size: 2.0em;
}
h3 {
font-weight: 350;
font-size: 1.5em;
}
h4 {
font-size: 1.3em;
}
h5 {
font-size: 1.2em;
}
h6 {
font-size: 1.1em;
}