You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

472 lines
7.0 KiB

14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
13 years ago
14 years ago
14 years ago
14 years ago
  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. html {
  11. overflow-x: auto;
  12. overflow-y: scroll;
  13. }
  14. html,
  15. body {
  16. background-color: __background__;
  17. color: __text__;
  18. margin: 0;
  19. padding: 0;
  20. }
  21. body {
  22. font: normal 100%/1.4 Frutiger, Calibri, "Myriad Pro", Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
  23. /* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
  24. -webkit-text-size-adjust: 100%;
  25. }
  26. /*____________ headers ____________*/
  27. h1,
  28. h2,
  29. h3,
  30. h4,
  31. h5,
  32. h6 {
  33. font-family: Constantia, Utopia, Lucidabright, Lucida, Georgia, "Nimbus Roman No9 L", serif;
  34. font-weight: bold;
  35. color: __text_neu__;
  36. background-color: inherit;
  37. padding: 0;
  38. line-height: 1.2;
  39. clear: left; /* ideally 'both', but problems with toc */
  40. }
  41. [dir=rtl] h1,
  42. [dir=rtl] h2,
  43. [dir=rtl] h3,
  44. [dir=rtl] h4,
  45. [dir=rtl] h5,
  46. [dir=rtl] h6 {
  47. clear: right;
  48. }
  49. h1 {
  50. font-size: 2.25em;
  51. margin: 0 0 0.444em;
  52. }
  53. h2 {
  54. font-size: 1.5em;
  55. margin: 0 0 0.666em;
  56. }
  57. h3 {
  58. font-size: 1.125em;
  59. margin: 0 0 0.888em;
  60. }
  61. h4 {
  62. font-size: 1em;
  63. margin: 0 0 1.0em;
  64. }
  65. h5 {
  66. font-size: .875em;
  67. margin: 0 0 1.1428em;
  68. }
  69. h6 {
  70. font-size: .75em;
  71. margin: 0 0 1.333em;
  72. }
  73. /* bottom margin = 1 / font-size */
  74. caption,
  75. figcaption,
  76. summary,
  77. legend {
  78. font-style: italic;
  79. font-weight: normal;
  80. line-height: 1.2;
  81. padding: 0;
  82. margin: 0 0 .35em;
  83. }
  84. /*____________ basic margins and paddings ____________*/
  85. p,
  86. ul,
  87. ol,
  88. dl,
  89. pre,
  90. table,
  91. hr,
  92. blockquote,
  93. figure,
  94. details,
  95. fieldset,
  96. address {
  97. margin: 0 0 1.4em 0; /* bottom margin = line-height */
  98. padding: 0;
  99. }
  100. div {
  101. margin: 0;
  102. padding: 0;
  103. }
  104. /*____________ lists ____________*/
  105. ul,
  106. ol {
  107. padding: 0 0 0 1.5em;
  108. }
  109. [dir=rtl] ul,
  110. [dir=rtl] ol {
  111. padding: 0 1.5em 0 0;
  112. }
  113. li,
  114. dd {
  115. padding: 0;
  116. margin: 0 0 0 1.5em;
  117. }
  118. [dir=rtl] li,
  119. [dir=rtl] dd {
  120. margin: 0 1.5em 0 0;
  121. }
  122. dt {
  123. font-weight: bold;
  124. margin: 0;
  125. padding: 0;
  126. }
  127. li ul,
  128. li ol,
  129. li dl,
  130. dl ul,
  131. dl ol,
  132. dl dl {
  133. margin-bottom: 0;
  134. padding: 0;
  135. }
  136. li li {
  137. font-size: 100%;
  138. }
  139. ul {
  140. list-style: disc outside;
  141. }
  142. ol {
  143. list-style: decimal outside;
  144. }
  145. ol ol {
  146. list-style-type: lower-alpha;
  147. }
  148. ol ol ol {
  149. list-style-type: upper-roman;
  150. }
  151. ol ol ol ol {
  152. list-style-type: upper-alpha;
  153. }
  154. ol ol ol ol ol {
  155. list-style-type: lower-roman;
  156. }
  157. /*____________ tables ____________*/
  158. table {
  159. border-collapse: collapse;
  160. empty-cells: show;
  161. border-spacing: 0;
  162. border: 1px solid __border__;
  163. }
  164. caption {
  165. caption-side: top;
  166. text-align: left;
  167. }
  168. [dir=rtl] caption {
  169. text-align: right;
  170. }
  171. th,
  172. td {
  173. padding: .3em .5em;
  174. margin: 0;
  175. vertical-align: top;
  176. border: 1px solid __border__;
  177. }
  178. th {
  179. font-weight: bold;
  180. background-color: __background_alt__;
  181. color: inherit;
  182. text-align: left;
  183. }
  184. [dir=rtl] th {
  185. text-align: right;
  186. }
  187. /*____________ links ____________*/
  188. a {
  189. }
  190. a:link,
  191. a:visited {
  192. text-decoration: none;
  193. color: #00c; /* §colour */
  194. }
  195. a:link:hover,
  196. a:visited:hover,
  197. a:link:focus,
  198. a:visited:focus,
  199. a:link:active,
  200. a:visited:active {
  201. text-decoration: underline;
  202. }
  203. a:link:focus,
  204. a:visited:focus {
  205. outline: 1px dotted;
  206. }
  207. a:link:active,
  208. a:visited:active {
  209. color: #c00; /* §colour */
  210. }
  211. /*____________ misc ____________*/
  212. img {
  213. border-width: 0;
  214. vertical-align: middle;
  215. color: #666;
  216. background-color: transparent;
  217. font-style: italic;
  218. height: auto;
  219. }
  220. img,
  221. object,
  222. embed,
  223. iframe,
  224. video,
  225. audio {
  226. max-width: 100%;
  227. }
  228. iframe {
  229. border-width: 0;
  230. background-color: inherit;
  231. }
  232. /* IE8 and below won't display the images otherwise */
  233. button img {
  234. max-width: none;
  235. }
  236. hr {
  237. border-style: solid;
  238. border-width: 1px 0 0;
  239. text-align: center;
  240. height: 0;
  241. width: 100%;
  242. clear: both;
  243. }
  244. acronym,
  245. abbr {
  246. font-style: normal;
  247. }
  248. acronym[title],
  249. abbr[title] {
  250. cursor: help;
  251. border-bottom: 1px dotted;
  252. }
  253. em acronym,
  254. em abbr {
  255. font-style: italic;
  256. }
  257. mark {
  258. background: __highlight__;
  259. color: inherit;
  260. }
  261. pre,
  262. code,
  263. samp,
  264. kbd {
  265. font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
  266. /* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */
  267. font-size: 1em;
  268. background-color: __background_alt__;
  269. color: __text__;
  270. direction: ltr;
  271. text-align: left;
  272. }
  273. pre {
  274. border: 1px solid __border__;
  275. padding: 0 .2em;
  276. overflow: auto;
  277. word-wrap: normal;
  278. }
  279. blockquote {
  280. padding: 0 .5em;
  281. border: solid __border__;
  282. border-width: 0 0 0 .25em;
  283. }
  284. [dir=rtl] blockquote {
  285. border-width: 0 .25em 0 0;
  286. }
  287. q:before,
  288. q:after {
  289. content: '';
  290. }
  291. sub,
  292. sup {
  293. font-size: .8em;
  294. line-height: 1;
  295. }
  296. sub {
  297. vertical-align: sub;
  298. }
  299. sup {
  300. vertical-align: super;
  301. }
  302. small {
  303. font-size: .8em;
  304. }
  305. /*____________ forms ____________*/
  306. form {
  307. display: inline;
  308. margin: 0;
  309. padding: 0;
  310. }
  311. fieldset {
  312. padding: .7em 1em 0;
  313. padding: .7rem 1rem; /* for those browsers understanding :last-child */
  314. border: 1px solid #999;
  315. }
  316. fieldset > :last-child {
  317. margin-bottom: 0;
  318. }
  319. legend {
  320. padding: 0 .1em;
  321. }
  322. label {
  323. vertical-align: middle;
  324. cursor: pointer;
  325. }
  326. input,
  327. textarea,
  328. button,
  329. select,
  330. optgroup,
  331. option,
  332. keygen,
  333. output,
  334. meter,
  335. progress {
  336. font: inherit;
  337. color: inherit;
  338. /* background-color destroys button look */
  339. line-height: normal;
  340. margin: 0;
  341. vertical-align: middle;
  342. -moz-box-sizing: content-box;
  343. -webkit-box-sizing: content-box;
  344. box-sizing: content-box;
  345. }
  346. input,
  347. button,
  348. select,
  349. keygen,
  350. textarea {
  351. padding: .1em;
  352. }
  353. input[type=radio],
  354. input[type=checkbox],
  355. input[type=image],
  356. input.check {
  357. padding: 0;
  358. }
  359. input[type=submit],
  360. input[type=button],
  361. input[type=reset],
  362. input.button,
  363. button {
  364. cursor: pointer;
  365. overflow: visible;
  366. padding: .1em .4em;
  367. }
  368. #IE6 .dokuwiki input.button,
  369. #IE6 .dokuwiki button,
  370. #IE7 .dokuwiki input.button,
  371. #IE7 .dokuwiki button {
  372. line-height: 1.4;
  373. }
  374. input[disabled],
  375. button[disabled],
  376. input[readonly],
  377. button[readonly] {
  378. cursor: auto;
  379. }
  380. input:focus,
  381. button:focus,
  382. select:focus,
  383. keygen:focus,
  384. textarea:focus {
  385. box-shadow: 0 0 5px #999;
  386. outline: 0;
  387. }
  388. input::-moz-focus-inner,
  389. button::-moz-focus-inner {
  390. border: 0;
  391. padding: 0;
  392. }
  393. optgroup {
  394. font-style: italic;
  395. font-weight: bold;
  396. }
  397. option {
  398. font-style: normal;
  399. font-weight: normal;
  400. }
  401. /*____________ general classes ____________*/
  402. div.clearer {
  403. /* additional to what's already in DokuWiki's lib/styles/all.css: */
  404. font-size: 1px;
  405. visibility: hidden;
  406. }
  407. /* @deprecated: has been in lib/styles/screen.css since Angua */
  408. .a11y {
  409. position: absolute;
  410. left: -99999em;
  411. top: 0;
  412. width: 0;
  413. height: 0;
  414. overflow: hidden;
  415. display: inline;
  416. }
  417. [dir=rtl] .a11y {
  418. left: auto;
  419. right: -99999em;
  420. }