summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: 66d962bd640d3e2991c11eedb789c3e040d62da4 (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. 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. float: right;
  153. margin: 0;
  154. width: 60%;
  155. }
  156. #blogform {
  157. padding: 10px 10px;
  158. border: 1px solid #aaa;
  159. background: #eee;
  160. color: black !important;
  161. width: auto;
  162. overflow: auto;
  163. }
  164. .inlinepage {
  165. padding: 10px 10px;
  166. border: 1px solid #aaa;
  167. overflow: auto;
  168. }
  169. .pagedate,
  170. .pagelicense,
  171. .pagecopyright {
  172. font-style: italic;
  173. display: block;
  174. margin-top: 1em;
  175. }
  176. .error {
  177. color: #C00;
  178. }
  179. .sidebar {
  180. width: 20ex;
  181. float: right;
  182. margin-left: 4px;
  183. margin-bottom: 4px;
  184. margin-top: -1px;
  185. padding: 0ex 2ex;
  186. background: white;
  187. border: 1px solid black;
  188. color: black !important;
  189. }
  190. hr.poll {
  191. height: 10pt;
  192. color: white !important;
  193. background: #eee;
  194. border: 2px solid black;
  195. }
  196. div.poll {
  197. margin-top: 1ex;
  198. margin-bottom: 1ex;
  199. padding: 1ex 1ex;
  200. border: 1px solid #aaa;
  201. }
  202. span.color {
  203. padding: 2px;
  204. }
  205. .comment-header,
  206. .microblog-header {
  207. font-style: italic;
  208. margin-top: .3em;
  209. }
  210. .comment .author,
  211. .microblog .author {
  212. font-weight: bold;
  213. }
  214. .comment-subject {
  215. font-weight: bold;
  216. }
  217. .comment {
  218. border: 1px solid #aaa;
  219. padding: 3px;
  220. }
  221. div.progress {
  222. margin-top: 1ex;
  223. margin-bottom: 1ex;
  224. border: 1px solid #888;
  225. width: 400px;
  226. background: #eee;
  227. color: black !important;
  228. padding: 1px;
  229. }
  230. div.progress-done {
  231. background: #ea6 !important;
  232. color: black !important;
  233. text-align: center;
  234. padding: 1px;
  235. }
  236. /* things to hide in printouts */
  237. @media print {
  238. .actions { display: none; }
  239. .tags { display: none; }
  240. .feedbutton { display: none; }
  241. #searchform { display: none; }
  242. #blogform { display: none; }
  243. #backlinks { display: none; }
  244. }
  245. /* infobox template */
  246. .infobox {
  247. float: right;
  248. margin-left: 2ex;
  249. margin-top: 1ex;
  250. margin-bottom: 1ex;
  251. padding: 1ex 1ex;
  252. border: 1px solid #aaa;
  253. background: white;
  254. color: black !important;
  255. }
  256. /* notebox template */
  257. .notebox {
  258. float: right;
  259. margin-left: 2ex;
  260. margin-top: 1ex;
  261. margin-bottom: 1ex;
  262. padding: 1ex 1ex;
  263. border: 1px solid #aaa;
  264. width: 25%;
  265. background: white;
  266. color: black !important;
  267. }
  268. /* popup template and backlinks hiding */
  269. .popup {
  270. border-bottom: 1px dotted #366;
  271. color: #366;
  272. }
  273. .popup .balloon,
  274. .popup .paren,
  275. .popup .expand {
  276. display: none;
  277. }
  278. .popup:hover .balloon,
  279. .popup:focus .balloon {
  280. position: absolute;
  281. display: inline;
  282. margin: 1em 0 0 -2em;
  283. padding: 0.625em;
  284. border: 2px solid;
  285. background-color: #dee;
  286. color: black;
  287. }
  288. /* form styling */
  289. fieldset {
  290. margin: 1ex 0;
  291. border: 1px solid black;
  292. }
  293. legend {
  294. padding: 0 1ex;
  295. }
  296. .fb_submit {
  297. float: left;
  298. margin: 2px 0;
  299. }
  300. label.block {
  301. display: block;
  302. }
  303. label.inline {
  304. display: inline;
  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,
  347. .year-calendar-this-month {
  348. background-color: #eee;
  349. }
  350. .month-calendar-day-head,
  351. .month-calendar-day-nolink,
  352. .month-calendar-day-link,
  353. .month-calendar-day-this-day,
  354. .month-calendar-day-future {
  355. text-align: right;
  356. }
  357. .month-calendar-arrow A:link,
  358. .year-calendar-arrow A:link,
  359. .month-calendar-arrow A:visited,
  360. .year-calendar-arrow A:visited {
  361. text-decoration: none;
  362. font-weight: normal;
  363. font-size: 150%;
  364. }
  365. /* outlines */
  366. li.L1 { list-style: upper-roman; }
  367. li.L2 { list-style: decimal; }
  368. li.L3 { list-style: lower-alpha; }
  369. li.L4 { list-style: disc; }
  370. li.L5 { list-style: square; }
  371. li.L6 { list-style: circle; }
  372. li.L7 { list-style: lower-roman; }
  373. li.L8 { list-style: upper-alpha; }
  374. /* tag cloud */
  375. .pagecloud {
  376. float: right;
  377. width: 30%;
  378. text-align: center;
  379. padding: 10px 10px;
  380. border: 1px solid #aaa;
  381. background: #eee;
  382. color: black !important;
  383. }
  384. .smallestPC { font-size: 70%; }
  385. .smallPC { font-size: 85%; }
  386. .normalPC { font-size: 100%; }
  387. .bigPC { font-size: 115%; }
  388. .biggestPC { font-size: 130%; }
  389. /* orange feed button */
  390. .feedbutton {
  391. background: #ff6600;
  392. color: white !important;
  393. border-left: 1px solid #cc9966;
  394. border-top: 1px solid #ccaa99;
  395. border-right: 1px solid #993300;
  396. border-bottom: 1px solid #331100;
  397. padding: 0px 0.5em 0px 0.5em;
  398. font-family: sans-serif;
  399. font-weight: bold;
  400. font-size: small;
  401. text-decoration: none;
  402. margin-top: 1em;
  403. }
  404. .feedbutton:hover {
  405. color: white !important;
  406. background: #ff9900;
  407. }
  408. .FlattrButton {
  409. display: none;
  410. }
  411. /* openid selector */
  412. #openid_choice {
  413. display: none;
  414. }
  415. #openid_input_area {
  416. clear: both;
  417. padding: 10px;
  418. }
  419. #openid_btns, #openid_btns br {
  420. clear: both;
  421. }
  422. #openid_highlight {
  423. background-color: black;
  424. float: left;
  425. }
  426. .openid_large_btn {
  427. padding: 1em 1.5em;
  428. border: 1px solid #DDD;
  429. margin: 3px;
  430. float: left;
  431. }
  432. .openid_small_btn {
  433. padding: 4px 4px;
  434. border: 1px solid #DDD;
  435. margin: 3px;
  436. float: left;
  437. }
  438. a.openid_large_btn:focus {
  439. outline: none;
  440. }
  441. a.openid_large_btn:focus {
  442. -moz-outline-style: none;
  443. }
  444. .openid_selected {
  445. border: 4px solid #DDD;
  446. }