]> git.plutz.net Git - cgilite/blobdiff - common.css
css: avoid search button overflow, always center h1
[cgilite] / common.css
index a4f6906e912aa4e0c54ffdea6051c8324e5cd637..6f4c484f6457db0f5b9892a0d2ae1763af1eacaa 100644 (file)
@@ -54,8 +54,12 @@ blockquote {
   white-space: pre-line;
 }
 
-ul, ol { padding-left: 1.125em; }
+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 {
@@ -75,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 {
@@ -116,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';
@@ -126,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;