From bf2e484bdee32a18dc9c23c004ce83fe81406076 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 22 Jan 2022 23:25:51 +0400 Subject: [PATCH] Combined text-decoration into one line. Added gap, set min-width of last-played table, and right text-align of second column. --- radio/static/assets/css/main.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/radio/static/assets/css/main.css b/radio/static/assets/css/main.css index 31ca002..531b52f 100644 --- a/radio/static/assets/css/main.css +++ b/radio/static/assets/css/main.css @@ -35,8 +35,7 @@ a:hover, button:hover { color: var(--secondary-color); cursor: pointer; - text-decoration: underline; - text-decoration-style: dotted; + text-decoration: underline dotted; transition: .5s; } button { @@ -126,12 +125,15 @@ nav h1 { section { margin-top: 1rem; } -#last-played { margin: 0 auto; } +#last-played { margin: 0 auto; min-width: 100%; } #last-played tbody tr { display: grid; + gap: .5rem; grid-template-columns: 3rem 1fr 1fr; } +#last-played tbody tr td:nth-child(2) { text-align: right; } + footer { font-size: .8rem; text-align: center;