X-Git-Url: https://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=common.css;h=f9b17ad8dc34dd3730429452ef05cc5bccfd883d;hp=61d8caa8f421f3b05883be3784b11969280b818a;hb=HEAD;hpb=0d64190b6d906c7510c6e5825b26fd7f525d151a diff --git a/common.css b/common.css index 61d8caa..16e99f2 100644 --- a/common.css +++ b/common.css @@ -29,8 +29,9 @@ a { font-style: italic; text-decoration: underline; color: #068; + word-break: break-word; } -a.button { +a.button, label.button { font-style: inherit; text-decoration: inherit; color: inherit; @@ -79,10 +80,13 @@ 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 { +select, input, button, textarea, a.button, label.button { display: inline-block; color: #000; background-color: #FFF; border: .5pt solid; @@ -99,7 +103,7 @@ input[type=radio], input[type=checkbox] { } input[type=number] { text-align: right; padding-right: 0; } -button, input[type=button], a.button { +button, input[type=button], a.button, label.button { box-shadow: .125em .125em .25em; cursor: pointer; } @@ -112,6 +116,7 @@ input + label { margin-left: .375em; } +input[type="search"] + button.search, input.search + button.search { width: 2.5em; color: transparent; @@ -120,7 +125,9 @@ input.search + button.search { border-left: none; border-radius: 0 2pt 2pt 0; white-space: nowrap; + overflow: hidden; } +input[type="search"] + button.search:before, input.search + button.search:before { content: '\1f50d'; color: #000; @@ -130,8 +137,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;