From baf818db0266be12f8dc9c7fd4eedcd0e79f2066 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 22 Jan 2022 19:03:44 +0400 Subject: [PATCH] There was an update link on radio page, that wasn't working due to CSP, lel. Made it into a button. And last played table made to grid. --- radio/static/assets/css/main.css | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/radio/static/assets/css/main.css b/radio/static/assets/css/main.css index 8df7031..31ca002 100644 --- a/radio/static/assets/css/main.css +++ b/radio/static/assets/css/main.css @@ -26,16 +26,25 @@ background-color: var(--secondary-color); color: var(--background-color); } -a { +a, +button { color: var(--primary-color); text-decoration: none; } -a:hover { +a:hover, +button:hover { color: var(--secondary-color); + cursor: pointer; text-decoration: underline; text-decoration-style: dotted; transition: .5s; } +button { + background: none; + border: none; + font: inherit; + padding: 0; } + p { text-align: justify; line-height: var(--text-indent); @@ -119,9 +128,9 @@ section { margin-top: 1rem; } #last-played { margin: 0 auto; } -#last-played tr td:first-child { - padding-right: .69rem; - text-align: right; } +#last-played tbody tr { + display: grid; + grid-template-columns: 3rem 1fr 1fr; } footer { font-size: .8rem;