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