forked from ttscoff/MarkedCustomStyles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Teleprompter.css
77 lines (77 loc) · 1.52 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
/*
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: 1.7;
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;
font-size: 52px;
color: #fff;
background-attachment: fixed;
}
a {
color: #fff;
text-decoration: none;
}
#wrapper {
padding: 50% 15px;
width: 100%;
overflow: visible;
box-sizing: border-box;
max-width: 1000px;
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:'---';
}