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