X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/190202dd4ee8c11dc60d5fa801ca19b4b7b0e3f6..34076e398cb7662e3bf0659d591faa4208679882:/doc/style.css?ds=inline diff --git a/doc/style.css b/doc/style.css index 1cd856c53..f2f558497 100644 --- a/doc/style.css +++ b/doc/style.css @@ -4,6 +4,13 @@ * local.css and use it to override or change settings in this one. */ +article, +header, +footer, +nav { + display: block; +} + .header { margin: 0; font-size: 22px; @@ -12,7 +19,7 @@ display: block; } -.author { +.inlineheader .author { margin: 0; font-size: 18px; font-weight: bold; @@ -23,6 +30,12 @@ margin: 0; padding: 6px; list-style-type: none; +} +.actions li { + display: inline; + padding: .2em .4em; +} +.pageheader .actions ul { border-bottom: 1px solid #000; } @@ -30,25 +43,61 @@ 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; +} -.tags { +.inlinecontent { + margin-top: .4em; +} + +.pagefooter { + clear: both; +} +.inlinefooter { clear: both; } #pageinfo { - clear: both; margin: 1em 0; border-top: 1px solid #000; } -div.tags { +.tags { margin-top: 1em; } +.inlinepage .tags { + display: inline; +} + +.mapparent { + text-decoration: none; +} + +.img caption { + font-size: 80%; + caption-side: bottom; + text-align: center; +} + +.align-left { + float:left; +} + +.align-right { + float:right; +} + #backlinks { margin-top: 1em; } @@ -66,34 +115,53 @@ img { border-style: none; } -/* Stuff for the RecentChanges table. */ -tr.changeheader { +div.recentchanges { + border-style: solid; + border-width: 1px; + overflow: auto; + clear: both; + width: 100%; background: #eee; color: black !important; } -tr.changeinfo { - background: #eee; +.recentchanges .metadata { + padding: 0px 0.5em; +} +.recentchanges .changelog { + font-style: italic; + clear: both; + display: block; + padding: 1px 2px; + background: white !important; color: black !important; } -th.changeheader { - padding: 1px .3em; +.recentchanges .desc { + display: none; } -td.changeinfo { - padding: 1px .3em; +.recentchanges .diff { + display: none; } -td.changetime { - white-space: nowrap; - padding: 1px .3em; +.recentchanges .committer { + float: left; + margin: 0; + width: 40%; } -td.changelog { - font-style: italic; +.recentchanges .committype { + float: left; + margin: 0; + width: 5%; + font-size: small; } - -.pagecloud { - padding: 10px 10px; - border: 1px solid #aaa; - background: #eee; - color: black !important; +.recentchanges .changedate { + float: left; + margin: 0; + width: 35%; + font-size: small; +} +.recentchanges .pagelinks { + float: right; + margin: 0; + width: 60%; } /* Used for adding a blog page. */ @@ -109,13 +177,18 @@ td.changelog { border: 1px solid #aaa; } -.pagedate { - clear: both; +.pagedate, +.pagelicense, +.pagecopyright { font-style: italic; display: block; margin-top: 1em; } +.error { + color: #C00; +} + /* Used for invalid form fields. */ .fb_invalid { color: red; @@ -152,6 +225,10 @@ td.changelog { float: right; width: 30%; text-align: center; + padding: 10px 10px; + border: 1px solid #aaa; + background: #eee; + color: black !important; } .smallestPC { font-size: 70%; } .smallPC { font-size: 85%; } @@ -159,13 +236,16 @@ td.changelog { .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; } /* outlines */ @@ -207,6 +287,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; @@ -215,6 +311,14 @@ input#openid_url { padding-left: 18px; } +input#searchbox { + background: url(wikiicons/search-bg.gif) no-repeat; + background-color: #fff; + background-position: 100% 50%; + color: #000; + padding-right: 16px; +} + /* Things to hide in printouts. */ @media print { .actions { display: none; } @@ -233,6 +337,8 @@ input#openid_url { margin-bottom: 1ex; padding: 1ex 1ex; border: 1px solid #aaa; + background: white; + color: black !important; } /* Provided for use by template plugin for floating note boxes. */ @@ -243,7 +349,9 @@ input#openid_url { margin-bottom: 1ex; padding: 1ex 1ex; border: 1px solid #aaa; - width: 25% + width: 25%; + background: white; + color: black !important; } /* Used by the popup template and for backlinks hiding. */ @@ -265,11 +373,6 @@ input#openid_url { 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 */ @@ -294,3 +397,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%; +}