X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=common.css;h=6f4c484f6457db0f5b9892a0d2ae1763af1eacaa;hb=31cfd890119d30e03201d29c307203ccd304e1c0;hp=65c28f3ad459283c2fd026e072fdb6b430b8fc44;hpb=e02243e96d7cc400b63c3e856d0e80d4140c6805;p=cgilite diff --git a/common.css b/common.css index 65c28f3..6f4c484 100644 --- a/common.css +++ b/common.css @@ -47,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 { @@ -68,7 +79,10 @@ h4, h5, h6, form legend { margin-bottom: .25em; } -h1 { font-size: 1.5em; } +h1 { + text-align: center; + font-size: 1.5em; +} h2 { font-size: 1.125em; } select, input, button, textarea, a.button { @@ -109,6 +123,7 @@ input.search + button.search { border-left: none; border-radius: 0 2pt 2pt 0; white-space: nowrap; + overflow: hidden; } input.search + button.search:before { content: '\1f50d'; @@ -119,8 +134,6 @@ input.search + button.search:before { @media print { @page { margin: 20mm; } - h1 { text-align: center; } - h1, h2, h3, h4, h5, h6, form legend { page-break-inside: avoid; page-break-after: avoid; @@ -168,4 +181,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 ======= */