summaryrefslogtreecommitdiff
path: root/default/style.scss
blob: 53c417c06c5b5354b427ec5d4f41ca565616c2ab (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. float: right;
  153. margin: 0;
  154. width: 60%;
  155. }
  156. #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. .error {
  177. color: #C00;
  178. }
  179. .sidebar {
  180. width: 20ex;
  181. float: right;
  182. margin-left: 4px;
  183. margin-bottom: 4px;
  184. margin-top: -1px;
  185. padding: 0ex 2ex;
  186. background: white;
  187. border: 1px solid black;
  188. color: black !important;
  189. }
  190. hr.poll {
  191. height: 10pt;
  192. color: white !important;
  193. background: #eee;
  194. border: 2px solid black;
  195. }
  196. div.poll {
  197. margin-top: 1ex;
  198. margin-bottom: 1ex;
  199. padding: 1ex 1ex;
  200. border: 1px solid #aaa;
  201. }
  202. span.color {
  203. padding: 2px;
  204. }
  205. .comment-header,
  206. .microblog-header {
  207. font-style: italic;
  208. margin-top: .3em;
  209. }
  210. .comment .author,
  211. .microblog .author {
  212. font-weight: bold;
  213. }
  214. .comment-subject {
  215. font-weight: bold;
  216. }
  217. .comment {
  218. border: 1px solid #aaa;
  219. padding: 3px;
  220. }
  221. div.progress {
  222. margin-top: 1ex;
  223. margin-bottom: 1ex;
  224. border: 1px solid #888;
  225. width: 400px;
  226. background: #eee;
  227. color: black !important;
  228. padding: 1px;
  229. }
  230. div.progress-done {
  231. background: #ea6 !important;
  232. color: black !important;
  233. text-align: center;
  234. padding: 1px;
  235. }
  236. /* things to hide in printouts */
  237. @media print {
  238. .actions {
  239. display: none;
  240. }
  241. .tags {
  242. display: none;
  243. }
  244. .feedbutton {
  245. display: none;
  246. }
  247. #searchform {
  248. display: none;
  249. }
  250. #blogform {
  251. display: none;
  252. }
  253. #backlinks {
  254. display: none;
  255. }
  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. }
  290. .popup:hover .balloon,
  291. .popup:focus .balloon {
  292. position: absolute;
  293. display: inline;
  294. margin: 1em 0 0 -2em;
  295. padding: 0.625em;
  296. border: 2px solid;
  297. background-color: #dee;
  298. color: black;
  299. }
  300. /* form styling */
  301. fieldset {
  302. margin: 1ex 0;
  303. border: 1px solid black;
  304. }
  305. legend {
  306. padding: 0 1ex;
  307. }
  308. .fb_submit {
  309. float: left;
  310. margin: 2px 0;
  311. }
  312. label.block {
  313. display: block;
  314. }
  315. label.inline {
  316. display: inline;
  317. }
  318. input#openid_identifier {
  319. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  320. background-color: #fff;
  321. background-position: 0 50%;
  322. color: #000;
  323. padding-left: 18px;
  324. }
  325. input#searchbox {
  326. background: url(wikiicons/search-bg.gif) no-repeat;
  327. background-color: #fff;
  328. background-position: 100% 50%;
  329. color: #000;
  330. padding-right: 16px;
  331. }
  332. /* invalid form fields */
  333. .fb_invalid {
  334. color: red;
  335. background: white !important;
  336. }
  337. /* required form fields */
  338. .fb_required {
  339. font-weight: bold;
  340. }
  341. /* highlight plugin */
  342. pre.hl {
  343. color: #000000;
  344. background-color: #ffffff;
  345. }
  346. .hl.num {
  347. color: #2928ff;
  348. }
  349. .hl.esc {
  350. color: #ff00ff;
  351. }
  352. .hl.str {
  353. color: #ff0000;
  354. }
  355. .hl.dstr {
  356. color: #818100;
  357. }
  358. .hl.slc {
  359. color: #838183;
  360. font-style: italic;
  361. }
  362. .hl.com {
  363. color: #838183;
  364. font-style: italic;
  365. }
  366. .hl.dir {
  367. color: #008200;
  368. }
  369. .hl.sym {
  370. color: #000000;
  371. }
  372. .hl.line {
  373. color: #555555;
  374. }
  375. .hl.mark {
  376. background-color: #ffffbb;
  377. }
  378. .hl.kwa {
  379. color: #000000;
  380. font-weight: bold;
  381. }
  382. .hl.kwb {
  383. color: #830000;
  384. }
  385. .hl.kwc {
  386. color: #000000;
  387. font-weight: bold;
  388. }
  389. .hl.kwd {
  390. color: #010181;
  391. }
  392. /* calendar plugin */
  393. .month-calendar-day-this-day,
  394. .year-calendar-this-month {
  395. background-color: #eee;
  396. }
  397. .month-calendar-day-head,
  398. .month-calendar-day-nolink,
  399. .month-calendar-day-link,
  400. .month-calendar-day-this-day,
  401. .month-calendar-day-future {
  402. text-align: right;
  403. }
  404. .month-calendar-arrow A:link,
  405. .year-calendar-arrow A:link,
  406. .month-calendar-arrow A:visited,
  407. .year-calendar-arrow A:visited {
  408. text-decoration: none;
  409. font-weight: normal;
  410. font-size: 150%;
  411. }
  412. /* outlines */
  413. li.L1 {
  414. list-style: upper-roman;
  415. }
  416. li.L2 {
  417. list-style: decimal;
  418. }
  419. li.L3 {
  420. list-style: lower-alpha;
  421. }
  422. li.L4 {
  423. list-style: disc;
  424. }
  425. li.L5 {
  426. list-style: square;
  427. }
  428. li.L6 {
  429. list-style: circle;
  430. }
  431. li.L7 {
  432. list-style: lower-roman;
  433. }
  434. li.L8 {
  435. list-style: upper-alpha;
  436. }
  437. /* tag cloud */
  438. .pagecloud {
  439. float: right;
  440. width: 30%;
  441. text-align: center;
  442. padding: 10px 10px;
  443. border: 1px solid #aaa;
  444. background: #eee;
  445. color: black !important;
  446. }
  447. .smallestPC {
  448. font-size: 70%;
  449. }
  450. .smallPC {
  451. font-size: 85%;
  452. }
  453. .normalPC {
  454. font-size: 100%;
  455. }
  456. .bigPC {
  457. font-size: 115%;
  458. }
  459. .biggestPC {
  460. font-size: 130%;
  461. }
  462. /* orange feed button */
  463. .feedbutton {
  464. background: #ff6600;
  465. color: white !important;
  466. border-left: 1px solid #cc9966;
  467. border-top: 1px solid #ccaa99;
  468. border-right: 1px solid #993300;
  469. border-bottom: 1px solid #331100;
  470. padding: 0px 0.5em 0px 0.5em;
  471. font-family: sans-serif;
  472. font-weight: bold;
  473. font-size: small;
  474. text-decoration: none;
  475. margin-top: 1em;
  476. }
  477. .feedbutton:hover {
  478. color: white !important;
  479. background: #ff9900;
  480. }
  481. .FlattrButton {
  482. display: none;
  483. }
  484. /* openid selector */
  485. #openid_choice {
  486. display: none;
  487. }
  488. #openid_input_area {
  489. clear: both;
  490. padding: 10px;
  491. }
  492. #openid_btns, #openid_btns br {
  493. clear: both;
  494. }
  495. #openid_highlight {
  496. background-color: black;
  497. float: left;
  498. }
  499. .openid_large_btn {
  500. padding: 1em 1.5em;
  501. border: 1px solid #DDD;
  502. margin: 3px;
  503. float: left;
  504. }
  505. .openid_small_btn {
  506. padding: 4px 4px;
  507. border: 1px solid #DDD;
  508. margin: 3px;
  509. float: left;
  510. }
  511. a.openid_large_btn:focus {
  512. outline: none;
  513. }
  514. a.openid_large_btn:focus {
  515. -moz-outline-style: none;
  516. }
  517. .openid_selected {
  518. border: 4px solid #DDD;
  519. }