Skip to content

Commit 3950b59

Browse files
committed
reorder some table CSS selectors
1 parent 67caffd commit 3950b59

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/css/doc.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,6 @@
258258
margin: 1rem 0 0;
259259
}
260260

261-
.doc table.tableblock {
262-
background: var(--body-background);
263-
font-size: calc(15 / var(--rem-base) * 1rem);
264-
}
265-
266261
.doc > table.tableblock,
267262
.doc > table.tableblock + *,
268263
.doc .tablecontainer,
@@ -272,6 +267,11 @@
272267
margin-top: 1.5rem;
273268
}
274269

270+
.doc table.tableblock {
271+
background: var(--body-background);
272+
font-size: calc(15 / var(--rem-base) * 1rem);
273+
}
274+
275275
@media screen and (min-width: 1024px) {
276276
.doc table.tableblock {
277277
/*
@@ -285,14 +285,14 @@
285285
}
286286
}
287287

288-
.doc table.tableblock pre {
289-
font-size: inherit;
290-
}
291-
292288
.doc p.tableblock + p.tableblock {
293289
margin-top: 0.5rem;
294290
}
295291

292+
.doc table.tableblock pre {
293+
font-size: inherit;
294+
}
295+
296296
.doc td.tableblock > .content {
297297
word-wrap: anywhere; /* aka overflow-wrap; used when hyphens are disabled or aren't sufficient */
298298
}

0 commit comments

Comments
 (0)