Merge remote branch 'davrieb/autotag' into autotag
[ikiwiki.git] / doc / style.css
index 30f7ee3f3a1d169a023b849e38e416f37357d838..7ffcf9fe27d32eb18307c68e0d1419e006d250fa 100644 (file)
@@ -12,7 +12,7 @@
        display: block;
 }
 
-.author {
+.inlineheader .author {
        margin: 0;
        font-size: 18px;
        font-weight: bold;
        margin: 0;
        padding: 6px;
        list-style-type: none;
+}
+.actions li {
+       display: inline;
+       padding: .2em .4em;
+}
+.pageheader .actions ul {
        border-bottom: 1px solid #000;
 }
 
        border-bottom: 0;
 }
 
-.actions li {
+#otherlanguages ul {
+       margin: 0;
+       padding: 6px;
+       list-style-type: none;
+}
+#otherlanguages li {
        display: inline;
        padding: .2em .4em;
 }
+.pageheader #otherlanguages {
+       border-bottom: 1px solid #000;
+}
+
+div.inlinecontent {
+       margin-top: .4em;
+}
 
 .pagefooter {
        clear: both;
 }
+.inlinefooter {
+       clear: both;
+}
 
 .tags {
 }
@@ -61,6 +82,14 @@ div.tags {
        text-align: center;
 }
 
+.align-left {
+       float:left;
+}
+
+.align-right {
+       float:right;
+}
+
 #backlinks {
        margin-top: 1em;
 }
@@ -82,6 +111,7 @@ div.recentchanges {
        border-style: solid;
        border-width: 1px;
        overflow: auto;
+       clear: both;
        width: 100%;
        background: #eee;
        color: black !important;
@@ -198,14 +228,15 @@ div.recentchanges {
 .bigPC { font-size: 115%; }
 .biggestPC { font-size: 130%; }
 
-#sidebar {
-       line-height: 3ex;
-       width: 20ex;
+.sidebar {
+       width: 30ex;
        float: right;
-       margin-left: 40px;
-       margin-bottom: 40px;
-       padding: 2ex 2ex;
+       margin-left: 4px;
+       margin-bottom: 4px;
+       margin-top: -1px;
+       padding: 0ex 2ex;
        background: white;
+       border: 1px solid black;
        color: black !important;
 }
 
@@ -248,6 +279,22 @@ div.poll {
        border: 1px solid #aaa;
 }
 
+div.progress {
+       margin-top: 1ex;
+       margin-bottom: 1ex;
+       border: 1px solid #888;
+       width: 400px;
+       background: #eee;
+       color: black !important;
+       padding: 1px;
+}
+div.progress-done {
+       background: #ea6 !important;
+       color: black !important;
+       text-align: center;
+       padding: 1px;
+}
+
 input#openid_url {
        background: url(wikiicons/openidlogin-bg.gif) no-repeat;
        background-color: #fff;
@@ -259,9 +306,9 @@ input#openid_url {
 input#searchbox {
        background: url(wikiicons/search-bg.gif) no-repeat;
        background-color: #fff;
-       background-position: 0 50%;
+       background-position: 100% 50%;
        color: #000;
-       padding-left: 16px;
+       padding-right: 16px;
 }
 
 /* Things to hide in printouts. */
@@ -294,7 +341,7 @@ input#searchbox {
        margin-bottom: 1ex;
        padding: 1ex 1ex;
        border: 1px solid #aaa;
-       width: 25%
+       width: 25%;
        background: white;
        color: black !important;
 }
@@ -318,11 +365,6 @@ input#searchbox {
        border: 2px solid;
        background-color: #dee;
        color: black;
-       
-       /* Nonstandard, but very nice. */
-       opacity: 0.95;
-       -moz-opacity: 0.95;
-       filter: alpha(opacity=95);
 }
 
 /* Formbuilder styling */
@@ -347,3 +389,53 @@ legend {
        background: #eee; 
        color: black !important;
 }
+
+span.color {
+       padding: 2px;
+}
+
+.comment-header,
+.microblog-header {
+       font-style: italic;
+       margin-top: .3em;
+}
+.comment .author,
+.microblog .author {
+       font-weight: bold;
+}
+.comment-subject {
+       font-weight: bold;
+}
+.comment {
+       border: 1px solid #aaa;
+       padding: 3px;
+}
+
+/* Used by the highlight plugin. */
+pre.hl { color:#000000; background-color:#ffffff; }
+.hl.num { color:#2928ff; }
+.hl.esc { color:#ff00ff; }
+.hl.str { color:#ff0000; }
+.hl.dstr { color:#818100; }
+.hl.slc { color:#838183; font-style:italic; }
+.hl.com { color:#838183; font-style:italic; }
+.hl.dir { color:#008200; }
+.hl.sym { color:#000000; }
+.hl.line { color:#555555; }
+.hl.mark { background-color:#ffffbb; }
+.hl.kwa { color:#000000; font-weight:bold; }
+.hl.kwb { color:#830000; }
+.hl.kwc { color:#000000; font-weight:bold; }
+.hl.kwd { color:#010181; }
+
+/* For the calendar plugin. */
+.month-calendar-day-this-day { background-color: #eee; }
+.year-calendar-this-month { background-color: #eee; }
+.month-calendar-arrow A:link,
+.year-calendar-arrow A:link,
+.month-calendar-arrow A:visited,
+.year-calendar-arrow A:visited {
+       text-decoration: none;
+       font-weight: normal;
+       font-size: 150%;
+}