X-Git-Url: http://git.plutz.net/?p=invoices;a=blobdiff_plain;f=cgilite%2Fcommon.css;fp=cgilite%2Fcommon.css;h=65c28f3ad459283c2fd026e072fdb6b430b8fc44;hp=359f07d138b7ef91f1441a2738dd1352bbefecb6;hb=9a43c9bdca4ce77d32af2ca776cd5eaa836a9e89;hpb=6588e1f6091cb39c38f5b0def91250b00b7e860d diff --git a/cgilite/common.css b/cgilite/common.css index 359f07d..65c28f3 100644 --- a/cgilite/common.css +++ b/cgilite/common.css @@ -16,7 +16,14 @@ 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; @@ -44,6 +51,10 @@ ul, ol { margin-left: 1.125em; } dl dt { font-weight: bolder; } table th { font-weight: bold; } +li p + ul, li p + ol { + margin-top: -.25em; +} + hr { border-bottom: 1pt solid; } h1, h2, h3 { @@ -90,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; }