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