summaryrefslogtreecommitdiff
path: root/goldtype/style.scss
blob: b0035240668a99427fd18d7b7c53d87eb1fa21ca (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. .recentchanges .revert {
  153. float: right;
  154. margin: 0;
  155. width: 60%;
  156. }
  157. .blogform, #blogform {
  158. padding: 10px 10px;
  159. border: 1px solid #aaa;
  160. background: #eee;
  161. color: black !important;
  162. width: auto;
  163. overflow: auto;
  164. }
  165. .inlinepage {
  166. padding: 10px 10px;
  167. border: 1px solid #aaa;
  168. overflow: auto;
  169. }
  170. .pagedate,
  171. .pagelicense,
  172. .pagecopyright {
  173. font-style: italic;
  174. display: block;
  175. margin-top: 1em;
  176. }
  177. .error {
  178. color: #C00;
  179. }
  180. .sidebar {
  181. width: 20ex;
  182. float: right;
  183. margin-left: 4px;
  184. margin-bottom: 4px;
  185. margin-top: -1px;
  186. padding: 0ex 2ex;
  187. background: white;
  188. border: 1px solid black;
  189. color: black !important;
  190. }
  191. hr.poll {
  192. height: 10pt;
  193. color: white !important;
  194. background: #eee;
  195. border: 2px solid black;
  196. }
  197. div.poll {
  198. margin-top: 1ex;
  199. margin-bottom: 1ex;
  200. padding: 1ex 1ex;
  201. border: 1px solid #aaa;
  202. }
  203. span.color {
  204. padding: 2px;
  205. }
  206. .comment-header,
  207. .microblog-header {
  208. font-style: italic;
  209. margin-top: .3em;
  210. }
  211. .comment .author,
  212. .microblog .author {
  213. font-weight: bold;
  214. }
  215. .comment-subject {
  216. font-weight: bold;
  217. }
  218. .comment-avatar {
  219. float: right;
  220. }
  221. .comment {
  222. border: 1px solid #aaa;
  223. padding: 3px;
  224. }
  225. div.progress {
  226. margin-top: 1ex;
  227. margin-bottom: 1ex;
  228. border: 1px solid #888;
  229. width: 400px;
  230. background: #eee;
  231. color: black !important;
  232. padding: 1px;
  233. }
  234. div.progress-done {
  235. background: #ea6 !important;
  236. color: black !important;
  237. text-align: center;
  238. padding: 1px;
  239. }
  240. /* things to hide in printouts */
  241. @media print {
  242. .actions {
  243. display: none;
  244. }
  245. .tags {
  246. display: none;
  247. }
  248. .feedbutton {
  249. display: none;
  250. }
  251. #searchform {
  252. display: none;
  253. }
  254. .blogform, #blogform {
  255. display: none;
  256. }
  257. #backlinks {
  258. display: none;
  259. }
  260. }
  261. /* infobox template */
  262. .infobox {
  263. float: right;
  264. margin-left: 2ex;
  265. margin-top: 1ex;
  266. margin-bottom: 1ex;
  267. padding: 1ex 1ex;
  268. border: 1px solid #aaa;
  269. background: white;
  270. color: black !important;
  271. }
  272. /* notebox template */
  273. .notebox {
  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. width: 25%;
  281. background: white;
  282. color: black !important;
  283. }
  284. /* popup template and backlinks hiding */
  285. .popup {
  286. border-bottom: 1px dotted #366;
  287. color: #366;
  288. }
  289. .popup .balloon,
  290. .popup .paren,
  291. .popup .expand {
  292. display: none;
  293. }
  294. .popup:hover .balloon,
  295. .popup:focus .balloon {
  296. position: absolute;
  297. display: inline;
  298. margin: 1em 0 0 -2em;
  299. padding: 0.625em;
  300. border: 2px solid;
  301. background-color: #dee;
  302. color: black;
  303. }
  304. /* form styling */
  305. fieldset {
  306. margin: 1ex 0;
  307. border: 1px solid black;
  308. }
  309. legend {
  310. padding: 0 1ex;
  311. }
  312. .fb_submit {
  313. float: left;
  314. margin: 2px 0;
  315. }
  316. label.block {
  317. display: block;
  318. }
  319. label.inline {
  320. display: inline;
  321. }
  322. input#openid_identifier {
  323. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  324. background-color: #fff;
  325. background-position: 0 50%;
  326. color: #000;
  327. padding-left: 18px;
  328. }
  329. input#searchbox {
  330. background: url(wikiicons/search-bg.gif) no-repeat;
  331. background-color: #fff;
  332. background-position: 100% 50%;
  333. color: #000;
  334. padding-right: 16px;
  335. }
  336. /* invalid form fields */
  337. .fb_invalid {
  338. color: red;
  339. background: white !important;
  340. }
  341. /* required form fields */
  342. .fb_required {
  343. font-weight: bold;
  344. }
  345. /* highlight plugin */
  346. pre.hl {
  347. color: #000000;
  348. background-color: #ffffff;
  349. }
  350. .hl.num {
  351. color: #2928ff;
  352. }
  353. .hl.esc {
  354. color: #ff00ff;
  355. }
  356. .hl.str {
  357. color: #ff0000;
  358. }
  359. .hl.dstr {
  360. color: #818100;
  361. }
  362. .hl.slc {
  363. color: #838183;
  364. font-style: italic;
  365. }
  366. .hl.com {
  367. color: #838183;
  368. font-style: italic;
  369. }
  370. .hl.dir {
  371. color: #008200;
  372. }
  373. .hl.sym {
  374. color: #000000;
  375. }
  376. .hl.line {
  377. color: #555555;
  378. }
  379. .hl.mark {
  380. background-color: #ffffbb;
  381. }
  382. .hl.kwa {
  383. color: #000000;
  384. font-weight: bold;
  385. }
  386. .hl.kwb {
  387. color: #830000;
  388. }
  389. .hl.kwc {
  390. color: #000000;
  391. font-weight: bold;
  392. }
  393. .hl.kwd {
  394. color: #010181;
  395. }
  396. /* calendar plugin */
  397. .month-calendar-day-this-day,
  398. .year-calendar-this-month {
  399. background-color: #eee;
  400. }
  401. .month-calendar-day-head,
  402. .month-calendar-day-nolink,
  403. .month-calendar-day-link,
  404. .month-calendar-day-this-day,
  405. .month-calendar-day-future {
  406. text-align: right;
  407. }
  408. .month-calendar-arrow A:link,
  409. .year-calendar-arrow A:link,
  410. .month-calendar-arrow A:visited,
  411. .year-calendar-arrow A:visited {
  412. text-decoration: none;
  413. font-weight: normal;
  414. font-size: 150%;
  415. }
  416. /* outlines */
  417. li.L1 {
  418. list-style: upper-roman;
  419. }
  420. li.L2 {
  421. list-style: decimal;
  422. }
  423. li.L3 {
  424. list-style: lower-alpha;
  425. }
  426. li.L4 {
  427. list-style: disc;
  428. }
  429. li.L5 {
  430. list-style: square;
  431. }
  432. li.L6 {
  433. list-style: circle;
  434. }
  435. li.L7 {
  436. list-style: lower-roman;
  437. }
  438. li.L8 {
  439. list-style: upper-alpha;
  440. }
  441. /* tag cloud */
  442. .pagecloud {
  443. float: right;
  444. width: 30%;
  445. text-align: center;
  446. padding: 10px 10px;
  447. border: 1px solid #aaa;
  448. background: #eee;
  449. color: black !important;
  450. }
  451. .smallestPC {
  452. font-size: 70%;
  453. }
  454. .smallPC {
  455. font-size: 85%;
  456. }
  457. .normalPC {
  458. font-size: 100%;
  459. }
  460. .bigPC {
  461. font-size: 115%;
  462. }
  463. .biggestPC {
  464. font-size: 130%;
  465. }
  466. /* orange feed button */
  467. .feedbutton {
  468. background: #ff6600;
  469. color: white !important;
  470. border-left: 1px solid #cc9966;
  471. border-top: 1px solid #ccaa99;
  472. border-right: 1px solid #993300;
  473. border-bottom: 1px solid #331100;
  474. padding: 0px 0.5em 0px 0.5em;
  475. font-family: sans-serif;
  476. font-weight: bold;
  477. font-size: small;
  478. text-decoration: none;
  479. margin-top: 1em;
  480. }
  481. .feedbutton:hover {
  482. color: white !important;
  483. background: #ff9900;
  484. }
  485. .FlattrButton {
  486. display: none;
  487. }
  488. /* openid selector */
  489. #openid_choice {
  490. display: none;
  491. }
  492. #openid_input_area {
  493. clear: both;
  494. padding: 10px;
  495. }
  496. #openid_btns, #openid_btns br {
  497. clear: both;
  498. }
  499. #openid_highlight {
  500. background-color: black;
  501. float: left;
  502. }
  503. .openid_large_btn {
  504. padding: 1em 1.5em;
  505. border: 1px solid #DDD;
  506. margin: 3px;
  507. float: left;
  508. }
  509. .openid_small_btn {
  510. padding: 4px 4px;
  511. border: 1px solid #DDD;
  512. margin: 3px;
  513. float: left;
  514. }
  515. a.openid_large_btn:focus {
  516. outline: none;
  517. }
  518. a.openid_large_btn:focus {
  519. outline-style: none;
  520. }
  521. .openid_selected {
  522. border: 4px solid #DDD;
  523. }
  524. /* bzed theme for ikiwiki
  525. *
  526. * Copyright (C) 2010 Bernd Zeimetz
  527. * Licensed under same license as ikiwiki: GPL v2 or later
  528. *
  529. * Parts of this file are based on the awesome YUI,
  530. * these parts will stay under the BSD license,
  531. * but you're free to apply the GPLv2 to them, of course.
  532. */
  533. /* -------------------------------------------------------------------------------------------------
  534. Based on reset-fonts-grids.css from yui.
  535. Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  536. Code licensed under the BSD License:
  537. http://developer.yahoo.net/yui/license.txt
  538. version: 2.5.1
  539. */
  540. body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, legend, p, blockquote, th, td {
  541. margin: 0;
  542. padding: 0;
  543. }
  544. table {
  545. border-collapse: collapse;
  546. border-spacing: 0;
  547. }
  548. img {
  549. border: 0;
  550. }
  551. address, caption, cite, code, dfn, em, strong, th, var {
  552. font-style: normal;
  553. font-weight: normal;
  554. }
  555. li {
  556. list-style: none;
  557. }
  558. caption, th {
  559. text-align: left;
  560. }
  561. h1, h2, h3, h4, h5, h6 {
  562. font-size: 100%;
  563. font-weight: normal;
  564. }
  565. q:before, q:after {
  566. content: '';
  567. }
  568. abbr, acronym {
  569. border: 0;
  570. font-variant: normal;
  571. }
  572. sup {
  573. vertical-align: text-top;
  574. }
  575. sub {
  576. vertical-align: text-bottom;
  577. }
  578. input, textarea, select {
  579. font-family: inherit;
  580. font-size: 13px/1.23;
  581. font-weight: normal;
  582. }
  583. input, textarea, select {
  584. *font-size: 100%;
  585. }
  586. legend {
  587. color: #000;
  588. }
  589. /* body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} */
  590. body {
  591. font: 13px/1.231 "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
  592. *font-size: small;
  593. *font: x-small;
  594. }
  595. table {
  596. font-size: inherit;
  597. font: 100%;
  598. }
  599. pre, code, kbd, samp, tt {
  600. font-family: monospace;
  601. }
  602. body {
  603. text-align: left;
  604. }
  605. .inlinefooter {
  606. clear: both;
  607. }
  608. /* #doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.25em;min-width:750px;} */
  609. .page {
  610. margin: auto;
  611. text-align: left;
  612. width: 57.69em;
  613. *width: 56.25em;
  614. min-width: 750px;
  615. }
  616. /* #doc3{margin:auto 10px;width:auto;} */
  617. .page {
  618. margin: auto 10px;
  619. width: auto;
  620. }
  621. #pagebody, .sidebar {
  622. position: relative;
  623. }
  624. #pagebody, .sidebar {
  625. _position: static;
  626. }
  627. #pagebody {
  628. position: static;
  629. }
  630. .sidebar {
  631. float: right;
  632. width: 16.5em;
  633. *width: 16em;
  634. }
  635. #pagebody {
  636. margin-right: 19em;
  637. *margin-right: 18.5em;
  638. }
  639. /* #content {float:none;width:auto;} */
  640. #pagebody:after, .sidebar:after, .page:after {
  641. content: ".";
  642. display: block;
  643. height: 0;
  644. clear: both;
  645. visibility: hidden;
  646. }
  647. .page f {
  648. zoom: 1;
  649. }
  650. /* ------------------------------------------------------------------------------------------------
  651. * Taken from base.css, part of YUI's CSS Foundation
  652. * Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  653. * Code licensed under the BSD License:
  654. * http://developer.yahoo.net/yui/license.txt
  655. * version: 2.5.1
  656. */
  657. h1 {
  658. /*18px via YUI Fonts CSS foundation*/
  659. font-size: 138.5%;
  660. }
  661. h2 {
  662. /*16px via YUI Fonts CSS foundation*/
  663. font-size: 123.1%;
  664. }
  665. h3 {
  666. /*14px via YUI Fonts CSS foundation*/
  667. font-size: 108%;
  668. }
  669. h1, h2, h3 {
  670. /* top & bottom margin based on font size */
  671. margin: 1em 0;
  672. }
  673. h1, h2, h3, h4, h5, h6, strong {
  674. /*bringing boldness back to headers and the strong element*/
  675. font-weight: bold;
  676. }
  677. abbr, acronym {
  678. /*indicating to users that more info is available */
  679. border-bottom: 1px dotted #000;
  680. cursor: help;
  681. }
  682. em {
  683. /*bringing italics back to the em element*/
  684. font-style: italic;
  685. }
  686. blockquote, ul, ol, dl {
  687. /*giving blockquotes and lists room to breath*/
  688. margin: 1em;
  689. }
  690. ol, ul, dl {
  691. /*bringing lists on to the page with breathing room */
  692. margin-left: 2em;
  693. }
  694. ol li {
  695. /*giving OL's LIs generated numbers*/
  696. list-style: decimal outside;
  697. }
  698. ul li {
  699. /*giving UL's LIs generated disc markers*/
  700. list-style: disc outside;
  701. }
  702. dl dd {
  703. /*giving UL's LIs generated numbers*/
  704. margin-left: 1em;
  705. }
  706. th, td {
  707. /*borders and padding to make the table readable*/
  708. border: 1px solid #000;
  709. padding: .5em;
  710. }
  711. th {
  712. /*distinguishing table headers from data cells*/
  713. font-weight: bold;
  714. text-align: center;
  715. }
  716. caption {
  717. /*coordinated margin to match cell's padding*/
  718. margin-bottom: .5em;
  719. /*centered so it doesn't blend in to other content*/
  720. text-align: center;
  721. }
  722. p, fieldset, table, pre {
  723. /*so things don't run into each other*/
  724. margin-bottom: 1em;
  725. }
  726. #searchbox {
  727. width: 21.5em;
  728. *width: 21em;
  729. }
  730. /* ------------------------------------------------------------------------------------------------
  731. * All CSS below is
  732. * Copyright (C) 2010 Bernd Zeimetz
  733. * Licensed under same license as ikiwiki: GPL v2 or later */
  734. .page, .pageheader, .sidebar, #content, #comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody {
  735. border: none;
  736. }
  737. html, body {
  738. color: #000;
  739. /* background-image: url('body_background.png');
  740. background-repeat: repeat; */
  741. background-color: #8da1b8;
  742. }
  743. body {
  744. padding-left: 5%;
  745. padding-right: 5%;
  746. padding-top: 1em;
  747. padding-bottom: 1em;
  748. }
  749. .page {
  750. background: #fff;
  751. border: outset #ccc;
  752. padding-left: 1em;
  753. padding-right: 1em;
  754. padding-top: 1em;
  755. }
  756. .pageheader {
  757. background-image: url("header_background.png");
  758. background-repeat: repeat-x;
  759. height: 100px;
  760. padding-left: 1em;
  761. padding-right: 1em;
  762. padding-bottom: 1em;
  763. padding-top: 1em;
  764. }
  765. .pageheader .header {
  766. text-align: top;
  767. clear: both;
  768. }
  769. .pageheader .header form {
  770. padding: 0em 0em 0em 0em;
  771. float: right;
  772. margin-top: 0.5em;
  773. }
  774. .pageheader .header .title, .pageheader .header .parentlinks,
  775. .inlinepage .inlineheader,
  776. h1, h2, h3, h4, h5, h6 {
  777. margin-top: 1em;
  778. font-weight: bold;
  779. }
  780. .pageheader .header .title, .pageheader .header .parentlinks, .pageheader .actions ul li, .pageheader .header span, .pageheader #otherlanguages ul li {
  781. padding: 0.25em 0.25em 0.25em 0.25em;
  782. background-image: url("background_darkness.png");
  783. background-repeat: repeat;
  784. color: white;
  785. }
  786. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a, .pageheader #otherlanguages ul li a {
  787. color: white;
  788. text-decoration: none;
  789. }
  790. .pageheader .actions {
  791. text-align: right;
  792. vertical-align: bottom;
  793. clear: both;
  794. }
  795. #pagebody {
  796. padding-right: 1em;
  797. padding-bottom: 2em;
  798. border-right: ridge #eee;
  799. clear: none;
  800. }
  801. #content a, #comments a, .sidebar a {
  802. color: #315485;
  803. text-decoration: none;
  804. font-weight: bold;
  805. }
  806. .sidebar h2 {
  807. border-bottom: ridge #eee;
  808. padding-right: 0;
  809. }
  810. .sidebar .menu {
  811. margin-left: 1em;
  812. }
  813. .inlinepage, .recentchanges, div.recentchanges {
  814. clear: none !important;
  815. margin-bottom: 2em;
  816. }
  817. .inlinefooter {
  818. border-top: 1px dotted #315485;
  819. }
  820. .inlinefooter .pagedate, .inlinefooter .tags {
  821. display: inline;
  822. clear: none;
  823. margin-right: 2em;
  824. }
  825. .calendar .month-calendar th, .calendar .month-calendar td {
  826. padding: 0.22em;
  827. }
  828. @media print {
  829. .sidebar, .page .pageheader .header .parentlinks {
  830. content: ".";
  831. display: block;
  832. height: 0;
  833. visibility: hidden;
  834. }
  835. .page {
  836. padding: 1em 1em 1em 1em;
  837. }
  838. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
  839. color: #315485;
  840. }
  841. #content, #comments, #pagebody {
  842. margin-right: 0;
  843. *margin-right: 0;
  844. border-right: none;
  845. }
  846. }
  847. /*
  848. * goldtype theme for ikiwiki
  849. */
  850. .pageheader {
  851. background-repeat: no-repeat;
  852. background-color: #f2d98d;
  853. padding: 0;
  854. padding-right: 1em;
  855. margin-bottom: 2em;
  856. }
  857. html, body {
  858. background-color: #f2d98d;
  859. }
  860. #content a:hover, #comments a:hover, .sidebar a:hover,
  861. #content a:visited:hover, #comments a:visited:hover, .sidebar a:visited:hover {
  862. color: red;
  863. }
  864. #content a:visited, #comments a:visited, .sidebar a:visited {
  865. color: #37485e;
  866. }