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