diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-10-09 16:34:02 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-10-09 16:34:02 +0700 |
commit | aff31d97b2def72252b13d0049ed7ffb4a23dce8 (patch) | |
tree | e5e6728727677fb9b1c19eb345901509f2fcfd1d /static | |
parent | 4fc854fb90dae9788dcef5f235256fc3efc8dd36 (diff) | |
download | blog-aff31d97b2def72252b13d0049ed7ffb4a23dce8.tar.gz |
Remove custom CSS in favor of theme CSS
Diffstat (limited to 'static')
-rw-r--r-- | static/css/custom.css | 146 |
1 files changed, 0 insertions, 146 deletions
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; -} |