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