summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: fcf39be6a74aa6a0569a0d1b66068d4ca5936547 (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-avatar {
  219. float: right;
  220. }
  221. .comment {
  222. border: 1px solid #aaa;
  223. padding: 3px;
  224. }
  225. div.progress {
  226. margin-top: 1ex;
  227. margin-bottom: 1ex;
  228. border: 1px solid #888;
  229. width: 400px;
  230. background: #eee;
  231. color: black !important;
  232. padding: 1px;
  233. }
  234. div.progress-done {
  235. background: #ea6 !important;
  236. color: black !important;
  237. text-align: center;
  238. padding: 1px;
  239. }
  240. /* things to hide in printouts */
  241. @media print {
  242. .actions { display: none; }
  243. .tags { display: none; }
  244. .feedbutton { display: none; }
  245. #searchform { display: none; }
  246. .blogform, #blogform { display: none; }
  247. #backlinks { display: none; }
  248. }
  249. /* infobox template */
  250. .infobox {
  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. background: white;
  258. color: black !important;
  259. }
  260. /* notebox template */
  261. .notebox {
  262. float: right;
  263. margin-left: 2ex;
  264. margin-top: 1ex;
  265. margin-bottom: 1ex;
  266. padding: 1ex 1ex;
  267. border: 1px solid #aaa;
  268. width: 25%;
  269. background: white;
  270. color: black !important;
  271. }
  272. /* popup template and backlinks hiding */
  273. .popup {
  274. border-bottom: 1px dotted #366;
  275. color: #366;
  276. }
  277. .popup .balloon,
  278. .popup .paren,
  279. .popup .expand {
  280. display: none;
  281. }
  282. .popup:hover .balloon,
  283. .popup:focus .balloon {
  284. position: absolute;
  285. display: inline;
  286. margin: 1em 0 0 -2em;
  287. padding: 0.625em;
  288. border: 2px solid;
  289. background-color: #dee;
  290. color: black;
  291. }
  292. /* form styling */
  293. fieldset {
  294. margin: 1ex 0;
  295. border: 1px solid black;
  296. }
  297. legend {
  298. padding: 0 1ex;
  299. }
  300. .fb_submit {
  301. float: left;
  302. margin: 2px 0;
  303. }
  304. label.block {
  305. display: block;
  306. }
  307. label.inline {
  308. display: inline;
  309. }
  310. input#openid_identifier {
  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,
  351. .year-calendar-this-month {
  352. background-color: #eee;
  353. }
  354. .month-calendar-day-head,
  355. .month-calendar-day-nolink,
  356. .month-calendar-day-link,
  357. .month-calendar-day-this-day,
  358. .month-calendar-day-future {
  359. text-align: right;
  360. }
  361. .month-calendar-arrow A:link,
  362. .year-calendar-arrow A:link,
  363. .month-calendar-arrow A:visited,
  364. .year-calendar-arrow A:visited {
  365. text-decoration: none;
  366. font-weight: normal;
  367. font-size: 150%;
  368. }
  369. /* outlines */
  370. li.L1 { list-style: upper-roman; }
  371. li.L2 { list-style: decimal; }
  372. li.L3 { list-style: lower-alpha; }
  373. li.L4 { list-style: disc; }
  374. li.L5 { list-style: square; }
  375. li.L6 { list-style: circle; }
  376. li.L7 { list-style: lower-roman; }
  377. li.L8 { list-style: upper-alpha; }
  378. /* tag cloud */
  379. .pagecloud {
  380. float: right;
  381. width: 30%;
  382. text-align: center;
  383. padding: 10px 10px;
  384. border: 1px solid #aaa;
  385. background: #eee;
  386. color: black !important;
  387. }
  388. .smallestPC { font-size: 70%; }
  389. .smallPC { font-size: 85%; }
  390. .normalPC { font-size: 100%; }
  391. .bigPC { font-size: 115%; }
  392. .biggestPC { font-size: 130%; }
  393. /* orange feed button */
  394. .feedbutton {
  395. background: #ff6600;
  396. color: white !important;
  397. border-left: 1px solid #cc9966;
  398. border-top: 1px solid #ccaa99;
  399. border-right: 1px solid #993300;
  400. border-bottom: 1px solid #331100;
  401. padding: 0px 0.5em 0px 0.5em;
  402. font-family: sans-serif;
  403. font-weight: bold;
  404. font-size: small;
  405. text-decoration: none;
  406. margin-top: 1em;
  407. }
  408. .feedbutton:hover {
  409. color: white !important;
  410. background: #ff9900;
  411. }
  412. .FlattrButton {
  413. display: none;
  414. }
  415. /* openid selector */
  416. #openid_choice {
  417. display: none;
  418. }
  419. #openid_input_area {
  420. clear: both;
  421. padding: 10px;
  422. }
  423. #openid_btns, #openid_btns br {
  424. clear: both;
  425. }
  426. #openid_highlight {
  427. background-color: black;
  428. float: left;
  429. }
  430. .openid_large_btn {
  431. padding: 1em 1.5em;
  432. border: 1px solid #DDD;
  433. margin: 3px;
  434. float: left;
  435. }
  436. .openid_small_btn {
  437. padding: 4px 4px;
  438. border: 1px solid #DDD;
  439. margin: 3px;
  440. float: left;
  441. }
  442. a.openid_large_btn:focus {
  443. outline: none;
  444. }
  445. a.openid_large_btn:focus {
  446. outline-style: none;
  447. }
  448. .openid_selected {
  449. border: 4px solid #DDD;
  450. }