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