summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: 5f1a8e63a5e3f27a6bbb92c605ebd37858c54574 (plain)
  1. /* ikiwiki style sheet */
  2. /* Note that instead of modifying this style sheet, you can instead edit
  3. * local.css and use it to override or change settings in this one.
  4. */
  5. /* html5 compat */
  6. article,
  7. header,
  8. footer,
  9. nav {
  10. display: block;
  11. }
  12. .header {
  13. margin: 0;
  14. font-size: 22px;
  15. font-weight: bold;
  16. line-height: 1em;
  17. display: block;
  18. }
  19. .inlineheader .author {
  20. margin: 0;
  21. font-size: 18px;
  22. font-weight: bold;
  23. display: block;
  24. }
  25. .actions ul {
  26. margin: 0;
  27. padding: 6px;
  28. list-style-type: none;
  29. }
  30. .actions li {
  31. display: inline;
  32. padding: .2em .4em;
  33. }
  34. .pageheader .actions ul {
  35. border-bottom: 1px solid #000;
  36. }
  37. .inlinepage .actions ul {
  38. border-bottom: 0;
  39. }
  40. #otherlanguages ul {
  41. margin: 0;
  42. padding: 6px;
  43. list-style-type: none;
  44. }
  45. #otherlanguages li {
  46. display: inline;
  47. padding: .2em .4em;
  48. }
  49. .pageheader #otherlanguages {
  50. border-bottom: 1px solid #000;
  51. }
  52. .inlinecontent {
  53. margin-top: .4em;
  54. }
  55. .pagefooter {
  56. clear: both;
  57. }
  58. .inlinefooter {
  59. clear: both;
  60. }
  61. #pageinfo {
  62. margin: 1em 0;
  63. border-top: 1px solid #000;
  64. }
  65. .tags {
  66. margin-top: 1em;
  67. }
  68. .inlinepage .tags {
  69. display: inline;
  70. }
  71. .mapparent {
  72. text-decoration: none;
  73. }
  74. .img caption {
  75. font-size: 80%;
  76. caption-side: bottom;
  77. text-align: center;
  78. }
  79. .align-left {
  80. float:left;
  81. }
  82. .align-right {
  83. float:right;
  84. }
  85. #backlinks {
  86. margin-top: 1em;
  87. }
  88. #searchform {
  89. display: inline;
  90. float: right;
  91. }
  92. #editcontent {
  93. width: 100%;
  94. }
  95. img {
  96. border-style: none;
  97. }
  98. div.recentchanges {
  99. border-style: solid;
  100. border-width: 1px;
  101. overflow: auto;
  102. clear: both;
  103. width: 100%;
  104. background: #eee;
  105. color: black !important;
  106. }
  107. .recentchanges .metadata {
  108. padding: 0px 0.5em;
  109. }
  110. .recentchanges .changelog {
  111. font-style: italic;
  112. clear: both;
  113. display: block;
  114. padding: 1px 2px;
  115. background: white !important;
  116. color: black !important;
  117. }
  118. .recentchanges .desc {
  119. display: none;
  120. }
  121. .recentchanges .diff {
  122. display: none;
  123. }
  124. .recentchanges .committer {
  125. float: left;
  126. margin: 0;
  127. width: 40%;
  128. }
  129. .recentchanges .committype {
  130. float: left;
  131. margin: 0;
  132. width: 5%;
  133. font-size: small;
  134. }
  135. .recentchanges .changedate {
  136. float: left;
  137. margin: 0;
  138. width: 35%;
  139. font-size: small;
  140. }
  141. .recentchanges .pagelinks {
  142. float: right;
  143. margin: 0;
  144. width: 60%;
  145. }
  146. #blogform {
  147. padding: 10px 10px;
  148. border: 1px solid #aaa;
  149. background: #eee;
  150. color: black !important;
  151. }
  152. .inlinepage {
  153. padding: 10px 10px;
  154. border: 1px solid #aaa;
  155. }
  156. .pagedate,
  157. .pagelicense,
  158. .pagecopyright {
  159. font-style: italic;
  160. display: block;
  161. margin-top: 1em;
  162. }
  163. .error {
  164. color: #C00;
  165. }
  166. .sidebar {
  167. width: 30ex;
  168. float: right;
  169. margin-left: 4px;
  170. margin-bottom: 4px;
  171. margin-top: -1px;
  172. padding: 0ex 2ex;
  173. background: white;
  174. border: 1px solid black;
  175. color: black !important;
  176. }
  177. hr.poll {
  178. height: 10pt;
  179. color: white !important;
  180. background: #eee;
  181. border: 2px solid black;
  182. }
  183. div.poll {
  184. margin-top: 1ex;
  185. margin-bottom: 1ex;
  186. padding: 1ex 1ex;
  187. border: 1px solid #aaa;
  188. }
  189. span.color {
  190. padding: 2px;
  191. }
  192. .comment-header,
  193. .microblog-header {
  194. font-style: italic;
  195. margin-top: .3em;
  196. }
  197. .comment .author,
  198. .microblog .author {
  199. font-weight: bold;
  200. }
  201. .comment-subject {
  202. font-weight: bold;
  203. }
  204. .comment {
  205. border: 1px solid #aaa;
  206. padding: 3px;
  207. }
  208. div.progress {
  209. margin-top: 1ex;
  210. margin-bottom: 1ex;
  211. border: 1px solid #888;
  212. width: 400px;
  213. background: #eee;
  214. color: black !important;
  215. padding: 1px;
  216. }
  217. div.progress-done {
  218. background: #ea6 !important;
  219. color: black !important;
  220. text-align: center;
  221. padding: 1px;
  222. }
  223. /* things to hide in printouts */
  224. @media print {
  225. .actions { display: none; }
  226. .tags { display: none; }
  227. .feedbutton { display: none; }
  228. #searchform { display: none; }
  229. #blogform { display: none; }
  230. #backlinks { display: none; }
  231. }
  232. /* infobox template */
  233. .infobox {
  234. float: right;
  235. margin-left: 2ex;
  236. margin-top: 1ex;
  237. margin-bottom: 1ex;
  238. padding: 1ex 1ex;
  239. border: 1px solid #aaa;
  240. background: white;
  241. color: black !important;
  242. }
  243. /* notebox template */
  244. .notebox {
  245. float: right;
  246. margin-left: 2ex;
  247. margin-top: 1ex;
  248. margin-bottom: 1ex;
  249. padding: 1ex 1ex;
  250. border: 1px solid #aaa;
  251. width: 25%;
  252. background: white;
  253. color: black !important;
  254. }
  255. /* popup template and backlinks hiding */
  256. .popup {
  257. border-bottom: 1px dotted #366;
  258. color: #366;
  259. }
  260. .popup .balloon,
  261. .popup .paren,
  262. .popup .expand {
  263. display: none;
  264. }
  265. .popup:hover .balloon,
  266. .popup:focus .balloon {
  267. position: absolute;
  268. display: inline;
  269. margin: 1em 0 0 -2em;
  270. padding: 0.625em;
  271. border: 2px solid;
  272. background-color: #dee;
  273. color: black;
  274. }
  275. /* form styling */
  276. fieldset {
  277. margin: 1ex 0;
  278. border: 1px solid black;
  279. }
  280. legend {
  281. padding: 0 1ex;
  282. }
  283. .fb_submit {
  284. float: left;
  285. margin: 2px 0;
  286. }
  287. label.block {
  288. display: block;
  289. }
  290. label.inline {
  291. display: inline;
  292. }
  293. ol.form {
  294. list-style: none;
  295. padding: 0;
  296. }
  297. li.form {
  298. padding-bottom: 1em;
  299. }
  300. input#searchbox {
  301. background: url(wikiicons/search-bg.gif) no-repeat;
  302. background-color: #fff;
  303. background-position: 100% 50%;
  304. color: #000;
  305. padding-right: 16px;
  306. }
  307. /* invalid form fields */
  308. .fb_invalid {
  309. color: red;
  310. background: white !important;
  311. }
  312. /* required form fields */
  313. .fb_required {
  314. font-weight: bold;
  315. }
  316. /* highlight plugin */
  317. pre.hl { color:#000000; background-color:#ffffff; }
  318. .hl.num { color:#2928ff; }
  319. .hl.esc { color:#ff00ff; }
  320. .hl.str { color:#ff0000; }
  321. .hl.dstr { color:#818100; }
  322. .hl.slc { color:#838183; font-style:italic; }
  323. .hl.com { color:#838183; font-style:italic; }
  324. .hl.dir { color:#008200; }
  325. .hl.sym { color:#000000; }
  326. .hl.line { color:#555555; }
  327. .hl.mark { background-color:#ffffbb; }
  328. .hl.kwa { color:#000000; font-weight:bold; }
  329. .hl.kwb { color:#830000; }
  330. .hl.kwc { color:#000000; font-weight:bold; }
  331. .hl.kwd { color:#010181; }
  332. /* calendar plugin */
  333. .month-calendar-day-this-day { background-color: #eee; }
  334. .year-calendar-this-month { background-color: #eee; }
  335. .month-calendar-arrow A:link,
  336. .year-calendar-arrow A:link,
  337. .month-calendar-arrow A:visited,
  338. .year-calendar-arrow A:visited {
  339. text-decoration: none;
  340. font-weight: normal;
  341. font-size: 150%;
  342. }
  343. /* outlines */
  344. li.L1 { list-style: upper-roman; }
  345. li.L2 { list-style: decimal; }
  346. li.L3 { list-style: lower-alpha; }
  347. li.L4 { list-style: disc; }
  348. li.L5 { list-style: square; }
  349. li.L6 { list-style: circle; }
  350. li.L7 { list-style: lower-roman; }
  351. li.L8 { list-style: upper-alpha; }
  352. /* tag cloud */
  353. .pagecloud {
  354. float: right;
  355. width: 30%;
  356. text-align: center;
  357. padding: 10px 10px;
  358. border: 1px solid #aaa;
  359. background: #eee;
  360. color: black !important;
  361. }
  362. .smallestPC { font-size: 70%; }
  363. .smallPC { font-size: 85%; }
  364. .normalPC { font-size: 100%; }
  365. .bigPC { font-size: 115%; }
  366. .biggestPC { font-size: 130%; }
  367. /* orange feed button */
  368. .feedbutton {
  369. background: #ff6600;
  370. color: white !important;
  371. border-left: 1px solid #cc9966;
  372. border-top: 1px solid #ccaa99;
  373. border-right: 1px solid #993300;
  374. border-bottom: 1px solid #331100;
  375. padding: 0px 0.5em 0px 0.5em;
  376. font-family: sans-serif;
  377. font-weight: bold;
  378. font-size: small;
  379. text-decoration: none;
  380. margin-top: 1em;
  381. }
  382. .feedbutton:hover {
  383. color: white !important;
  384. background: #ff9900;
  385. }
  386. /* openid selector */
  387. #openid_choice {
  388. display: none;
  389. }
  390. #openid_input_area {
  391. clear: both;
  392. padding: 10px;
  393. }
  394. #openid_btns, #openid_btns br {
  395. clear: both;
  396. }
  397. #openid_highlight {
  398. padding: 3px;
  399. background-color: #FFFCC9;
  400. float: left;
  401. }
  402. .openid_large_btn {
  403. padding: 1em 1em;
  404. border: 1px solid #DDD;
  405. margin: 3px;
  406. float: left;
  407. }
  408. .openid_small_btn {
  409. border: 1px solid #DDD;
  410. margin: 3px;
  411. float: left;
  412. }
  413. a.openid_large_btn:focus {
  414. outline: none;
  415. }
  416. a.openid_large_btn:focus {
  417. -moz-outline-style: none;
  418. }
  419. .openid_selected {
  420. border: 4px solid #DDD;
  421. }