1/** 2 * This file provides the most basic styles. 3 * 4 * If you integrate DokuWiki into another project, you might either 5 * want to integrate this file into the other project as well, or use 6 * the other project's basic CSS for DokuWiki instead of this one. 7 * 8 * @author Anika Henke <anika@selfthinker.org> 9 */ 10 11* { 12 margin: 0; 13 padding: 0; 14} 15body { 16 margin: 0; 17 padding: 0; 18 background: #fff; 19 color: #202020; 20 font: 62.5% "Lucida Grande", Verdana, Arial, sans-serif; /* Resets 1em to 10px */ 21} 22#footer { 23 width: 800px; 24 margin: 0 auto 0; 25 padding: 20px 0 25px 9px; 26 clear: both; 27} 28 29 30/*____________ headers ____________*/ 31 32acronym, abbr { 33 border-bottom: 1px dashed #cacaca; 34} 35acronym, abbr, span.caps { 36 font-size: 0.9em; 37 letter-spacing: .07em; 38 cursor: help; 39} 40h1, h2, h3 { 41 margin: 30px 0 14px; 42 color: #202020; /* color for post titles is in links section */ 43 text-decoration: none; 44 font: normal 2.0em Georgia, "Times New Roman", Times, serif; 45/* 46 font-family: "Century Gothic", "Avant Garde", Verdana, Helvetica, Arial, sans-serif; 47*/ 48} 49/* bottom margin = 1 / font-size */ 50 51#footer h1 { 52 margin: 0; 53 display: inline; 54 font: normal 1em "Lucida Grande", Verdana, Arial, sans-serif; 55} 56h3, .entry h2 { 57 font: normal 1.6em Georgia, "Times New Roman", Times, serif; 58} 59h4 { 60 margin: 0; 61 display: inline; 62 font-size: 1em; 63 font-weight: normal; 64 /* used in footer on non-single pages */ 65} 66h6 { 67 margin: 9px 0 14px; 68 font: normal 0.9em "Lucida Grande", Verdana, Arial, sans-serif; 69 /* little sub-heading line, to be used on pages in place of a post's date line */ 70} 71 72/*____________ tables ____________*/ 73 74table { 75 border-collapse: collapse; 76 empty-cells: show; 77 border-spacing: 0; 78 border: 1px solid __border__; 79} 80 81caption { 82 caption-side: top; 83 text-align: left; 84 margin: 0 0 .3em; 85} 86 87th, td { 88 padding: .3em .5em; 89 margin: 0; 90 vertical-align: top; 91 border: 1px solid __border__; 92 text-align: left; 93} 94th { 95 font-weight: bold; 96 background-color: __background_alt__; 97} 98 99 100/*____________ links ____________*/ 101 102a { 103 border-bottom: 1px solid #6c6882; 104 color: #202020; 105 text-decoration: none; 106} 107h2 a, h2 a:visited, h3 a, h3 a:visited { 108 margin: 0 0 0 -1px; 109 padding: 0 1px; 110 color: #202020; /* colot for post titles on index, archive, and search pages */ 111 font-weight: normal; 112 text-decoration: none; 113 border-bottom: 1px solid #fff; 114} 115a:hover, h2 a:hover, h3 a:hover { 116 border-bottom: 1px solid #ff8900; 117 color: #202020; 118 text-decoration: none; 119} 120 121small a { 122 border: none; 123} 124 125.hidelink, a.hidelink:hover, a img { 126 border: none; 127} 128 129/*____________ misc ____________*/ 130 131img { 132 border-width: 0; 133 vertical-align: middle; 134 color: #666; 135 background-color: transparent; 136 font-style: italic; 137} 138 139hr { 140 border-style: solid; 141 border-width: 1px 0 0; 142 text-align: center; 143 height: 0; 144 width: 100%; 145 clear: both; 146} 147 148acronym, abbr { 149 cursor: help; 150 border-bottom: 1px dotted; 151 font-style: normal; 152} 153 154pre, code, samp, kbd { 155 font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace; 156 /* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */ 157 font-size: 1em; 158 direction: ltr; 159 text-align: left; 160} 161pre { 162 overflow: auto; 163} 164 165blockquote { 166 padding: 0 1.25em; 167 border: solid __border__; 168 border-width: 0 0 0 .25em; 169} 170q:before, q:after { 171 content: ''; 172} 173 174sub, sup { 175 font-size: .8em; 176 line-height: 1; 177} 178sub { 179 vertical-align: sub; 180} 181sup { 182 vertical-align: super; 183} 184 185/*____________ forms ____________*/ 186 187/* Give forms a class of clearfix to make them contain the floated submit button */ 188form { 189 display: inline; 190 margin: 0; 191 padding: 0; 192} 193fieldset { 194 padding: 1em 1em 0; 195 border: 1px solid __text_alt__; 196} 197legend { 198 margin: 0; 199 padding: 0 .1em; 200} 201label { 202 vertical-align: middle; 203 cursor: pointer; 204} 205input, textarea, button, 206select, optgroup, option { 207 font: inherit; 208 color: inherit; 209 /* background-color destroys button look */ 210 line-height: 1; 211 margin: 0; 212 vertical-align: middle; 213} 214input[type=text], input[type=password], textarea { 215 padding: .1em; 216} 217input[type=radio], input[type=checkbox], input.check { 218 padding: 0; 219} 220input[type=submit], input.button, button { 221 cursor: pointer; 222} 223input[disabled], button[disabled], 224input[readonly], button[readonly] { 225 cursor: auto; 226} 227optgroup { font-style: italic; font-weight: bold; } 228option { font-style: normal; font-weight: normal; } 229 230 231/*____________ general classes ____________*/ 232 233div.clearer { 234 /* additional to what's already in DokuWiki's lib/styles/all.css: */ 235 font-size: 1px; 236 visibility: hidden; 237} 238 239.a11y { 240 position: absolute; 241 left: -9000px; 242 top: -4000px; 243 width: 0; 244 height: 0; 245 overflow: hidden; 246 display: inline; 247} 248 249 250.clearfix:after { 251 content: "."; 252 display: block; 253 height: 0; 254 clear: both; 255 visibility: hidden; 256} 257 258.clearfix {display: inline-block;} 259 260/* Hides from IE-mac \*/ 261* html .clearfix {height: 1%;} 262.clearfix {display: block;} 263/* End hide from IE-mac */ 264 265