X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/fcc5b13a58e980e00772e664d12f24690328069d..refs/heads/experimental-pre:/static/style.css diff --git a/static/style.css b/static/style.css index 1036bbd..af65a18 100644 --- a/static/style.css +++ b/static/style.css @@ -101,9 +101,20 @@ article h3 { bottom: 0.05em; } -.center-text { +.center { text-align: center; } +.justify { + text-align: justify; +} + +details { + margin: 1em 0; + padding: 0.5em; +} +details summary { + cursor: pointer; +} sup, sub { position: relative; @@ -143,10 +154,6 @@ blockquote#abstract { text-align: justify; } -pre, code { - background: #f6f6f6; - font: 1.15em monospace; -} pre { display: inline-block; margin: 0.5em 0; @@ -164,11 +171,20 @@ code { text-transform: none; padding: .2em .3em; } -strong { - font-weight: bold; + +/* box effect */ +.box, details, pre, code { + background-color: #f8f8f8; + border: 1px solid #e6e6e6; + border-radius: 4px; + box-sizing: border-box; } -em { - font-style: italic; +details pre { + border: none; +} +p.box { + font-size: 0.95em; + padding: 0.3em 0.6em; } table td { @@ -209,9 +225,6 @@ small, dd, .small, .bibtexnumber, .bibtexitem, .bibtex2html { .inbox, .bibtex2html { margin-top: 2em; } -.justify { - text-align: justify; -} li, dd { margin-bottom: 0.25em; @@ -233,3 +246,7 @@ li, dd { .warn { color: #a10029; } + +#bandali-bib > a { + display: block +}