diff --git a/wikinote/static/css/main.css b/wikinote/static/css/main.css index 3e70b01..a5f5429 100644 --- a/wikinote/static/css/main.css +++ b/wikinote/static/css/main.css @@ -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 */