summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: cb02f812a1833009e718bb668460e018b906720d (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#openid_url {
  301. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  302. background-color: #fff;
  303. background-position: 0 50%;
  304. color: #000;
  305. padding-left: 18px;
  306. }
  307. input#searchbox {
  308. background: url(wikiicons/search-bg.gif) no-repeat;
  309. background-color: #fff;
  310. background-position: 100% 50%;
  311. color: #000;
  312. padding-right: 16px;
  313. }
  314. /* invalid form fields */
  315. .fb_invalid {
  316. color: red;
  317. background: white !important;
  318. }
  319. /* required form fields */
  320. .fb_required {
  321. font-weight: bold;
  322. }
  323. /* highlight plugin */
  324. pre.hl { color:#000000; background-color:#ffffff; }
  325. .hl.num { color:#2928ff; }
  326. .hl.esc { color:#ff00ff; }
  327. .hl.str { color:#ff0000; }
  328. .hl.dstr { color:#818100; }
  329. .hl.slc { color:#838183; font-style:italic; }
  330. .hl.com { color:#838183; font-style:italic; }
  331. .hl.dir { color:#008200; }
  332. .hl.sym { color:#000000; }
  333. .hl.line { color:#555555; }
  334. .hl.mark { background-color:#ffffbb; }
  335. .hl.kwa { color:#000000; font-weight:bold; }
  336. .hl.kwb { color:#830000; }
  337. .hl.kwc { color:#000000; font-weight:bold; }
  338. .hl.kwd { color:#010181; }
  339. /* calendar plugin */
  340. .month-calendar-day-this-day { background-color: #eee; }
  341. .year-calendar-this-month { background-color: #eee; }
  342. .month-calendar-arrow A:link,
  343. .year-calendar-arrow A:link,
  344. .month-calendar-arrow A:visited,
  345. .year-calendar-arrow A:visited {
  346. text-decoration: none;
  347. font-weight: normal;
  348. font-size: 150%;
  349. }
  350. /* outlines */
  351. li.L1 { list-style: upper-roman; }
  352. li.L2 { list-style: decimal; }
  353. li.L3 { list-style: lower-alpha; }
  354. li.L4 { list-style: disc; }
  355. li.L5 { list-style: square; }
  356. li.L6 { list-style: circle; }
  357. li.L7 { list-style: lower-roman; }
  358. li.L8 { list-style: upper-alpha; }
  359. /* tag cloud */
  360. .pagecloud {
  361. float: right;
  362. width: 30%;
  363. text-align: center;
  364. padding: 10px 10px;
  365. border: 1px solid #aaa;
  366. background: #eee;
  367. color: black !important;
  368. }
  369. .smallestPC { font-size: 70%; }
  370. .smallPC { font-size: 85%; }
  371. .normalPC { font-size: 100%; }
  372. .bigPC { font-size: 115%; }
  373. .biggestPC { font-size: 130%; }
  374. /* orange feed button */
  375. .feedbutton {
  376. background: #ff6600;
  377. color: white !important;
  378. border-left: 1px solid #cc9966;
  379. border-top: 1px solid #ccaa99;
  380. border-right: 1px solid #993300;
  381. border-bottom: 1px solid #331100;
  382. padding: 0px 0.5em 0px 0.5em;
  383. font-family: sans-serif;
  384. font-weight: bold;
  385. font-size: small;
  386. text-decoration: none;
  387. margin-top: 1em;
  388. }
  389. .feedbutton:hover {
  390. color: white !important;
  391. background: #ff9900;
  392. }
  393. /* openid selector */
  394. #openid_choice {
  395. display: none;
  396. }
  397. #openid_input_area {
  398. clear: both;
  399. padding: 10px;
  400. }
  401. #openid_btns, #openid_btns br {
  402. clear: both;
  403. }
  404. #openid_highlight {
  405. background-color: black;
  406. float: left;
  407. }
  408. .openid_large_btn {
  409. padding: 1em 1.5em;
  410. border: 1px solid #DDD;
  411. margin: 3px;
  412. float: left;
  413. }
  414. .openid_small_btn {
  415. padding: 4px 4px;
  416. border: 1px solid #DDD;
  417. margin: 3px;
  418. float: left;
  419. }
  420. a.openid_large_btn:focus {
  421. outline: none;
  422. }
  423. a.openid_large_btn:focus {
  424. -moz-outline-style: none;
  425. }
  426. .openid_selected {
  427. border: 4px solid #DDD;
  428. }