Add more WikiCreole syntaxes for text styles
[geekigeeki.git] / geekigeeki.css
index cded557a63db165c77e1689507b006af76651b21..d311c49d42598c7c023fe051b5941844359a94e8 100755 (executable)
@@ -28,8 +28,8 @@ h1 {
        border: #5599EE;
        background-color: #C2E2FF;
 
-       margin-bottom: 5px;
-       margin-top: 5px;
+       margin-bottom: 0.2em;
+       margin-top: 2em;
        padding-right: 10px;
        padding-left: 10px;
 
@@ -49,8 +49,8 @@ h2 {
 
        margin-left: 5px;
        margin-right: 5px;
-       margin-bottom: 5px;
-       margin-top: 5px;
+       margin-bottom: 0.1em;
+       margin-top: 2em;
        padding-right: 10px;
        padding-left: 10px;
 
@@ -108,6 +108,22 @@ h5 {
        padding-left: 5px;
 }
 
+/* Heading anchors */
+.heading:link, .heading:visited {
+       border: none;
+       color: #d7d7d7;
+       font-size: .8em;
+       vertical-align: text-top;
+}
+* > .heading:link, * > .heading:visited {
+       visibility: hidden;
+}
+
+h1:hover .heading, h2:hover .heading, h3:hover .heading,
+h4:hover .heading, h5:hover .heading, h6:hover .heading {
+       visibility: visible;
+}
+
 strong.success {
     padding-left: 0.1em;
        background-color: #22ee22;
@@ -233,11 +249,12 @@ table {
        margin-bottom: 0.5em;
 }
 
-table thead {
+table tbody thead {
        background: #f7f7f0
 }
 
-table thead th {
+/* FIXME: should be thead */
+table tbody th {
        border: 1px solid #d7d7d7;
        border-bottom-color: #999;
        font-weight: bold;