Skip to content

Commit

Permalink
reorder some table CSS selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Nov 25, 2023
1 parent 67caffd commit 3950b59
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,6 @@
margin: 1rem 0 0;
}

.doc table.tableblock {
background: var(--body-background);
font-size: calc(15 / var(--rem-base) * 1rem);
}

.doc > table.tableblock,
.doc > table.tableblock + *,
.doc .tablecontainer,
Expand All @@ -272,6 +267,11 @@
margin-top: 1.5rem;
}

.doc table.tableblock {
background: var(--body-background);
font-size: calc(15 / var(--rem-base) * 1rem);
}

@media screen and (min-width: 1024px) {
.doc table.tableblock {
/*
Expand All @@ -285,14 +285,14 @@
}
}

.doc table.tableblock pre {
font-size: inherit;
}

.doc p.tableblock + p.tableblock {
margin-top: 0.5rem;
}

.doc table.tableblock pre {
font-size: inherit;
}

.doc td.tableblock > .content {
word-wrap: anywhere; /* aka overflow-wrap; used when hyphens are disabled or aren't sufficient */
}
Expand Down

0 comments on commit 3950b59

Please sign in to comment.