summaryrefslogtreecommitdiff
path: root/doc/style.css
blob: 7c97a518c6679b871505cdd8fd7fda8cb2b4568e (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. input#openid_identifier {
  305. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  306. background-color: #fff;
  307. background-position: 0 50%;
  308. color: #000;
  309. padding-left: 18px;
  310. }
  311. input#searchbox {
  312. background: url(wikiicons/search-bg.gif) no-repeat;
  313. background-color: #fff;
  314. background-position: 100% 50%;
  315. color: #000;
  316. padding-right: 16px;
  317. }
  318. /* invalid form fields */
  319. .fb_invalid {
  320. color: red;
  321. background: white !important;
  322. }
  323. /* required form fields */
  324. .fb_required {
  325. font-weight: bold;
  326. }
  327. /* highlight plugin */
  328. pre.hl { color:#000000; background-color:#ffffff; }
  329. .hl.num { color:#2928ff; }
  330. .hl.esc { color:#ff00ff; }
  331. .hl.str { color:#ff0000; }
  332. .hl.dstr { color:#818100; }
  333. .hl.slc { color:#838183; font-style:italic; }
  334. .hl.com { color:#838183; font-style:italic; }
  335. .hl.dir { color:#008200; }
  336. .hl.sym { color:#000000; }
  337. .hl.line { color:#555555; }
  338. .hl.mark { background-color:#ffffbb; }
  339. .hl.kwa { color:#000000; font-weight:bold; }
  340. .hl.kwb { color:#830000; }
  341. .hl.kwc { color:#000000; font-weight:bold; }
  342. .hl.kwd { color:#010181; }
  343. /* calendar plugin */
  344. .month-calendar-day-this-day,
  345. .year-calendar-this-month {
  346. background-color: #eee;
  347. }
  348. .month-calendar-day-head,
  349. .month-calendar-day-nolink,
  350. .month-calendar-day-link,
  351. .month-calendar-day-this-day,
  352. .month-calendar-day-future {
  353. text-align: right;
  354. }
  355. .month-calendar-arrow A:link,
  356. .year-calendar-arrow A:link,
  357. .month-calendar-arrow A:visited,
  358. .year-calendar-arrow A:visited {
  359. text-decoration: none;
  360. font-weight: normal;
  361. font-size: 150%;
  362. }
  363. /* outlines */
  364. li.L1 { list-style: upper-roman; }
  365. li.L2 { list-style: decimal; }
  366. li.L3 { list-style: lower-alpha; }
  367. li.L4 { list-style: disc; }
  368. li.L5 { list-style: square; }
  369. li.L6 { list-style: circle; }
  370. li.L7 { list-style: lower-roman; }
  371. li.L8 { list-style: upper-alpha; }
  372. /* tag cloud */
  373. .pagecloud {
  374. float: right;
  375. width: 30%;
  376. text-align: center;
  377. padding: 10px 10px;
  378. border: 1px solid #aaa;
  379. background: #eee;
  380. color: black !important;
  381. }
  382. .smallestPC { font-size: 70%; }
  383. .smallPC { font-size: 85%; }
  384. .normalPC { font-size: 100%; }
  385. .bigPC { font-size: 115%; }
  386. .biggestPC { font-size: 130%; }
  387. /* orange feed button */
  388. .feedbutton {
  389. background: #ff6600;
  390. color: white !important;
  391. border-left: 1px solid #cc9966;
  392. border-top: 1px solid #ccaa99;
  393. border-right: 1px solid #993300;
  394. border-bottom: 1px solid #331100;
  395. padding: 0px 0.5em 0px 0.5em;
  396. font-family: sans-serif;
  397. font-weight: bold;
  398. font-size: small;
  399. text-decoration: none;
  400. margin-top: 1em;
  401. }
  402. .feedbutton:hover {
  403. color: white !important;
  404. background: #ff9900;
  405. }
  406. /* openid selector */
  407. #openid_choice {
  408. display: none;
  409. }
  410. #openid_input_area {
  411. clear: both;
  412. padding: 10px;
  413. }
  414. #openid_btns, #openid_btns br {
  415. clear: both;
  416. }
  417. #openid_highlight {
  418. background-color: black;
  419. float: left;
  420. }
  421. .openid_large_btn {
  422. padding: 1em 1.5em;
  423. border: 1px solid #DDD;
  424. margin: 3px;
  425. float: left;
  426. }
  427. .openid_small_btn {
  428. padding: 4px 4px;
  429. border: 1px solid #DDD;
  430. margin: 3px;
  431. float: left;
  432. }
  433. a.openid_large_btn:focus {
  434. outline: none;
  435. }
  436. a.openid_large_btn:focus {
  437. -moz-outline-style: none;
  438. }
  439. .openid_selected {
  440. border: 4px solid #DDD;
  441. }