-
Notifications
You must be signed in to change notification settings - Fork 7
/
jupyter-grade3-bigpython.css
149 lines (117 loc) · 2.77 KB
/
jupyter-grade3-bigpython.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
/*
jupyter-grade3-bigpython
# set Jupyter theme: https://github.com/dunovank/jupyter-themes
!jt -t grade3
*/
pre, code {
font-family: "JetBrains Mono" !important;
}
body {
font-family: "Red Hat Text" !important;
}
div.text_cell_render h1, div.text_cell_render h2, div.text_cell_render h3 {
font-family: "Red Hat Display" !important;
margin: 1em 0 !important;
letter-spacing: .01em;
font-weight: 400;
}
div.text_cell_render h1 {
font-weight: 400;
}
div.text_cell_render h3 {
font-weight: 700;
}
div.text_cell_render p {
line-height: 1.4;
margin: 1em 0 1.5em !important;
text-align: justify;
/*max-width: 41.5em;*/
}
div.prompt.input_prompt {
padding-bottom: 3px;
}
hr {
border: 0;
color: #ccc !important;
background: #ccc !important;
height: 2pt;
margin-top: 3em;
margin-bottom: 3em;
}
br.vtab {
margin-bottom: 30em;
}
.nav .dropdown-toggle {
color: #ccc !important;
}
#notification_trusted {
display: none;
opacity: 0.0;
}
#notification_area {
height: 50px;
}
a.anchor-link {
display:none;
}
div.text_cell_render h1 code {
color: inherit;
}
div.text_cell_render *::selection { background: hsla(23.18, 100%, 80%); }
div.text_cell_render ul, div.text_cell_render ol {
list-style: none; /* Remove default bullets */
}
div.text_cell_render ul li, div.text_cell_render ol li {
padding-left: 0;
margin-bottom: 0.2em;
}
div.text_cell_render ul li::before {
content: "▢"; /* Add content: \2022 is the CSS Code/unicode for a bullet */
color: #126dce !important; /* Change the color */
font-weight: 900; /* If you want it to be bold */
vertical-align: 7%;
display: inline-block; /* Needed to add space between the bullet and the text */
width: 2em; /* Also needed for space (tweak if needed) */
margin-left: -2em;
}
div.text_cell_render ul li li {
font-size: 90%;
}
div.text_cell_render ul li li::before {
content: "—";
margin-left: -1em;
width: 2em; /* Also needed for space (tweak if needed) */
}
div.text_cell_render ol li::before {
vertical-align: 0%;
display: inline-block; /* Needed to add space between the bullet and the text */
width: 2em; /* Also needed for space (tweak if needed) */
margin-left: -2em;
}
div.text_cell_render ol li {
margin-bottom: 1em;
}
div.text_cell_render ol li:nth-of-type(1)::before {
content: "1️⃣";
}
div.text_cell_render ol li:nth-of-type(2)::before {
content: "2️⃣";
}
div.text_cell_render ol li:nth-of-type(3)::before {
content: "3️⃣";
}
div.text_cell_render code, div.text_cell_render pre, pre * {
font-variant-ligatures: no-contextual;
}
div.text_cell_render pre {
border-left: 0 !important;
}
right, .right {
text-align: right !important;
}
div.text_cell_render strong code {
font-weight: 900 !important;
}
.blue {
color: #126dce;
}