summaryrefslogtreecommitdiff
path: root/goldtype/style.css
blob: 3656fd9aff2df7c5bfc7dfcbbc1c1ee3cbc594f4 (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 { display: none; }
  250. .tags { display: none; }
  251. .trails { display: none; }
  252. .feedbutton { display: none; }
  253. #searchform { display: none; }
  254. .blogform, #blogform { display: none; }
  255. #backlinks { display: none; }
  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. text-align: left;
  290. }
  291. .popup:hover .balloon,
  292. .popup:focus .balloon {
  293. position: absolute;
  294. display: inline;
  295. margin: 1em 0 0 -2em;
  296. padding: 0.625em;
  297. border: 2px solid;
  298. background-color: #dee;
  299. color: black;
  300. }
  301. /* form styling */
  302. fieldset {
  303. margin: 1ex 0;
  304. border: 1px solid black;
  305. }
  306. legend {
  307. padding: 0 1ex;
  308. }
  309. .fb_submit {
  310. float: left;
  311. margin: 2px 0;
  312. }
  313. label.block {
  314. display: block;
  315. }
  316. label.inline {
  317. display: inline;
  318. }
  319. input#openid_identifier {
  320. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  321. background-color: #fff;
  322. background-position: 0 50%;
  323. color: #000;
  324. padding-left: 18px;
  325. }
  326. input#searchbox {
  327. background: url(wikiicons/search-bg.gif) no-repeat;
  328. background-color: #fff;
  329. background-position: 100% 50%;
  330. color: #000;
  331. padding-right: 16px;
  332. }
  333. /* invalid form fields */
  334. .fb_invalid {
  335. color: red;
  336. background: white !important;
  337. }
  338. /* required form fields */
  339. .fb_required {
  340. font-weight: bold;
  341. }
  342. /* highlight plugin */
  343. pre.hl { color:#000000; background-color:#ffffff; }
  344. .hl.num { color:#2928ff; }
  345. .hl.esc { color:#ff00ff; }
  346. .hl.str { color:#ff0000; }
  347. .hl.dstr { color:#818100; }
  348. .hl.slc { color:#838183; font-style:italic; }
  349. .hl.com { color:#838183; font-style:italic; }
  350. .hl.dir { color:#008200; }
  351. .hl.sym { color:#000000; }
  352. .hl.line { color:#555555; }
  353. .hl.mark { background-color:#ffffbb; }
  354. .hl.kwa { color:#000000; font-weight:bold; }
  355. .hl.kwb { color:#830000; }
  356. .hl.kwc { color:#000000; font-weight:bold; }
  357. .hl.kwd { color:#010181; }
  358. /* calendar plugin */
  359. .month-calendar-day-this-day,
  360. .year-calendar-this-month {
  361. background-color: #eee;
  362. }
  363. .month-calendar-day-head,
  364. .month-calendar-day-nolink,
  365. .month-calendar-day-link,
  366. .month-calendar-day-this-day,
  367. .month-calendar-day-future {
  368. text-align: right;
  369. }
  370. .month-calendar-arrow A:link,
  371. .year-calendar-arrow A:link,
  372. .month-calendar-arrow A:visited,
  373. .year-calendar-arrow A:visited {
  374. text-decoration: none;
  375. font-weight: normal;
  376. font-size: 150%;
  377. }
  378. /* outlines */
  379. li.L1 { list-style: upper-roman; }
  380. li.L2 { list-style: decimal; }
  381. li.L3 { list-style: lower-alpha; }
  382. li.L4 { list-style: disc; }
  383. li.L5 { list-style: square; }
  384. li.L6 { list-style: circle; }
  385. li.L7 { list-style: lower-roman; }
  386. li.L8 { list-style: upper-alpha; }
  387. /* tag cloud */
  388. .pagecloud {
  389. float: right;
  390. width: 30%;
  391. text-align: center;
  392. padding: 10px 10px;
  393. border: 1px solid #aaa;
  394. background: #eee;
  395. color: black !important;
  396. }
  397. .smallestPC { font-size: 70%; }
  398. .smallPC { font-size: 85%; }
  399. .normalPC { font-size: 100%; }
  400. .bigPC { font-size: 115%; }
  401. .biggestPC { font-size: 130%; }
  402. /* orange feed button */
  403. .feedbutton {
  404. background: #ff6600;
  405. color: white !important;
  406. border-left: 1px solid #cc9966;
  407. border-top: 1px solid #ccaa99;
  408. border-right: 1px solid #993300;
  409. border-bottom: 1px solid #331100;
  410. padding: 0px 0.5em 0px 0.5em;
  411. font-family: sans-serif;
  412. font-weight: bold;
  413. font-size: small;
  414. text-decoration: none;
  415. margin-top: 1em;
  416. }
  417. .feedbutton:hover {
  418. color: white !important;
  419. background: #ff9900;
  420. }
  421. .FlattrButton {
  422. display: none;
  423. }
  424. /* openid selector */
  425. #openid_choice {
  426. display: none;
  427. }
  428. #openid_input_area {
  429. clear: both;
  430. padding: 10px;
  431. }
  432. #openid_btns, #openid_btns br {
  433. clear: both;
  434. }
  435. #openid_highlight {
  436. background-color: black;
  437. float: left;
  438. }
  439. .openid_large_btn {
  440. padding: 1em 1.5em;
  441. border: 1px solid #DDD;
  442. margin: 3px;
  443. float: left;
  444. }
  445. .openid_small_btn {
  446. padding: 4px 4px;
  447. border: 1px solid #DDD;
  448. margin: 3px;
  449. float: left;
  450. }
  451. a.openid_large_btn:focus {
  452. outline: none;
  453. }
  454. a.openid_large_btn:focus {
  455. outline-style: none;
  456. }
  457. .openid_selected {
  458. border: 4px solid #DDD;
  459. }
  460. .fileupload-content .ui-progressbar {
  461. width: 200px;
  462. height: 20px;
  463. }
  464. .fileupload-content .ui-progressbar-value {
  465. background: url(ikiwiki/images/pbar-ani.gif);
  466. }
  467. .trails {
  468. margin-top: 1em;
  469. margin-bottom: 1em;
  470. }
  471. .trail {
  472. display: block;
  473. clear: both;
  474. position: relative;
  475. }
  476. .trailprev {
  477. display: block;
  478. text-align: left;
  479. position: absolute;
  480. top: 0%;
  481. left: 3%;
  482. width: 30%;
  483. }
  484. .trailup {
  485. display: block;
  486. text-align: center;
  487. margin-left: 35%;
  488. margin-right: 35%;
  489. }
  490. .trailnext {
  491. display: block;
  492. text-align: right;
  493. position: absolute;
  494. top: 0%;
  495. width: 30%;
  496. right: 3%;
  497. }
  498. .trailsep {
  499. display: none;
  500. }
  501. /* bzed theme for ikiwiki
  502. *
  503. * Copyright (C) 2010 Bernd Zeimetz
  504. * Licensed under same license as ikiwiki: GPL v2 or later
  505. *
  506. * Parts of this file are based on the awesome YUI,
  507. * these parts will stay under the BSD license,
  508. * but you're free to apply the GPLv2 to them, of course.
  509. */
  510. /* -------------------------------------------------------------------------------------------------
  511. Based on reset-fonts-grids.css from yui.
  512. Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  513. Code licensed under the BSD License:
  514. http://developer.yahoo.net/yui/license.txt
  515. version: 2.5.1
  516. */
  517. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,legend,p,blockquote,th,td{margin:0;padding:0;}
  518. table{border-collapse:collapse;border-spacing:0;}
  519. img{border:0;}
  520. address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
  521. li{list-style:none;}
  522. caption,th{text-align:left;}
  523. h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
  524. q:before,q:after{content:'';}
  525. abbr,acronym {border:0;font-variant:normal;}
  526. sup {vertical-align:text-top;}
  527. sub {vertical-align:text-bottom;}
  528. input,textarea,select{font-family:inherit;font-size: 13px/1.23;font-weight:normal;}
  529. input,textarea,select{*font-size:100%;}
  530. legend{color:#000;}
  531. /* body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} */
  532. body {font:13px/1.231 "Lucida Grande",Verdana,Lucida,Helvetica,Arial,sans-serif;*font-size:small;*font:x-small;}
  533. table {font-size:inherit;font:100%;}
  534. pre,code,kbd,samp,tt{font-family:monospace;}
  535. body{text-align:left;}
  536. .inlinefooter{clear:both;}
  537. /* #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;} */
  538. .page {margin:auto;text-align:left;width:57.69em;*width:56.25em;min-width:750px;}
  539. /* #doc3{margin:auto 10px;width:auto;} */
  540. .page {margin:auto 10px;width:auto;}
  541. #pagebody, .sidebar{position:relative;}
  542. #pagebody, .sidebar{_position:static;}
  543. #pagebody {position:static;}
  544. .sidebar {float:right;width:16.5em;*width:16em;}
  545. #pagebody {margin-right:19em;*margin-right:18.5em;}
  546. /* #content {float:none;width:auto;} */
  547. #pagebody:after, .sidebar:after, .page:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
  548. .page f{zoom:1;}
  549. /* ------------------------------------------------------------------------------------------------
  550. * Taken from base.css, part of YUI's CSS Foundation
  551. * Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  552. * Code licensed under the BSD License:
  553. * http://developer.yahoo.net/yui/license.txt
  554. * version: 2.5.1
  555. */
  556. h1 {
  557. /*18px via YUI Fonts CSS foundation*/
  558. font-size:138.5%;
  559. }
  560. h2 {
  561. /*16px via YUI Fonts CSS foundation*/
  562. font-size:123.1%;
  563. }
  564. h3 {
  565. /*14px via YUI Fonts CSS foundation*/
  566. font-size:108%;
  567. }
  568. h1,h2,h3 {
  569. /* top & bottom margin based on font size */
  570. margin:1em 0;
  571. }
  572. h1,h2,h3,h4,h5,h6,strong {
  573. /*bringing boldness back to headers and the strong element*/
  574. font-weight:bold;
  575. }
  576. abbr,acronym {
  577. /*indicating to users that more info is available */
  578. border-bottom:1px dotted #000;
  579. cursor:help;
  580. }
  581. em {
  582. /*bringing italics back to the em element*/
  583. font-style:italic;
  584. }
  585. blockquote,ul,ol,dl {
  586. /*giving blockquotes and lists room to breath*/
  587. margin:1em;
  588. }
  589. ol,ul,dl {
  590. /*bringing lists on to the page with breathing room */
  591. margin-left:2em;
  592. }
  593. ol li {
  594. /*giving OL's LIs generated numbers*/
  595. list-style: decimal outside;
  596. }
  597. ul li {
  598. /*giving UL's LIs generated disc markers*/
  599. list-style: disc outside;
  600. }
  601. dl dd {
  602. /*giving UL's LIs generated numbers*/
  603. margin-left:1em;
  604. }
  605. th,td {
  606. /*borders and padding to make the table readable*/
  607. border:1px solid #000;
  608. padding:.5em;
  609. }
  610. th {
  611. /*distinguishing table headers from data cells*/
  612. font-weight:bold;
  613. text-align:center;
  614. }
  615. caption {
  616. /*coordinated margin to match cell's padding*/
  617. margin-bottom:.5em;
  618. /*centered so it doesn't blend in to other content*/
  619. text-align:center;
  620. }
  621. p,fieldset,table,pre {
  622. /*so things don't run into each other*/
  623. margin-bottom:1em;
  624. }
  625. #searchbox {
  626. width:21.5em;*width:21em;
  627. }
  628. /* ------------------------------------------------------------------------------------------------
  629. * All CSS below is
  630. * Copyright (C) 2010 Bernd Zeimetz
  631. * Licensed under same license as ikiwiki: GPL v2 or later */
  632. .page, .pageheader, .sidebar, #content, #enclosure, #comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody {
  633. border: none;
  634. }
  635. html, body {
  636. color:#000;
  637. /* background-image: url('body_background.png');
  638. background-repeat: repeat; */
  639. background-color: #8da1b8;
  640. }
  641. body {
  642. padding-left: 5%;
  643. padding-right: 5%;
  644. padding-top: 1em;
  645. padding-bottom: 1em;
  646. }
  647. .page {
  648. background: #fff;
  649. border: outset #ccc;
  650. padding-left: 1em;
  651. padding-right: 1em;
  652. padding-top: 1em;
  653. }
  654. .pageheader {
  655. background-image: url('header_background.png');
  656. background-repeat: repeat-x;
  657. height: 100px;
  658. padding-left: 1em;
  659. padding-right: 1em;
  660. padding-bottom: 1em;
  661. padding-top: 1em;
  662. }
  663. .pageheader .header {
  664. text-align: top;
  665. clear: both;
  666. }
  667. .pageheader .header form {
  668. padding: 0em 0em 0em 0em;
  669. float: right;
  670. margin-top: 0.5em;
  671. }
  672. .pageheader .header .title, .pageheader .header .parentlinks,
  673. .inlinepage .inlineheader,
  674. h1, h2, h3, h4, h5, h6 {
  675. margin-top: 1em;
  676. font-weight: bold;
  677. }
  678. .pageheader .header .title, .pageheader .header .parentlinks, .pageheader .actions ul li, .pageheader .header span, .pageheader #otherlanguages ul li, .pageheader .trailprev, .pageheader .trailnext, .pageheader .trailup {
  679. padding: 0.25em 0.25em 0.25em 0.25em;
  680. background-image: url('background_darkness.png');
  681. background-repeat: repeat;
  682. color: white;
  683. }
  684. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a, .pageheader #otherlanguages ul li a, .pageheader a, .pageheader .trail a {
  685. font-weight: bold;
  686. color: white;
  687. text-decoration: none;
  688. }
  689. .pageheader .actions {
  690. text-align: right;
  691. vertical-align: bottom;
  692. clear: both;
  693. }
  694. #pagebody {
  695. padding-right: 1em;
  696. padding-bottom: 2em;
  697. border-right: ridge #eee;
  698. clear: none;
  699. }
  700. #content a, #enclosure a, #comments a, .sidebar a {
  701. color: #315485;
  702. text-decoration: none;
  703. font-weight: bold;
  704. }
  705. .sidebar h2 {
  706. border-bottom: ridge #eee;
  707. padding-right: 0;
  708. }
  709. .sidebar .menu {
  710. margin-left: 1em;
  711. }
  712. .inlinepage, .recentchanges, div.recentchanges {
  713. clear: none !important;
  714. margin-bottom: 2em;
  715. }
  716. .inlinefooter {
  717. border-top: 1px dotted #315485;
  718. }
  719. .inlinefooter .pagedate, .inlinefooter .tags {
  720. display: inline;
  721. clear: none;
  722. margin-right: 2em;
  723. }
  724. .calendar .month-calendar th, .calendar .month-calendar td {
  725. padding: 0.22em;
  726. }
  727. @media print {
  728. .sidebar, .page .pageheader .header .parentlinks {
  729. content:".";
  730. display:block;
  731. height:0;
  732. visibility:hidden;
  733. }
  734. .page {
  735. padding: 1em 1em 1em 1em;
  736. }
  737. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
  738. color #315485;
  739. }
  740. #content, #enclosure, #comments, #pagebody {
  741. margin-right: 0;
  742. *margin-right: 0;
  743. border-right: none;
  744. }
  745. }
  746. /*
  747. * goldtype theme for ikiwiki
  748. */
  749. .pageheader {
  750. background-repeat: no-repeat;
  751. background-color: #f2d98d;
  752. padding: 0;
  753. padding-right: 1em;
  754. margin-bottom: 2em;
  755. }
  756. html, body {
  757. background-color: #f2d98d;
  758. }
  759. #content a:hover, #enclosure a:hover, #comments a:hover, .sidebar a:hover,
  760. #content a:visited:hover, #enclosure a:visited:hover, #comments a:visited:hover,
  761. .sidebar a:visited:hover {
  762. color: red;
  763. }
  764. #content a:visited, #enclosure a:visited, #comments a:visited,
  765. .sidebar a:visited {
  766. color: #37485e;
  767. }