summaryrefslogtreecommitdiff
path: root/style.css
blob: 6e2afce66b97075614b067991833ed578b8b195f (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. .trails { display: none; }
  245. .feedbutton { display: none; }
  246. #searchform { display: none; }
  247. .blogform, #blogform { display: none; }
  248. #backlinks { display: none; }
  249. }
  250. /* infobox template */
  251. .infobox {
  252. float: right;
  253. margin-left: 2ex;
  254. margin-top: 1ex;
  255. margin-bottom: 1ex;
  256. padding: 1ex 1ex;
  257. border: 1px solid #aaa;
  258. background: white;
  259. color: black !important;
  260. }
  261. /* notebox template */
  262. .notebox {
  263. float: right;
  264. margin-left: 2ex;
  265. margin-top: 1ex;
  266. margin-bottom: 1ex;
  267. padding: 1ex 1ex;
  268. border: 1px solid #aaa;
  269. width: 25%;
  270. background: white;
  271. color: black !important;
  272. }
  273. /* popup template and backlinks hiding */
  274. .popup {
  275. border-bottom: 1px dotted #366;
  276. color: #366;
  277. }
  278. .popup .balloon,
  279. .popup .paren,
  280. .popup .expand {
  281. display: none;
  282. }
  283. .popup:hover .balloon,
  284. .popup:focus .balloon {
  285. position: absolute;
  286. display: inline;
  287. margin: 1em 0 0 -2em;
  288. padding: 0.625em;
  289. border: 2px solid;
  290. background-color: #dee;
  291. color: black;
  292. }
  293. /* form styling */
  294. fieldset {
  295. margin: 1ex 0;
  296. border: 1px solid black;
  297. }
  298. legend {
  299. padding: 0 1ex;
  300. }
  301. .fb_submit {
  302. float: left;
  303. margin: 2px 0;
  304. }
  305. label.block {
  306. display: block;
  307. }
  308. label.inline {
  309. display: inline;
  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. .FlattrButton {
  414. display: none;
  415. }
  416. /* openid selector */
  417. #openid_choice {
  418. display: none;
  419. }
  420. #openid_input_area {
  421. clear: both;
  422. padding: 10px;
  423. }
  424. #openid_btns, #openid_btns br {
  425. clear: both;
  426. }
  427. #openid_highlight {
  428. background-color: black;
  429. float: left;
  430. }
  431. .openid_large_btn {
  432. padding: 1em 1.5em;
  433. border: 1px solid #DDD;
  434. margin: 3px;
  435. float: left;
  436. }
  437. .openid_small_btn {
  438. padding: 4px 4px;
  439. border: 1px solid #DDD;
  440. margin: 3px;
  441. float: left;
  442. }
  443. a.openid_large_btn:focus {
  444. outline: none;
  445. }
  446. a.openid_large_btn:focus {
  447. outline-style: none;
  448. }
  449. .openid_selected {
  450. border: 4px solid #DDD;
  451. }
  452. .fileupload-content .ui-progressbar {
  453. width: 200px;
  454. height: 20px;
  455. }
  456. .fileupload-content .ui-progressbar-value {
  457. background: url(ikiwiki/images/pbar-ani.gif);
  458. }
  459. .trails {
  460. margin-top: 1em;
  461. margin-bottom: 1em;
  462. }
  463. .trail {
  464. display: block;
  465. clear: both;
  466. position: relative;
  467. }
  468. .trailprev {
  469. display: block;
  470. text-align: left;
  471. position: absolute;
  472. top: 0%;
  473. left: 3%;
  474. width: 30%;
  475. }
  476. .trailup {
  477. display: block;
  478. text-align: center;
  479. margin-left: 35%;
  480. margin-right: 35%;
  481. }
  482. .trailnext {
  483. display: block;
  484. text-align: right;
  485. position: absolute;
  486. top: 0%;
  487. width: 30%;
  488. right: 3%;
  489. }
  490. .trailsep {
  491. display: none;
  492. }