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