X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/842b89b2d2d87b57442b14b4fd63477fd234137a..573bd43bf84ddbd09ffc252df00363a2a6640fca:/static/style.css diff --git a/static/style.css b/static/style.css index fdcea52..8527bc6 100644 --- a/static/style.css +++ b/static/style.css @@ -101,19 +101,59 @@ 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; + top: -0.4em; + vertical-align: baseline; +} +sub { + top: 0.4em; +} + +/* TeX logos */ +.t-logo { + font-family: "Tex Gyre Termes", serif; + /* letter-spacing: 1px; */ + white-space: nowrap; +} +.t-logo sup { + font-size: 0.85em; + letter-spacing: 1px; + margin-left: -0.36em; + margin-right: -0.15em; + text-transform: uppercase; + vertical-align: 0.15em; + top: 0; +} +.t-logo sub { + font-size: 1em; + margin-left: -0.1667em; + margin-right: -0.125em; + text-transform: uppercase; + vertical-align: -0.5ex; + top: 0; +} blockquote#abstract { font-size: 0.95em; text-align: justify; } -pre, code { - background: #f6f6f6; - font: 1.15em monospace; -} pre { display: inline-block; margin: 0.5em 0; @@ -131,11 +171,16 @@ code { text-transform: none; padding: .2em .3em; } -strong { - font-weight: bold; -} -em { - font-style: italic; + +/* box effect */ +details, pre, code { + background-color: #f8f8f8; + border: 1px solid #e6e6e6; + border-radius: 4px; + box-sizing: border-box; +} +details pre { + border: none; } table td {