forked from ttscoff/MarkedCustomStyles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blanktheme.css
executable file
·395 lines (338 loc) · 6.23 KB
/
blanktheme.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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
/*
This document has been created with Marked.app <http://markedapp.com>, Copyright 2011 Brett Terpstra
Please leave this notice in place, along with any additional credits below.
---------------------------------------------------------------
Title: Blank/Code Theme
Author: Jose Salvatierra &c 2013-4 jslvtr.com
Description: A very simple theme with Garamond as a main font. Titles are in Crimson Text, and the code in Source Code Pro or Consolas.
*/
body
{
-webkit-font-smoothing:antialiased;
font:normal .8764em/1.5em Garamond,serif;
margin-left:5px;
}
html>body
{
font-size:16px
}
li
{
font-size:110%
}
li li
{
font-size:100%
}
li p
{
font-size:100%;
margin:.5em 0
}
h1
{
font-family: "Crimson Text", Garamond, serif;
color:#000;
font-size:250%;
}
h2
{
font-family: "Crimson Text", Garamond, serif;
font-style: italic;
color:#111;
font-size:220%;
}
h3
{
color:#111;
font-size:190%;
}
h4
{
color:#111;
font-size:170%;
}
h5
{
color:#111;
font-size:150%;
}
h6
{
font-size:130%;
}
body,p,td,div
{
color:#000;
font-family:Garamond, serif;
word-wrap:break-word
}
a
{
-webkit-transition:color .2s ease-in-out;
color:#0d6ea1;
text-decoration:none
}
a:hover
{
color:#3593d9
}
/*h2 em
{
color:#111;
padding-left:10px;
text-shadow:0 1px 0 #FFF
}*/
blockquote p
{
font-size:110%;
font-style:italic;
line-height:1.6em;
}
.footnote
{
color:#0d6ea1;
font-size:.8em;
vertical-align:super
}
#wrapper img
{
max-width:100%;
height:auto
}
dd
{
margin-bottom:1em
}
li > p:first-child
{
margin:0
}
ul ul,ul ol
{
margin-bottom:.4em
}
caption,col,colgroup,table,tbody,td,tfoot,th,thead,tr
{
border-spacing:0
}
table
{
border:1px solid rgba(0,0,0,0.25);
border-collapse:collapse;
display:table;
empty-cells:hide;
margin:-1px 0 23px;
padding:0;
table-layout:fixed
}
caption
{
display:table-caption;
font-weight:700
}
col
{
display:table-column
}
colgroup
{
display:table-column-group
}
code, tt, pre
{
font-family: "Source code pro", "Consolas", Courier;
font-size: 80%;
text-align: left;
white-space: nowrap;
border: 1px solix #ccc;
color: #0000ff;
}
pre > code {
margin: 0;
padding: 0;
white-space: pre;
border: none;
}
pre {
border: 1px solid #ccc;
font-size:110%;
line-height: 22px;
overflow: auto;
padding: 2px 10px;
border-radius: 3px;
margin: 20px 0;
}
pre code, pre tt {
border: none;
}
tbody
{
display:table-row-group
}
tfoot
{
display:table-footer-group
}
thead
{
display:table-header-group
}
td,th
{
display:table-cell
}
tr
{
display:table-row
}
table th,table td
{
font-size:1.1em;
line-height:23px;
padding:0 1em
}
table thead
{
background:rgba(0,0,0,0.15);
border:1px solid rgba(0,0,0,0.15);
border-bottom:1px solid rgba(0,0,0,0.2)
}
table tbody
{
background:rgba(0,0,0,0.05)
}
table tfoot
{
background:rgba(0,0,0,0.15);
border:1px solid rgba(0,0,0,0.15);
border-top:1px solid rgba(0,0,0,0.2)
}
figure
{
display:inline-block;
margin-bottom:1.2em;
position:relative;
margin:1em 0
}
figcaption
{
font-style:italic;
text-align:center;
background:rgba(0,0,0,.9);
color:rgba(255,255,255,1);
position:absolute;
left:0;
bottom:-24px;
width:98%;
padding:1%;
-webkit-transition:all .2s ease-in-out;
}
figure:hover>figcaption
{
/* background:rgba(0,0,0,1) */
}
/* Styles used when "Tab-indented text is poetry" is set */
.poetry pre
{
display:block;
font-family:Garamond, serif!important;
font-size:110%!important;
font-style:italic;
line-height:1.6em;
margin-left:1em
}
.poetry pre code
{
font-family:Garamond, serif!important
}
/* important rules for keeping line-height from being affected by sub */
sup,sub,a.footnote
{
font-size:1.4ex;
height:0;
line-height:1;
position:relative;
}
sup {
vertical-align:super;
}
sub {
vertical-align: sub;
top: -1px;
}
p,h5
{
font-size:1.1429em;
line-height:1.3125em;
margin:1.3125em 0
}
dt,th
{
font-weight:700
}
table tr:nth-child(odd),table th:nth-child(odd),table td:nth-child(odd)
{
background:rgba(255,255,255,0.06)
}
table tr:nth-child(even),table td:nth-child(even)
{
background:rgba(0,0,0,0.06)
}
@media print {
/* print only styles. Keep it clean */
body
{
overflow:auto
}
img, pre, blockquote, table, figure, p {
page-break-inside: avoid
}
.footnotes { page-break-before: always }
#wrapper
{
background:#fff;
color:#303030;
font-size:85%;
padding:10px;
position:relative;
text-indent:0
}
}
@media screen {
/* Screen-only styles, including inverted styles */
.inverted #wrapper,.inverted {
background:rgba(37, 42, 42, 1)
}
.inverted hr {
border-color: rgba(51, 63, 64, 1) !important;
}
.inverted p,.inverted td,.inverted li,.inverted h1,.inverted h2,.inverted h3,.inverted h4,.inverted h5,.inverted h6,.inverted pre,.inverted code,.inverted th,.inverted .math,.inverted caption,.inverted dd,.inverted dt
{
color:#eee!important
}
.inverted table tr:nth-child(odd), .inverted table th:nth-child(odd), .inverted table td:nth-child(odd) {
background: none;
}
.inverted a
{
color:rgba(172, 209, 213, 1);
}
#wrapper
{
padding:20px
}
/* styles for more colorful selection highlights */
::selection { background:rgba(157, 193, 200,.5)}
h1::selection { background-color:rgba(45, 156, 208, .3)}
h2::selection { background-color:rgba(90, 182, 224, .3)}
h3::selection,
h4::selection,
h5::selection,
h6::selection,li::selection,ol::selection { background-color:rgba(133, 201, 232, .3)}
code::selection { background-color:rgba(0,0,0,.7);color:#eee}
code span::selection {background-color:rgba(0,0,0,.7) !important;color:#eee !important}
a::selection { background-color:rgba(255, 230, 102,.2)}
.inverted a::selection { background-color:rgba(255, 230, 102,.6)}
td::selection,th::selection,caption::selection { background-color: rgba(180, 237, 95, .5);}
}