Style tweaks
This commit is contained in:
parent
a00ec8ab37
commit
32d62c2db4
|
@ -17,9 +17,8 @@ class AutoIndex(BasePage):
|
|||
EXTRA_STYLE = dedent(
|
||||
"""
|
||||
#breadcrumbs .path-0 a::before { content: "🏠"; }
|
||||
a { text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
#breadcrumbs span:has(> a:hover) * { color: #ff0d68; text-shadow: 0 0 0.3rem; }
|
||||
#breadcrumbs span:has(> a:hover, > a:focus) * { color: #ff0d68; text-shadow: 0 0 1rem; }
|
||||
main a { color: inherit; font-weight: bold; }
|
||||
table.autoindex tr { display: flex; }
|
||||
table.autoindex td { margin: 0 0.5rem; }
|
||||
table.autoindex td:first-child { flex: 1; }
|
||||
|
|
|
@ -16,14 +16,14 @@ class BasePage(ABC):
|
|||
display: flex; align-items: center; justify-content: space-between;
|
||||
background: #555; color: #e1e1e1;
|
||||
}
|
||||
a:visited { color: inherit; }
|
||||
a { text-decoration: none; color: #88f; }
|
||||
a:hover, a:focus { text-decoration: underline; outline: none; }
|
||||
#logo { height: 2.5rem; }
|
||||
table { width: 100%; max-width: 1200px; }
|
||||
td { font-family: monospace; }
|
||||
span.icon { margin-right: 1rem; }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html { background: #111; color: #ccc; }
|
||||
a { color: #ccc; }
|
||||
a:visited { color: #777; }
|
||||
}
|
||||
"""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user