Styling updates

This commit is contained in:
RunasSudo 2020-07-23 22:33:36 +10:00
parent 646eaf2b31
commit af00a10cfb
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
1 changed files with 17 additions and 4 deletions

View File

@ -143,6 +143,10 @@ h4, h5, h6 {
font-weight: normal;
}
section > div.two-columns > aside > h3:first-child {
margin-top: 0.15cm; /* Adjust for 0.25cm of heading above */
}
p {
margin-top: 0;
margin-bottom: 0.25cm;
@ -177,9 +181,13 @@ table {
margin-bottom: 0.25cm;
width: 100%;
}
table td, table th {
table tr:not(.na) td, table tr:not(.na) th {
border-top: 0.5pt solid black;
}
table tr:not(.nb) td, table tr:not(.nb) th {
border-bottom: 0.5pt solid black;
}
table td, table th {
padding: 0.5mm 1mm;
}
table th {
@ -227,7 +235,7 @@ div.two-columns {
display: flex;
}
div.two-columns > aside {
flex-grow: 1;
width: 50%;
}
div.two-columns > aside:not(:last-of-type) {
margin-right: 1em;
@ -302,13 +310,18 @@ div.admonition.pharm span.alt-drugs {
border: 1px solid #d3d7cfff;
border-radius: 8px;
padding: 8px;
color: black;
z-index: 99;
width: 60vw;
color: black;
font-weight: initial;
}
.tooltip:hover .tooltip-content {
.tooltip:hover > .tooltip-content {
display: block;
}
.tooltip-content > section > p:last-child {
margin-bottom: 0;
}
/* Steps */