forked from ttscoff/MarkedCustomStyles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTeleprompter.css
116 lines (108 loc) · 1.91 KB
/
Teleprompter.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
/*
This document has been created with Marked.app <http://marked2app.com>
Please leave this notice in place, along with any additional credits below.
---------------------------------------------------------------
Title: Teleprompter
Author: Brett Terpstra <http://brettterpstra.com>
Description: Use Marked as a Teleprompter ("s" to autoscroll)
*/
body {
font-size: 40px;
line-height: 2;
background-color: rgba(63, 63, 63, 1);
background-image: linear-gradient(0deg, rgba(63, 63, 63, 1) 25%, rgba(29, 29, 29, 1) 25%, rgba(29, 29, 29, 1) 75%, rgba(63, 63, 63, 1) 75%);
font-family: Helvetica;
color: #fff;
background-attachment: fixed;
}
a {
color: #fff;
text-decoration: none;
}
#wrapper {
padding: 50% 25px;
width: 100%;
overflow: visible;
box-sizing: border-box;
width: 80vw!important;
max-width: 30ch!important;
margin: 0 auto;
}
body:before {
content:' ';
display: block;
position: fixed;
left: 0;
right: 0;
top: 45%;
height: 80px;
background: rgba(219, 212, 105, .25);
}
h1, h2, h3, h4, h5, h6 {
font-size: 1em;
}
ul, ol {
list-style-position: outside;
text-indent: 0;
padding: 0;
margin: 0;
}
ul ul, ul ol, ol ul, ol ol {
margin-left: 30px;
}
h1:before, h2:before, h3:before, h4:before, h5:before, h6:before {
display: block;
position: absolute;
width: 70px;
left: -80px;
text-align: right;
}
h1:before {
content:'#';
}
h2:before {
content:'##';
}
h3:before {
content:'###';
}
h4:before {
content:'-';
}
h5:before {
content:'--';
}
h6:before {
content:'---';
}
img {
width: 200px;
height: auto;
}
hr {
border: 0;
border-top: dashed 4px;
margin: 2em 0;
}
blockquote {
margin: 0;
font-style: italic;
}
blockquote p::before {
content: '> ';
position: absolute;
left: -1em;
}
#wrapper pre {
word-wrap: break-word;
white-space: pre-wrap;
}
dt {
font-weight: 600;
}
dd {
margin: 0;
}
dd::before {
content: ': ';
}