diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-21 15:17:06 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-21 15:17:06 -0500 |
commit | aed8f925512ecc64ce84991bb46944fa41afb349 (patch) | |
tree | 9882661847fba6cfd851e75e7d14c9e10a477304 | |
parent | 0b05009ec37a798dd3b2e48c1240064669ba8b25 (diff) |
tidy css
-rw-r--r-- | style.scss | 47 |
1 files changed, 29 insertions, 18 deletions
@@ -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 { |