-
Notifications
You must be signed in to change notification settings - Fork 149
/
style.css
214 lines (191 loc) · 3.92 KB
/
style.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
body {
/*font-family: 'Droid Serif';*/
font-family: 'Lato', 'Roboto', Helvetica, sans-serif;
font-size: medium;
}
h1, h2, h3 {
/*font-family: 'Yanone Kaffeesatz';*/
font-family: 'Lato', Helvetica;
font-weight: 400;
margin-top: 30px;
margin-bottom: 20px;
}
/* overrided styles */
.remark-slide-content h1 {
font-size: 40px;
font-weight: 800;
}
.remark-slide-content h2 {
font-size: 36px;
font-weight: 800;
}
.remark-slide-content h3 {
font-size: 30px;
font-weight: 800;
}
.TODO { background-color: #ffc9c9;border: 2px solid red; padding: 2px; }
.TODO:before { color: #e03131; content: "TODO: "; }
.border-black {
border: 2px solid black;
padding: 2px; margin: -2px;
}
.border-red {
border: 2px solid #fa5252; /* oc-red-6 */
padding: 2px; margin: -2px;
}
.border-dotted {
border-style: dotted;
}
.emph {
font-style: italic;
}
.small, .small * {
font-size: 15pt !important;
}
.x-small, .x-small * {
font-size: 12pt !important;
}
.large, .large * { font-size: 120%; }
.x-large, .x-large * { font-size: 180%; }
code {
border-radius: 5px;
}
code.remark-code {
/* not inline, backticks */
border-style: dashed;
border-width: 1px;
}
.remark-code-line-highlighted {
background-color: rgba(80, 188, 225, 0.5);
padding: 1.5px;
margin: -1.5px;
}
.inverse {
background: #272822;
color: #777872;
text-shadow: 0 0 20px #333;
}
.inverse h1, .inverse h2, .inverse h3 {
color: #f3f3f3;
line-height: 0.8em;
}
.footnote {
position: absolute;
font-size: small;
bottom: 2em;
right: 2em;
}
.inverse.recipe {
background: #35464D;
}
.bg-full.remark-slide-content {
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
}
.recipe h1 { margin-top: -10px; font-size: 40px; color: #B1D2F6; }
.recipe h2 { font-size: 55px; }
.remark-slide-content {
/* default content font size */
font-size: 24px;
}
ol li, ul li {
padding: 5px 0;
}
ol ol li, ol ul li,
ul ol li, ul ul li{
padding-bottom: 0px;
}
ol li > p, ul li > p {
margin : 0;
}
.remark-slide-content img {
width: 100%;
}
.remark-slide-content .img-100 img { width: 100%; }
.remark-slide-content .img-90 img { width: 90%; }
.remark-slide-content .img-80 img { width: 80%; }
.remark-slide-content .img-75 img { width: 75%; }
.remark-slide-content .img-66 img { width: 66%; }
.remark-slide-content .img-60 img { width: 60%; }
.remark-slide-content .img-50 img { width: 50%; }
.remark-slide-content .img-33 img { width: 33%; }
.remark-slide-content .img-25 img { width: 25%; }
.remark-slide-content .img-20 img { width: 20%; }
a, a:visited {
color: #428bca;
}
/* override titlepage's layout */
.titlepage h1 {
font-size: 44px;
margin: 0 -20px;
line-height: 140%;
}
.titlepage .author {
font-size: 35px;
color: #fff3bf; /* oc-yellow-1 */
}
.no-number .remark-slide-number {
display: none;
}
/* colors */
.gray { color: gray; }
.yellow { color: yellow; }
.red { color: red; }
.blue { color: blue; }
.green { color: green; }
.dogdrip { color:gray; text-decoration: line-through; }
.half {
width: 45%;
float: left;
}
.row:after {
clear: both;
}
/* styling only necessary for displaying source */
.remark-code {
font-size: 18px;
line-height: 120%;
}
.remark-code, .remark-inline-code {
font-family: 'Ubuntu Mono', 'Monaco', 'Consolas', 'Courier New';
background: #eeeeee;
padding: 2px;
margin: -2px 1px;
}
#source {
position: absolute;
display: none;
font-family: monospace;
font-size: medium;
background: #333333;
color: white;
padding: 10px;
text-align: left;
width: 65%;
height: 70%;
z-index: 1000;
}
#overlay {
position: absolute;
display: none;
background: black;
width: 100%;
height: 100%;
opacity: 0.2;
z-index: 999;
}
/* print support */
@page {
size: 908px 681px;
margin: 0;
}
@media print {
.remark-slide-scaler {
width: 100% !important;
height: 100% !important;
transform: scale(1) !important;
top: 0 !important;
left: 0 !important;
}
}