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