From 589df8813ea7732501fb551296d8fd45c4186217 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Thu, 22 Jun 2023 11:10:59 +0530 Subject: Improve CLI arguments, add basic tag support, add CSS --- static/styles/main.css | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 static/styles/main.css (limited to 'static/styles') diff --git a/static/styles/main.css b/static/styles/main.css new file mode 100644 index 0000000..deea098 --- /dev/null +++ b/static/styles/main.css @@ -0,0 +1,48 @@ +@font-face { + font-family: "Open Sans"; + src: url("/static/fonts/OpenSans/OpenSans-VariableFont_wdth,wght.ttf") format("truetype-variations"); + font-weight: 100 1000; +} + +@font-face { + font-family: "Open Sans"; + src: url("/static/fonts/OpenSans/OpenSans-Italic-VariableFont_wdth,wght.ttf") format("truetype-variations"); + font-style: italic; + font-weight: 100 1000; +} + +:root { + font-family: "Open Sans", sans-serif; +} + +table { + width: 100%; + border-collapse: collapse; + border: 1px solid black; +} + +th, td { + border: 1px solid black; +} + +.hover-help { + cursor: help; + user-select: none; + padding-left: 0.2em; +} + +@media (pointer: coarse), (hover: none) { + div.side-by-side-help-container { + display: table-row; + } + + div.side-by-side-help-container > * { + display: table-cell; + } + + div.side-by-side-help-container > .hover-help:focus::after { + content: attr(title); + font-size: small; + padding-left: 0.2em; + } +} -- cgit v1.2.3-57-g22cb