]> git.plutz.net Git - cgilite/blobdiff - common.css
bugfix: do not accidentally strip white spaces from code spans
[cgilite] / common.css
index c5cf6c443c355a7ef2a2219278173968e0aa6d61..be1567b70a26fdb821c3e95e7f04ee6cb53f0387 100644 (file)
@@ -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; }