summaryrefslogtreecommitdiff
path: root/default/style.scss
blob: e706894d519fd3b5cb532b4d6d086936ea0a43d3 (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 {
  250. display: none;
  251. }
  252. .tags {
  253. display: none;
  254. }
  255. .trails {
  256. display: none;
  257. }
  258. .feedbutton {
  259. display: none;
  260. }
  261. #searchform {
  262. display: none;
  263. }
  264. .blogform, #blogform {
  265. display: none;
  266. }
  267. #backlinks {
  268. display: none;
  269. }
  270. }
  271. /* infobox template */
  272. .infobox {
  273. float: right;
  274. margin-left: 2ex;
  275. margin-top: 1ex;
  276. margin-bottom: 1ex;
  277. padding: 1ex 1ex;
  278. border: 1px solid #aaa;
  279. background: white;
  280. color: black !important;
  281. }
  282. /* notebox template */
  283. .notebox {
  284. float: right;
  285. margin-left: 2ex;
  286. margin-top: 1ex;
  287. margin-bottom: 1ex;
  288. padding: 1ex 1ex;
  289. border: 1px solid #aaa;
  290. width: 25%;
  291. background: white;
  292. color: black !important;
  293. }
  294. /* popup template and backlinks hiding */
  295. .popup {
  296. border-bottom: 1px dotted #366;
  297. color: #366;
  298. }
  299. .popup .balloon,
  300. .popup .paren,
  301. .popup .expand {
  302. display: none;
  303. text-align: left;
  304. }
  305. .popup:hover .balloon,
  306. .popup:focus .balloon {
  307. position: absolute;
  308. display: inline;
  309. margin: 1em 0 0 -2em;
  310. padding: 0.625em;
  311. border: 2px solid;
  312. background-color: #dee;
  313. color: black;
  314. }
  315. /* form styling */
  316. fieldset {
  317. margin: 1ex 0;
  318. border: 1px solid black;
  319. }
  320. legend {
  321. padding: 0 1ex;
  322. }
  323. .fb_submit {
  324. float: left;
  325. margin: 2px 0;
  326. }
  327. label.block {
  328. display: block;
  329. }
  330. label.inline {
  331. display: inline;
  332. }
  333. input#openid_identifier {
  334. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  335. background-color: #fff;
  336. background-position: 0 50%;
  337. color: #000;
  338. padding-left: 18px;
  339. }
  340. input#searchbox {
  341. background: url(wikiicons/search-bg.gif) no-repeat;
  342. background-color: #fff;
  343. background-position: 100% 50%;
  344. color: #000;
  345. padding-right: 16px;
  346. }
  347. /* invalid form fields */
  348. .fb_invalid {
  349. color: red;
  350. background: white !important;
  351. }
  352. /* required form fields */
  353. .fb_required {
  354. font-weight: bold;
  355. }
  356. /* highlight plugin */
  357. pre.hl {
  358. color: #000000;
  359. background-color: #ffffff;
  360. }
  361. .hl.num {
  362. color: #2928ff;
  363. }
  364. .hl.esc {
  365. color: #ff00ff;
  366. }
  367. .hl.str {
  368. color: #ff0000;
  369. }
  370. .hl.dstr {
  371. color: #818100;
  372. }
  373. .hl.slc {
  374. color: #838183;
  375. font-style: italic;
  376. }
  377. .hl.com {
  378. color: #838183;
  379. font-style: italic;
  380. }
  381. .hl.dir {
  382. color: #008200;
  383. }
  384. .hl.sym {
  385. color: #000000;
  386. }
  387. .hl.line {
  388. color: #555555;
  389. }
  390. .hl.mark {
  391. background-color: #ffffbb;
  392. }
  393. .hl.kwa {
  394. color: #000000;
  395. font-weight: bold;
  396. }
  397. .hl.kwb {
  398. color: #830000;
  399. }
  400. .hl.kwc {
  401. color: #000000;
  402. font-weight: bold;
  403. }
  404. .hl.kwd {
  405. color: #010181;
  406. }
  407. /* calendar plugin */
  408. .month-calendar-day-this-day,
  409. .year-calendar-this-month {
  410. background-color: #eee;
  411. }
  412. .month-calendar-day-head,
  413. .month-calendar-day-nolink,
  414. .month-calendar-day-link,
  415. .month-calendar-day-this-day,
  416. .month-calendar-day-future {
  417. text-align: right;
  418. }
  419. .month-calendar-arrow A:link,
  420. .year-calendar-arrow A:link,
  421. .month-calendar-arrow A:visited,
  422. .year-calendar-arrow A:visited {
  423. text-decoration: none;
  424. font-weight: normal;
  425. font-size: 150%;
  426. }
  427. /* outlines */
  428. li.L1 {
  429. list-style: upper-roman;
  430. }
  431. li.L2 {
  432. list-style: decimal;
  433. }
  434. li.L3 {
  435. list-style: lower-alpha;
  436. }
  437. li.L4 {
  438. list-style: disc;
  439. }
  440. li.L5 {
  441. list-style: square;
  442. }
  443. li.L6 {
  444. list-style: circle;
  445. }
  446. li.L7 {
  447. list-style: lower-roman;
  448. }
  449. li.L8 {
  450. list-style: upper-alpha;
  451. }
  452. /* tag cloud */
  453. .pagecloud {
  454. float: right;
  455. width: 30%;
  456. text-align: center;
  457. padding: 10px 10px;
  458. border: 1px solid #aaa;
  459. background: #eee;
  460. color: black !important;
  461. }
  462. .smallestPC {
  463. font-size: 70%;
  464. }
  465. .smallPC {
  466. font-size: 85%;
  467. }
  468. .normalPC {
  469. font-size: 100%;
  470. }
  471. .bigPC {
  472. font-size: 115%;
  473. }
  474. .biggestPC {
  475. font-size: 130%;
  476. }
  477. /* orange feed button */
  478. .feedbutton {
  479. background: #ff6600;
  480. color: white !important;
  481. border-left: 1px solid #cc9966;
  482. border-top: 1px solid #ccaa99;
  483. border-right: 1px solid #993300;
  484. border-bottom: 1px solid #331100;
  485. padding: 0px 0.5em 0px 0.5em;
  486. font-family: sans-serif;
  487. font-weight: bold;
  488. font-size: small;
  489. text-decoration: none;
  490. margin-top: 1em;
  491. }
  492. .feedbutton:hover {
  493. color: white !important;
  494. background: #ff9900;
  495. }
  496. .FlattrButton {
  497. display: none;
  498. }
  499. /* openid selector */
  500. #openid_choice {
  501. display: none;
  502. }
  503. #openid_input_area {
  504. clear: both;
  505. padding: 10px;
  506. }
  507. #openid_btns, #openid_btns br {
  508. clear: both;
  509. }
  510. #openid_highlight {
  511. background-color: black;
  512. float: left;
  513. }
  514. .openid_large_btn {
  515. padding: 1em 1.5em;
  516. border: 1px solid #DDD;
  517. margin: 3px;
  518. float: left;
  519. }
  520. .openid_small_btn {
  521. padding: 4px 4px;
  522. border: 1px solid #DDD;
  523. margin: 3px;
  524. float: left;
  525. }
  526. a.openid_large_btn:focus {
  527. outline: none;
  528. }
  529. a.openid_large_btn:focus {
  530. outline-style: none;
  531. }
  532. .openid_selected {
  533. border: 4px solid #DDD;
  534. }
  535. .fileupload-content .ui-progressbar {
  536. width: 200px;
  537. height: 20px;
  538. }
  539. .fileupload-content .ui-progressbar-value {
  540. background: url(ikiwiki/images/pbar-ani.gif);
  541. }
  542. .trails {
  543. margin-top: 1em;
  544. margin-bottom: 1em;
  545. }
  546. .trail {
  547. display: block;
  548. clear: both;
  549. position: relative;
  550. }
  551. .trailprev {
  552. display: block;
  553. text-align: left;
  554. position: absolute;
  555. top: 0%;
  556. left: 3%;
  557. width: 30%;
  558. }
  559. .trailup {
  560. display: block;
  561. text-align: center;
  562. margin-left: 35%;
  563. margin-right: 35%;
  564. }
  565. .trailnext {
  566. display: block;
  567. text-align: right;
  568. position: absolute;
  569. top: 0%;
  570. width: 30%;
  571. right: 3%;
  572. }
  573. .trailsep {
  574. display: none;
  575. }