forked from blu3r4y/python-for-java-developers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
102 lines (89 loc) · 1.8 KB
/
style.css
File metadata and controls
102 lines (89 loc) · 1.8 KB
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
/* make content smaller */
:root {
--r-main-font-size: 20px;
--r-heading-margin: 10px 0 20px 0;
}
/* do not center text */
.reveal .slides {
text-align: left;
}
/* more spacing between list items */
.reveal ul li {
margin-bottom: 5px;
}
/* headline style for interactive slides */
.reveal .headline {
background-color: #2196f3;
color: white !important;
padding: 0 5px;
font-weight: bold !important;
}
/* do not bold first letter emoji */
.reveal .headline::first-letter {
font-weight: normal !important;
}
/* footnote style with small */
.reveal small {
margin-top: 15px;
}
/* image style */
.reveal img {
display: block;
max-width: 50%;
margin-top: 0.5em;
}
.reveal img.center {
margin: 0.5em auto 0 auto;
}
/* softer box shadow and less line height for code */
.reveal pre {
box-shadow: 0px 5px 15px rgb(0 0 0 / 5%);
line-height: 1.05em;
}
/* color inline code only */
.reveal p:not(.snippet) code,
.reveal li code {
padding: 2px 4px;
color: #1f1f1f;
background-color: #f0f0f0;
border-radius: 4px;
}
/* code snippet link style */
.reveal .snippet {
padding: 10px;
color: #1f1f1f;
font-weight: bold;
background-color: #f3e5f5;
border-radius: 4px;
}
/* side-by-side view with one or more columns */
.reveal .sidebyside {
display: flex;
align-items: flex-start;
align-content: flex-start;
justify-content: space-evenly;
gap: 1em;
}
/* smaller font for code */
.reveal pre {
font-size: 75%;
}
.reveal .sidebyside pre {
font-size: 65%;
}
/* nicer scrollbar */
::-webkit-scrollbar {
width: 20px;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: #a4a4a4;
border-radius: 20px;
border: 6px solid transparent;
background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
background-color: #757575;
}