From aff31d97b2def72252b13d0049ed7ffb4a23dce8 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Sat, 9 Oct 2021 16:34:02 +0700 Subject: Remove custom CSS in favor of theme CSS --- static/css/custom.css | 146 -------------------------------------------------- 1 file changed, 146 deletions(-) delete mode 100644 static/css/custom.css diff --git a/static/css/custom.css b/static/css/custom.css deleted file mode 100644 index 55eb5e8..0000000 --- a/static/css/custom.css +++ /dev/null @@ -1,146 +0,0 @@ -body { - font-family: serif; -} - -.webring { - margin-top: 2rem; -} - -.webring h2 { - font-size: 1.2rem; -} - -.webring .articles { - width: 100%; - display: flex; -} - -.webring .title { - margin: 0; -} - -.webring .article { - flex: 1 1 0; - display: flex; - flex-direction: column; - padding: 0.5rem; - border: 1px solid #333; - margin: 0 0.5rem; -} - -@media(max-width: 640px) { - .webring .articles { - flex-direction: column; - } - .webring .article { - margin: 0.5rem 0; - } -} - -.webring .article:first-child { - margin-left: 0; -} - -.webring .article:last-child { - margin-right: 0; -} - -.webring .summary { - font-size: 0.8rem; - flex: 1 1 0; -} - -.webring .attribution { - float: right; - font-size: 0.8rem; - color: #555; - line-height: 3; -} - -dl dt { - font-weight: bold; -} -dl dd { - text-indent: 1em; -} - -h1::before { - content: '# '; - color: gray; -} - -h2::before { - content: '## '; - color: gray; -} - -h3::before { - content: '### '; - color: gray; -} - -h4::before { - content: '#### ' - color: gray; -} - -h5::before { - content: '##### ' - color: gray; -} - -h6::before { - content: '###### ' - color: gray; -} - -/* Book data format */ - -dl.data { - border: 3px double #ccc; - padding: 0.5em; -} -dl.data dt { - float: left; - clear: left; - max-width: 40%; - text-align: right; - font-weight: bold; -} -dl.data dd { - margin: 0 0 0 110px; - padding: 0 0 0.5em 0; -} - -/* Override weird styling */ -a:hover { - border-bottom: none; - text-decoration: underline; -} - -.red-text { - color: red; -} - -details { - margin-top: 1em; - margin-bottom: 1em; - border: 1px solid #aaa; - border-radius: 4px; - padding: .5em .5em 0; -} - -summary { - font-weight: bold; - margin: -.5em -.5em 0; - padding: .5em; -} - -details[open] { - padding: .5em; -} - -details[open] summary { - border-bottom: 1px solid #aaa; - margin-bottom: .5em; -} -- cgit 1.4.1