style: reformat CSS
1 file changed, 15 insertions(+), 0 deletions(-)
changed files
M frontend/static/style.css → frontend/static/style.css
@@ -25,9 +25,11 @@ display: flex; justify-content: center; padding: unset; } + body > header > :only-child { margin-block-start: unset; } + header > nav { width: min(var(--min-width), 90%); display: flex;@@ -35,17 +37,20 @@ align-items: baseline; padding: 0.5rem 0; overflow-x: auto; } + header > nav a { margin-bottom: unset; font-size: 1.15rem; text-wrap: nowrap; } + nav > h1 > a { margin-left: unset; padding-left: unset; border: 1px transparent; text-decoration: none; } + body > header h1 { margin: unset; font-size: 1.15rem;@@ -121,6 +126,7 @@ #pagination { display: flex; justify-content: space-between; align-items: baseline; + a[rel="next"] { margin-left: auto; }@@ -236,39 +242,48 @@ header > nav { display: unset; padding: 1ch 0; } + td, th { padding: 0.2rem; } + .description, .score { display: none; } + dialog { width: 100%; padding: 1rem 1ch; } + dialog > button { float: none; display: block; margin-left: auto; } + dl { grid-template-columns: 1fr; } + dd { margin-inline-start: 0; } + pre { white-space: pre-wrap; word-break: break-word; padding: 1ch; } } + @media only screen and (max-width: 768px) { body { grid-template-columns: 1ch 1fr 1ch; } + header > nav { width: auto; padding: 1ch;