X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=common.css;h=be1567b70a26fdb821c3e95e7f04ee6cb53f0387;hb=33570b0d2e2697cc7196a7a0ddc34cc2b4edd71b;hp=a79230a05de2572adcc04eeb236ebfbe60cb19f3;hpb=b406efc624ccf0a1984d237172bc6d7c7af21b1b;p=cgilite diff --git a/common.css b/common.css index a79230a..be1567b 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,7 +47,7 @@ b, strong { font-weight: bolder; } tt, code, var, samp, kbd { font-family: monospace; } kbd { font-style: italic; } -ul, ol { margin-left: 1.125em; } +ul, ol { padding-left: 1.125em; } dl dt { font-weight: bolder; } table th { font-weight: bold; } @@ -95,6 +101,21 @@ input + label { margin-left: .375em; } +input.search + button.search { + width: 2.5em; + color: transparent; + background-color: #CCC; + margin-left: -2pt; + border-left: none; + border-radius: 0 2pt 2pt 0; + white-space: nowrap; +} +input.search + button.search:before { + content: '\1f50d'; + color: #000; + font-weight: bold; +} + @media print { @page { margin: 20mm; }