Push more stylesheet updates from the future blog post

This commit is contained in:
RichardG867
2021-12-03 16:23:56 -03:00
parent 6fb0737b7e
commit 9cf1d8efdb

View File

@@ -148,13 +148,35 @@ hr {
border-color: #808080;
width: 100%;
}
div.scroll {
max-height: 500px;
padding-right: 1px; /* make border less ugly on Chrome on Windows */
overflow-y: scroll;
}
@media (max-width: 768px) {
div.scroll {
max-width: 100vh-60pt;
overflow-x: scroll;
}
}
table {
border: 1px solid #808080;
}
td {
tr:nth-child(odd) {
background: #1c293a;
}
th, td {
border: 1px solid #808080;
padding: 5px;
}
div.scroll > table > thead > tr > th {
position: sticky;
top: 0;
background: #1c293a;
}
div.td2nowrap > table > tbody > tr > td:nth-child(2) {
white-space: nowrap;
}
code {
font-size: 11pt;
background: #404040;