-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg-main.css
193 lines (169 loc) · 4.11 KB
/
org-main.css
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
:root {
--color-black1: #0a0a0a;
--color-black2: #333;
--color-gray1: #777;
--color-gray2: #ccc;
--color-white1: #fafafa;
--color-blue1: #0a0ad8;
--color-purple1: #6e0ab9;
--color-tag: #bbb;
--color-headline: #375eab;
}
html {
line-height: 130%;
-webkit-text-size-adjust: 100%;
}
body {
font-family: serif, serif;
font-size: 16px;
margin-left: 2em;
max-width: 48em;
color: var(--color-black1);
}
/* Try to detect mobile devices using their pointer mechanism. */
@media (pointer:coarse) {
body {
margin-left: 0em;
}
}
h1 { font: 200% sans-serif; }
h2 { font: 180% sans-serif; }
h3 { font: 150% sans-serif; }
h4 { font: 125% sans-serif; }
h5 { font: 110% sans-serif; }
h1, h2, h3, h4, h5 {
margin-top: 1em;
margin-bottom: 0.5em;
color: var(--color-headline);
}
/* This separator give visual guidance between document chapters. Note that the
h1 level is used for the document title. */
h2 {
padding-top: 0.5rem;
border-top: 3px dotted var(--color-gray2);
}
blockquote {
border-left: 5px solid var(--color-gray2);
margin: 1em 1.5em;
padding-left: 1em;
}
/* Preformatted text */
tt, code, pre {
font-family: monospace, monospace;
font-size: 90%; /* Different monospace fonts vary in size in relation to the serif font! */
}
pre code {
/* Avoid double scaling font size for code tags inside pre tags */
font-size: 100%;
}
pre {
border: 1px solid var(--color-gray2);
border-radius: 3px;
background-color: var(--color-white1);
padding: 8pt;
overflow: auto;
margin: 0em;
}
dt { font-weight: bold; }
/* List item spacing */
li:not(:last-child) {
/* Makes it easier to distinguish multi line list items from each other. */
margin-bottom: 0.2em;
}
/* Horizontal ruler style */
hr {
border: none;
height: 1px;
background-color: var(--color-black2);
margin-top: 1.5em;
}
/* Link style */
a {
border: none;
outline: none;
color: var(--color-blue1);
text-decoration: none;
}
a:visited {
color: var(--color-purple1);
}
a:hover {
/*text-decoration: underline; */
border-bottom: 1px solid;
}
/* Table style */
table {
margin: 1em;
border-top: 1.5px solid;
border-bottom: 1.5px solid;
border-collapse: collapse;
}
thead {
border-bottom: 1.5px solid;
}
table td + td, table th + th {
border-left: 1px solid var(--color-gray1);
}
table tr {
border-top: 1px solid var(--color-gray2);
}
th,td {
padding: 0.3em 0.6em;
vertical-align: middle;
}
td {
vertical-align: top;
}
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
caption { margin-bottom: 0.3em; }
figcaption { margin-top: 0.3em; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
p.verse { margin-left: 3%; }
#postamble p, #preamble p { font-size: 90%; }
/* Delimter above document date */
#postamble p {
margin-top: 1.5rem;
padding-top: 0.5rem;
border-top: 1px solid var(--color-black2);
}
.title {
text-align: center;
margin-bottom: .2em;
}
.subtitle {
text-align: center;
font-size: large;
font-weight: bold;
margin-top:0;
}
/* Org: Tags and keywords */
.todo, .done, .priority, .tag {
font-family: monospace, monospace;
}
.tag {
background-color: #eee;
border-radius: 3px;
font-size: 80%;
font-weight: normal;
padding: 2px;
}
.todo { color: red; }
.done { color: green; }
.priority { color: orange; }
/* Org: Miscellaneous */
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }