-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
152 lines (125 loc) · 2.55 KB
/
custom.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
/*
Custom CSS template for ioslides
Author: Matteo Courthoud
Repo: https://github.com/matteocourthoud/ioslides-theme
*/
/* Import google fonts */
@import url('https://fonts.googleapis.com/css?family=Lora|Open+Sans&display=swap');
/* Slide: change font */
slides > slide {
font-family: 'Source Sans Pro', sans-serif;
overflow: scroll;
}
/* Slide: text color black */
slides > slide > article {
color: black;
font-weight: 300;
}
/* Slide: transition slides white */
slides > slide.dark {
background-color: white !important;
}
/* Header: change color */
h1 {
color: #003f5c !important;
}
h2 {
color: #003f5c !important;
}
/* Header: underline section slides */
.auto-fadein {
width: 70%;
}
.auto-fadein > h1 {
border-bottom: 2px solid grey;
padding-bottom: 10px;
}
.auto-fadein > h2 {
border-bottom: 2px solid grey;
padding-bottom: 10px;
}
/* References: text color white
.csl-entry p {
color: white;
}
*/
/* Citations: colored */
.cite {
color: #2b7ddf;
}
/* Center Images */
img {
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 25px;
max-width: 100%;
}
/* Unordered list style */
/* First level */
ul > li:before {
content: '';
}
ul > li {
list-style-type: disc;
}
/* Second level */
ul > li > ul > li:before {
content: '';
}
ul > li > ul > li {
list-style-type: circle;
}
/* Code */
pre {
width: auto !important;
left: 0px !important;
padding: 10px 20px 10px 20px !important;
border-radius: 5px !important;
border-color: #adb5bd !important;
border-width: thin !important;
border-style: solid !important;
}
pre.prettyprint {
background-color: #f8f8f8 !important;
}
/* Table */
table.rmdtable {
width: auto !important;
margin-left: auto !important;
margin-right: auto !important;
margin-bottom: 25px;
border-bottom: none !important;
border-spacing: 0px !important;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
table.rmdtable th {
background: none !important;
background-color: #003f5c !important;
padding: 10px;
text-align: center !important;
}
table.rmdtable td, table th {
padding: 1em 1em !important;
}
/* Round borders */
table.rmdtable th:first-child {
border-radius: 5px 0 0 0;
}
table.rmdtable th:last-child {
border-radius: 0 5px 0 0;
}
table.rmdtable tr:last-child td:first-child {
border-radius: 0 0 0 5px;
}
table.rmdtable tr:last-child td:last-child {
border-radius: 0 0 5px 0;
}
/* Table Hover */
table.rmdtable > tbody > tr:hover > td,
table.rmdtable > tbody > tr:hover > th {
background-color: #e5e5e5;
}
b, strong {
color: #880808;
}