Add wiki tables
[geekigeeki.git] / geekigeeki.css
index e1eb871731074323460ac7929a1f30818b6b7f5d..49062cd551509042016bf19db8c52b30b8b0066e 100755 (executable)
@@ -120,11 +120,17 @@ h5 {
        padding-left: 5px;
 }
 
+strong.hilight {
+       padding-left: 0.1em;
+       background-color: #ee2222;
+}
+
 div {
        margin-left: 10px;
        margin-right: 10px;
        text-align: justify;
 }
+
 div.wiki {
        margin-left: 0;
        margin-right: 0;
@@ -215,17 +221,42 @@ p {
        text-align: justify;
 }
        
-caption {
-       background-color: #4682B4;
-       color: #FFFFFF;
+table {
+       /*width: 100%;*/
+       border: 2px solid #ccc;
+       border-collapse: collapse;
+       margin-left: 1em;
+       margin-right: 1em;
+       margin-top: 0.5em;
+       margin-bottom: 0.5em;
+}
+
+table thead {
+       background: #f7f7f0
+}
+
+table thead th {
+       border: 1px solid #d7d7d7;
+       border-bottom-color: #999;
        font-weight: bold;
-       border: #000000;
-       border-top-width: 1px;
-       border-right-width: 1px;
-       border-bottom-width: 0px;
-       border-left-width: 1px;
-       border-style: solid;
-}      
+       padding: 2px .5em;
+       vertical-align: bottom;
+}
+
+table tbody td {
+       border: 1px dotted #ddd;
+       padding: .3em .5em;
+       vertical-align: top;
+}
+
+table tbody tr { border-top: 1px solid #ddd }
+table tbody tr.even { background-color: #f0f0f0 }
+table tbody tr.odd { background-color: #e7e7e7 }
+table tbody tr:hover { background: #eed !important }
+
+table thead th :link:hover, table thead th :visited:hover table tbody td a:hover, table tbody th a:hover {
+       background-color: transparent;
+}
 
 pre {
        color: #222222;