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