commit 3f9fa28e8cf662fe2272f875751ecd1dad3a5a8d parent 0ebc01f8989d5ab6588df1224941d3d4ce776f1a Author: Shimmy Xu <shimmy.xu@shimmy1996.com> Date: Tue, 7 Jan 2020 19:28:46 -0600 Remove unused CSS Diffstat:
D | layouts/partials/css/color.css | | | 17 | ----------------- |
D | layouts/partials/css/isso.css | | | 89 | ------------------------------------------------------------------------------- |
D | layouts/partials/css/theme.css | | | 14 | -------------- |
3 files changed, 0 insertions(+), 120 deletions(-) diff --git a/layouts/partials/css/color.css b/layouts/partials/css/color.css @@ -1,17 +0,0 @@ -body { - background: var(--background-color); - color: var(--text-color); -} -a { - color: var(--accent-color); -} -thead, tfoot, tr:nth-child(even), pre, code, kbd { - background: var(--alt-background-color); -} -a:focus, a:hover { - background: var(--accent-color); - color: var(--background-color); -} -article article { - border-color: var(--alt-background-color); -} diff --git a/layouts/partials/css/isso.css b/layouts/partials/css/isso.css @@ -1,89 +0,0 @@ -#isso-thread { - border-top: 1px solid; -} -#isso-thread > .isso-feedlink { - float: right; - padding-left: 1em; -} -#isso-thread .textarea { - background-color: var(--alt-background-color); - min-height: 58px; -} -#isso-root .isso-comment { - padding-top: 0.95em; - margin: 0.95em auto; -} -#isso-root .preview .isso-comment { - padding-top: 0; - margin: 0; -} -#isso-root .isso-comment:not(:first-of-type), -.isso-follow-up .isso-comment { - border-top: 1px solid; -} -.isso-comment > div.avatar { - display: block; - float: left; - width: 3em; - margin: 3px 15px 0 0; -} -.isso-comment > div.avatar > svg { - max-width: 48px; - max-height: 48px; -} -.isso-comment > div.text-wrapper { - display: block; -} -.isso-comment .isso-follow-up { - padding-left: calc(7% + 20px); -} -.isso-comment > div.text-wrapper > .isso-comment-header, .isso-comment > div.text-wrapper > .isso-comment-footer { - font-size: 0.95em; -} -.isso-comment > div.text-wrapper > .isso-comment-header .spacer { - padding: 0 6px; -} -.isso-comment > div.text-wrapper > .isso-comment-header .note { - float: right; -} -.isso-comment > div.text-wrapper > .textarea-wrapper .textarea, -.isso-comment > div.text-wrapper > .textarea-wrapper .preview { - margin-top: 0.2em; -} -.isso-comment > div.text-wrapper > div.text p { - margin-top: 0.2em; -} -.isso-comment > div.text-wrapper > div.text p:last-child { - margin-bottom: 0.2em; -} -.isso-feedlink, -.isso-comment > div.text-wrapper > .isso-comment-footer a { - text-decoration: none; -} -.isso-comment > div.text-wrapper > .isso-comment-footer > a { - position: relative; - top: .2em; -} -.isso-comment > div.text-wrapper > .isso-comment-footer > a + a { - margin-left: 1em; -} -.isso-comment .isso-postbox { - margin-top: 0.8em; -} -.isso-comment.isso-no-votes span.votes { - display: none; -} -.isso-postbox > .form-wrapper .textarea, -.isso-postbox > .form-wrapper .preview { - padding: 5px; -} -.isso-postbox > .form-wrapper > .auth-section .input-wrapper input { - color: var(--text-color); - background-color: var(--alt-background-color); - padding: 5px; - border: 0; - border-radius: 0; -} -::placeholder { - color: var(--text-color); -} diff --git a/layouts/partials/css/theme.css b/layouts/partials/css/theme.css @@ -1,14 +0,0 @@ -:root { - --background-color: #dcc; - --alt-background-color: #baa; - --accent-color: #455; - --text-color: #233; -} -@media (prefers-color-scheme: dark) { - :root { - --background-color: #233; - --alt-background-color: #455; - --accent-color: #baa; - --text-color: #dcc; - } -}