X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=common.css;h=61d8caa8f421f3b05883be3784b11969280b818a;hb=8928c6e74419a271da300bbede52ae2b88d02196;hp=c5cf6c443c355a7ef2a2219278173968e0aa6d61;hpb=6bdb2dbf2cc57ab1938def5b678cbfe669f2d3b2;p=cgilite diff --git a/common.css b/common.css index c5cf6c4..61d8caa 100644 --- a/common.css +++ b/common.css @@ -16,9 +16,15 @@ body { color: #000; background: #FFF; } -ul, ol, dl, table, p { margin-bottom: .5em; } +ul, ol, dl, table, pre, p { margin-bottom: .5em; } p:only-child { margin-bottom: 0; } +table { + max-width: 100%; + overflow-x: auto; +} +th, td { padding: .25em .75em; } + a { font-style: italic; text-decoration: underline; @@ -41,8 +47,19 @@ b, strong { font-weight: bolder; } tt, code, var, samp, kbd { font-family: monospace; } kbd { font-style: italic; } -ul, ol { margin-left: 1.125em; } +blockquote { + background-color: #EEE; + margin: .5em 0; + padding: 1em 2em; + white-space: pre-line; +} + +ul, ol { padding-left: 1.5em; } dl dt { font-weight: bolder; } +dl dd { + margin: 0 2em; + background-color: #EEE; +} table th { font-weight: bold; } li p + ul, li p + ol { @@ -162,4 +179,8 @@ input[type=radio].tab ~ *.tab { box-shadow: .125em .125em .125em #888; } +/* Markdown line-block */ +.line-block { white-space: pre-wrap; } +.line-block br { display: none; } + /* ======= End Common Styles ======= */