Scrunch pre and math blocks a bit more.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2020-03-17 18:32:51 +00:00
parent 1f77e08d4f
commit 3cca1cc108
1 changed files with 30 additions and 15 deletions

View File

@ -122,7 +122,7 @@ div.math {
margin: 0 1rem 1rem 1rem;
text-align: center;
padding: 0;
font-size: 0.9375rem;
font-size: 0.75rem;
}
a, a:visited {
@ -170,15 +170,6 @@ table {
border: 0 none transparent;
}
@media (max-width: 576px) {
table:not(.footnote) {
display: block;
}
pre, div.math, table {
font-size: 0.6rem;
}
}
th, td {
border: 1px solid #212529;
}
@ -221,12 +212,27 @@ td:first-child {
content: "]";
}
@media (max-width: 576px) {
table:not(.footnote) {
display: block;
}
pre, div.math {
font-size: 0.5rem;
}
table {
font-size: 0.6rem;
}
}
@media (min-width: 576px) {
body > section {
max-width: initial;
width: 510px;
}
pre, div.math, table {
pre, div.math {
font-size: 0.5rem;
}
table {
font-size: 0.6rem;
}
}
@ -235,7 +241,10 @@ td:first-child {
body > section {
width: 690px;
}
pre, div.math, table {
pre, div.math {
font-size: 0.55rem;
}
table {
font-size: 0.7rem;
}
}
@ -244,7 +253,10 @@ td:first-child {
body > section {
width: 770px;
}
pre, div.math, table {
pre, div.math {
font-size: 0.6rem;
}
table {
font-size: 0.8rem;
}
}
@ -254,7 +266,10 @@ td:first-child {
max-width: initial;
width: 920px;
}
pre, div.math, table {
pre, div.math {
font-size: 0.68rem;
}
table {
font-size: 0.85rem;
}
}
@ -265,7 +280,7 @@ td:first-child {
width: 1200px;
}
pre, div.math {
font-size: 0.9375rem;
font-size: 0.75rem;
}
table {
font-size: 1rem;