summaryrefslogtreecommitdiff
path: root/style.scss
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-21 15:03:07 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-21 15:03:07 -0500
commit0b05009ec37a798dd3b2e48c1240064669ba8b25 (patch)
treec0d4e452944b607d18d6872eb12937efc1641e4d /style.scss
parent41843133f95e7ca7ec45c40b88c06e35fd7d901e (diff)
unify html
Diffstat (limited to 'style.scss')
-rw-r--r--style.scss57
1 files changed, 57 insertions, 0 deletions
diff --git a/style.scss b/style.scss
new file mode 100644
index 0000000..88777df
--- /dev/null
+++ b/style.scss
@@ -0,0 +1,57 @@
+/* page layout */
+html {
+ height: 100%;
+}
+body {
+ font-size: 10px;
+ font-family: monospace;
+ height: 100%;
+ margin: 0;
+
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+body > * {
+ margin: auto;
+}
+/* diff styling */
+table.diff td, th { white-space: nowrap; }
+.diff-del, .diff-del a { color: red; }
+.diff-add, .diff-add a { color: green; }
+.diff-dat, .diff-dat a { color: blue; }
+.diff-ctx, .diff-ctx a { color: black; }
+/* sortable styling */
+table.sortable {
+ border-collapse: collapse;
+ caption p {
+ margin: 0;
+ }
+ td, th {
+ padding: 0;
+ border: solid 1px black;
+ white-space: nowrap;
+ }
+ td {
+ background-color: #F3F3F3;
+ }
+}
+/* generic table interaction */
+tr.invalid td {
+ background-color: #F30000 !important;
+}
+tr:hover a, tr.invalid:hover a {
+ background-color: #AAAAF3 !important;
+}
+td a {
+ text-decoration: none;
+ padding: 0.1em 0.25em;
+ display: block;
+ width: 100%;
+ height: 100%;
+ color: black;
+}
+/* generic time formatting */
+time .time {
+ display: none
+}