summaryrefslogtreecommitdiff
path: root/blueview/style.scss
blob: 9f5d32b1013c58a02c550bfdcb8a1e7730829b43 (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. }
  520. /* bzed theme for ikiwiki
  521. *
  522. * Copyright (C) 2010 Bernd Zeimetz
  523. * Licensed under same license as ikiwiki: GPL v2 or later
  524. *
  525. * Parts of this file are based on the awesome YUI,
  526. * these parts will stay under the BSD license,
  527. * but you're free to apply the GPLv2 to them, of course.
  528. */
  529. /* -------------------------------------------------------------------------------------------------
  530. Based on reset-fonts-grids.css from yui.
  531. Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  532. Code licensed under the BSD License:
  533. http://developer.yahoo.net/yui/license.txt
  534. version: 2.5.1
  535. */
  536. body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, legend, p, blockquote, th, td {
  537. margin: 0;
  538. padding: 0;
  539. }
  540. table {
  541. border-collapse: collapse;
  542. border-spacing: 0;
  543. }
  544. img {
  545. border: 0;
  546. }
  547. address, caption, cite, code, dfn, em, strong, th, var {
  548. font-style: normal;
  549. font-weight: normal;
  550. }
  551. li {
  552. list-style: none;
  553. }
  554. caption, th {
  555. text-align: left;
  556. }
  557. h1, h2, h3, h4, h5, h6 {
  558. font-size: 100%;
  559. font-weight: normal;
  560. }
  561. q:before, q:after {
  562. content: '';
  563. }
  564. abbr, acronym {
  565. border: 0;
  566. font-variant: normal;
  567. }
  568. sup {
  569. vertical-align: text-top;
  570. }
  571. sub {
  572. vertical-align: text-bottom;
  573. }
  574. input, textarea, select {
  575. font-family: inherit;
  576. font-size: 13px/1.23;
  577. font-weight: normal;
  578. }
  579. input, textarea, select {
  580. *font-size: 100%;
  581. }
  582. legend {
  583. color: #000;
  584. }
  585. /* body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} */
  586. body {
  587. font: 13px/1.231 "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
  588. *font-size: small;
  589. *font: x-small;
  590. }
  591. table {
  592. font-size: inherit;
  593. font: 100%;
  594. }
  595. pre, code, kbd, samp, tt {
  596. font-family: monospace;
  597. }
  598. body {
  599. text-align: left;
  600. }
  601. .inlinefooter {
  602. clear: both;
  603. }
  604. /* #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;} */
  605. .page {
  606. margin: auto;
  607. text-align: left;
  608. width: 57.69em;
  609. *width: 56.25em;
  610. min-width: 750px;
  611. }
  612. /* #doc3{margin:auto 10px;width:auto;} */
  613. .page {
  614. margin: auto 10px;
  615. width: auto;
  616. }
  617. #pagebody, .sidebar {
  618. position: relative;
  619. }
  620. #pagebody, .sidebar {
  621. _position: static;
  622. }
  623. #pagebody {
  624. position: static;
  625. }
  626. .sidebar {
  627. float: right;
  628. width: 16.5em;
  629. *width: 16em;
  630. }
  631. #pagebody {
  632. margin-right: 19em;
  633. *margin-right: 18.5em;
  634. }
  635. /* #content {float:none;width:auto;} */
  636. #pagebody:after, .sidebar:after, .page:after {
  637. content: ".";
  638. display: block;
  639. height: 0;
  640. clear: both;
  641. visibility: hidden;
  642. }
  643. .page f {
  644. zoom: 1;
  645. }
  646. /* ------------------------------------------------------------------------------------------------
  647. * Taken from base.css, part of YUI's CSS Foundation
  648. * Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  649. * Code licensed under the BSD License:
  650. * http://developer.yahoo.net/yui/license.txt
  651. * version: 2.5.1
  652. */
  653. h1 {
  654. /*18px via YUI Fonts CSS foundation*/
  655. font-size: 138.5%;
  656. }
  657. h2 {
  658. /*16px via YUI Fonts CSS foundation*/
  659. font-size: 123.1%;
  660. }
  661. h3 {
  662. /*14px via YUI Fonts CSS foundation*/
  663. font-size: 108%;
  664. }
  665. h1, h2, h3 {
  666. /* top & bottom margin based on font size */
  667. margin: 1em 0;
  668. }
  669. h1, h2, h3, h4, h5, h6, strong {
  670. /*bringing boldness back to headers and the strong element*/
  671. font-weight: bold;
  672. }
  673. abbr, acronym {
  674. /*indicating to users that more info is available */
  675. border-bottom: 1px dotted #000;
  676. cursor: help;
  677. }
  678. em {
  679. /*bringing italics back to the em element*/
  680. font-style: italic;
  681. }
  682. blockquote, ul, ol, dl {
  683. /*giving blockquotes and lists room to breath*/
  684. margin: 1em;
  685. }
  686. ol, ul, dl {
  687. /*bringing lists on to the page with breathing room */
  688. margin-left: 2em;
  689. }
  690. ol li {
  691. /*giving OL's LIs generated numbers*/
  692. list-style: decimal outside;
  693. }
  694. ul li {
  695. /*giving UL's LIs generated disc markers*/
  696. list-style: disc outside;
  697. }
  698. dl dd {
  699. /*giving UL's LIs generated numbers*/
  700. margin-left: 1em;
  701. }
  702. th, td {
  703. /*borders and padding to make the table readable*/
  704. border: 1px solid #000;
  705. padding: .5em;
  706. }
  707. th {
  708. /*distinguishing table headers from data cells*/
  709. font-weight: bold;
  710. text-align: center;
  711. }
  712. caption {
  713. /*coordinated margin to match cell's padding*/
  714. margin-bottom: .5em;
  715. /*centered so it doesn't blend in to other content*/
  716. text-align: center;
  717. }
  718. p, fieldset, table, pre {
  719. /*so things don't run into each other*/
  720. margin-bottom: 1em;
  721. }
  722. #searchbox {
  723. width: 21.5em;
  724. *width: 21em;
  725. }
  726. /* ------------------------------------------------------------------------------------------------
  727. * All CSS below is
  728. * Copyright (C) 2010 Bernd Zeimetz
  729. * Licensed under same license as ikiwiki: GPL v2 or later */
  730. .page, .pageheader, .sidebar, #content, #comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody {
  731. border: none;
  732. }
  733. html, body {
  734. color: #000;
  735. /* background-image: url('body_background.png');
  736. background-repeat: repeat; */
  737. background-color: #8da1b8;
  738. }
  739. body {
  740. padding-left: 5%;
  741. padding-right: 5%;
  742. padding-top: 1em;
  743. padding-bottom: 1em;
  744. }
  745. .page {
  746. background: #fff;
  747. border: outset #ccc;
  748. padding-left: 1em;
  749. padding-right: 1em;
  750. padding-top: 1em;
  751. }
  752. .pageheader {
  753. background-image: url("header_background.png");
  754. background-repeat: repeat-x;
  755. height: 100px;
  756. padding-left: 1em;
  757. padding-right: 1em;
  758. padding-bottom: 1em;
  759. padding-top: 1em;
  760. }
  761. .pageheader .header {
  762. text-align: top;
  763. clear: both;
  764. }
  765. .pageheader .header form {
  766. padding: 0em 0em 0em 0em;
  767. float: right;
  768. margin-top: 0.5em;
  769. }
  770. .pageheader .header .title, .pageheader .header .parentlinks,
  771. .inlinepage .inlineheader,
  772. h1, h2, h3, h4, h5, h6 {
  773. margin-top: 1em;
  774. font-weight: bold;
  775. }
  776. .pageheader .header .title, .pageheader .header .parentlinks, .pageheader .actions ul li, .pageheader .header span, .pageheader #otherlanguages ul li {
  777. padding: 0.25em 0.25em 0.25em 0.25em;
  778. background-image: url("background_darkness.png");
  779. background-repeat: repeat;
  780. color: white;
  781. }
  782. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a, .pageheader #otherlanguages ul li a {
  783. color: white;
  784. text-decoration: none;
  785. }
  786. .pageheader .actions {
  787. text-align: right;
  788. vertical-align: bottom;
  789. clear: both;
  790. }
  791. #pagebody {
  792. padding-right: 1em;
  793. padding-bottom: 2em;
  794. border-right: ridge #eee;
  795. clear: none;
  796. }
  797. #content a, #comments a, .sidebar a {
  798. color: #315485;
  799. text-decoration: none;
  800. font-weight: bold;
  801. }
  802. .sidebar h2 {
  803. border-bottom: ridge #eee;
  804. padding-right: 0;
  805. }
  806. .sidebar .menu {
  807. margin-left: 1em;
  808. }
  809. .inlinepage, .recentchanges, div.recentchanges {
  810. clear: none !important;
  811. margin-bottom: 2em;
  812. }
  813. .inlinefooter {
  814. border-top: 1px dotted #315485;
  815. }
  816. .inlinefooter .pagedate, .inlinefooter .tags {
  817. display: inline;
  818. clear: none;
  819. margin-right: 2em;
  820. }
  821. .calendar .month-calendar th, .calendar .month-calendar td {
  822. padding: 0.22em;
  823. }
  824. @media print {
  825. .sidebar, .page .pageheader .header .parentlinks {
  826. content: ".";
  827. display: block;
  828. height: 0;
  829. visibility: hidden;
  830. }
  831. .page {
  832. padding: 1em 1em 1em 1em;
  833. }
  834. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
  835. color: #315485;
  836. }
  837. #content, #comments, #pagebody {
  838. margin-right: 0;
  839. *margin-right: 0;
  840. border-right: none;
  841. }
  842. }