reformatted index.css for consistent indentation and structure, improving readability and maintainability of styles

Signed-off-by: Matthias Puchstein <matthias@puchstein.bayern>
This commit is contained in:
2025-07-09 23:52:23 +02:00
parent 98f587ccbc
commit 9bb8196ed0

View File

@@ -87,6 +87,7 @@ a {
color: var(--accent); color: var(--accent);
text-decoration: inherit; text-decoration: inherit;
} }
a:hover { a:hover {
color: var(--text-muted); color: var(--text-muted);
} }
@@ -120,9 +121,11 @@ button {
cursor: pointer; cursor: pointer;
transition: border-color 0.25s, background-color 0.3s, color 0.3s; transition: border-color 0.25s, background-color 0.3s, color 0.3s;
} }
button:hover { button:hover {
border-color: var(--accent); border-color: var(--accent);
} }
button:focus, button:focus,
button:focus-visible { button:focus-visible {
outline: 4px auto -webkit-focus-ring-color; outline: 4px auto -webkit-focus-ring-color;
@@ -239,7 +242,6 @@ button:focus-visible {
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
text-shadow: 0 1px 2px var(--text-shadow);
text-rendering: geometricPrecision; text-rendering: geometricPrecision;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
@@ -318,9 +320,11 @@ button:focus-visible {
h1 { h1 {
font-size: 2.5em; font-size: 2.5em;
} }
h2 { h2 {
font-size: 1.8em; font-size: 1.8em;
} }
p { p {
font-size: 0.95em; font-size: 0.95em;
} }