Sans serif w/ autoindex monospace

This commit is contained in:
Adam Hopkins 2023-01-31 11:09:24 +02:00
parent 5dfd48f855
commit 2df5b19fd4
No known key found for this signature in database
GPG Key ID: 9F85EE6C807303FB
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class AutoIndex(BasePage): # no cov
#breadcrumbs .path-0 a::before {{ content: "🏠"; }}
#breadcrumbs > span > a {{ color: {BasePage.ACCENT}; }}
main a {{ color: inherit; font-weight: bold; }}
table.autoindex {{ width: 100%; }}
table.autoindex {{ width: 100%; font-family: monospace; }}
table.autoindex tr {{ display: flex; }}
table.autoindex tr:hover {{ background-color: #ddd; }}
table.autoindex td {{ margin: 0 0.5rem; }}

View File

@ -11,7 +11,7 @@ class BasePage(ABC): # no cov
ACCENT = "#ff0d68"
BASE_STYLE = dedent(
"""
html { font: 16px monospace; background: #eee; color: #111; }
html { font: 16px sans-serif; background: #eee; color: #111; }
body { margin: 0; font-size: 1.25rem; }
body > * { padding: 1rem 2vw; }
@media (max-width: 1200px) {