summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--style.scss47
1 files changed, 29 insertions, 18 deletions
diff --git a/style.scss b/style.scss
index 88777df..fad9c85 100644
--- a/style.scss
+++ b/style.scss
@@ -15,12 +15,21 @@ body {
body > * {
margin: auto;
}
+* {
+ box-sizing: border-box;
+}
/* 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; }
+table.diff {
+ border-collapse: collapse;
+ td, th {
+ padding: 0;
+ 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;
@@ -37,19 +46,21 @@ table.sortable {
}
}
/* 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;
+table {
+ tr.invalid td {
+ background-color: #F30000 !important;
+ }
+ tr:hover a, tr.invalid:hover a {
+ background-color: #AAAAF3;
+ }
+ td a {
+ text-decoration: none;
+ padding: 0.1em 0.25em;
+ display: block;
+ width: 100%;
+ height: 100%;
+ color: black;
+ }
}
/* generic time formatting */
time .time {