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