summaryrefslogtreecommitdiff
path: root/public/style.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-11-20 19:47:08 +0100
committerTor Andersson <tor@ccxvii.net>2021-11-21 12:48:15 +0100
commita1fe768c6d40c7c885db1c9843c61527cbe583e3 (patch)
treec397e7d6796049607d6348c538621d1e8809a847 /public/style.css
parentd1318d147297161691f5048e1f2cb4e516159144 (diff)
downloadserver-a1fe768c6d40c7c885db1c9843c61527cbe583e3.tar.gz
Rewrite view templates to use Pug engine.
Diffstat (limited to 'public/style.css')
-rw-r--r--public/style.css31
1 files changed, 25 insertions, 6 deletions
diff --git a/public/style.css b/public/style.css
index 1b9481c..e3c4ae6 100644
--- a/public/style.css
+++ b/public/style.css
@@ -26,6 +26,7 @@ header img {
margin: 4px 0 -2px 2px;
}
header nav a { margin: 0 1em; color: black; }
+header nav a:hover { color: blue; }
article { margin: 2em; }
article p, article dl, article ul { max-width: 50rem; }
@@ -43,18 +44,36 @@ img.logo {
height: 200px;
}
-table { min-width: min(50rem,100%); }
-table { border-collapse: collapse; }
-th { text-align: left; background-color: gainsboro; }
-th, td { border: 1px solid black; padding: 3px 1ex; }
-th a:not(:hover), td:not(.command) a:not(:hover) { text-decoration: none; }
-td.body { white-space: pre-wrap; padding: 10px 10px; }
+table {
+ min-width: min(50rem,100%);
+ border-collapse: collapse;
+}
+th, td {
+ border: 1px solid black;
+ padding: 3px 1ex;
+}
+th {
+ text-align: left;
+ background-color: gainsboro;
+}
+td.body {
+ white-space: pre-wrap;
+ padding: 10px 10px;
+}
+table a:not(:hover) { text-decoration: none; color: black; }
+table td.command a { text-decoration: underline; color: blue; }
+input[type="checkbox"] {
+ margin-right: 7px;
+}
input[type="text"], input[type="password"], textarea {
padding: 5px;
margin: 5px 0;
border: 1px solid black;
}
+input:focus {
+ outline: 2px solid lightsteelblue;
+}
button, select {
margin: 5px 10px 5px 0;
padding: 1px 10px;