From a45bcb74dde80ee576bfcbc2f3efb719e8f6b2d9 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Thu, 3 Aug 2023 17:38:50 -0400 Subject: Allow setting custom title on /add_feed, improve form layout --- static/styles/main.css | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'static/styles') diff --git a/static/styles/main.css b/static/styles/main.css index c7fdf59..f6c6a27 100644 --- a/static/styles/main.css +++ b/static/styles/main.css @@ -21,10 +21,11 @@ body { } a:visited { - color:violet; + color: violet; } -a:link, a.no-visited-indication { +a:link, +a.no-visited-indication { color: lightskyblue; } @@ -34,7 +35,8 @@ table { border: 1px solid white; } -th, td { +th, +td { border: 1px solid white; } @@ -49,18 +51,36 @@ span.tag { padding-left: 0.2em; } -@media (pointer: coarse), (hover: none) { +@media (pointer: coarse), +(hover: none) { div.side-by-side-help-container { display: table-row; } - div.side-by-side-help-container > * { + div.side-by-side-help-container>* { display: table-cell; } - div.side-by-side-help-container > .hover-help:focus::after { + div.side-by-side-help-container>.hover-help:focus::after { content: attr(title); font-size: small; padding-left: 0.2em; } } + +form { + display: table; +} + +form>div { + display: table-row; +} + +form>div>label { + padding-right: 1em; +} + +form>div>label, +form>div>input { + display: table-cell; +} \ No newline at end of file -- cgit v1.2.3-57-g22cb