Skip to content

Commit 07104d5

Browse files
css hotfix
1 parent e8360b9 commit 07104d5

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

docs/static/css/main.css

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/css/main.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ blockquote {
134134
#extras li {
135135
display: flex;
136136
flex-direction: column;
137-
list-style-type: none!important;
137+
list-style-type: none !important;
138138
padding: 0.25em;
139139
}
140140

@@ -177,18 +177,15 @@ code {
177177
tab-size: 4;
178178
-moz-tab-size: 4;
179179
-o-tab-size: 4;
180-
white-space: -moz-pre-wrap;
181-
white-space: -pre-wrap;
182-
white-space: -o-pre-wrap;
183-
white-space: pre-wrap;
184-
word-wrap: break-word;
185180
background: var(--black);
186181
}
187182

188183
pre {
189184
padding: 0.5em;
190185
border-radius: 10px;
191186
border: 1px solid var(--theme-3-darker);
187+
overflow: scroll;
188+
max-height: 75vh;
192189
}
193190

194191
code {
@@ -280,6 +277,7 @@ figure {
280277

281278
img {
282279
max-height: 60vh;
280+
max-width: 100%;
283281
cursor: zoom-in;
284282
}
285283

@@ -289,6 +287,8 @@ figure.float-left {
289287
}
290288

291289
@media screen and (max-width: 800px) {
290+
291+
/* don't float figures on narrow screens */
292292
figure.float-right,
293293
figure.float-left {
294294
max-width: 80%;
@@ -331,9 +331,9 @@ del {
331331
}
332332

333333

334-
/* clean up */
334+
/* custom selection colors */
335335

336336
::selection {
337337
color: black;
338338
background-color: #ff07;
339-
}
339+
}

0 commit comments

Comments
 (0)