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