summaryrefslogtreecommitdiff
path: root/monochrome/style.scss
blob: 3d52b1f2c4748e6f549022d5d3a5ad4cff7ae705 (plain)
  1. @charset "UTF-8";
  2. /* ikiwiki style sheet */
  3. /* Note that instead of modifying this style sheet, you can instead edit
  4. * local.css and use it to override or change settings in this one.
  5. */
  6. /* html5 compat */
  7. @import url(http://fonts.googleapis.com/css?family=Lato&v2);
  8. article, aside, details, figcaption, figure,
  9. footer, header, hgroup, menu, nav, section {
  10. display: block;
  11. }
  12. div.header, header.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. .addcomment {
  271. display: none;
  272. }
  273. }
  274. /* infobox template */
  275. .infobox {
  276. float: right;
  277. margin-left: 2ex;
  278. margin-top: 1ex;
  279. margin-bottom: 1ex;
  280. padding: 1ex 1ex;
  281. border: 1px solid #aaa;
  282. background: white;
  283. color: black !important;
  284. }
  285. /* notebox template */
  286. .notebox {
  287. float: right;
  288. margin-left: 2ex;
  289. margin-top: 1ex;
  290. margin-bottom: 1ex;
  291. padding: 1ex 1ex;
  292. border: 1px solid #aaa;
  293. width: 25%;
  294. background: white;
  295. color: black !important;
  296. }
  297. /* popup template and backlinks hiding */
  298. .popup {
  299. border-bottom: 1px dotted #366;
  300. color: #366;
  301. }
  302. .popup .balloon,
  303. .popup .paren,
  304. .popup .expand {
  305. display: none;
  306. text-align: left;
  307. }
  308. .popup:hover .balloon,
  309. .popup:focus .balloon {
  310. position: absolute;
  311. display: inline;
  312. margin: 1em 0 0 -2em;
  313. padding: 0.625em;
  314. border: 2px solid;
  315. background-color: #dee;
  316. color: black;
  317. }
  318. /* form styling */
  319. fieldset {
  320. margin: 1ex 0;
  321. border: 1px solid black;
  322. }
  323. legend {
  324. padding: 0 1ex;
  325. }
  326. .fb_submit {
  327. float: left;
  328. margin: 2px 0;
  329. }
  330. label.block {
  331. display: block;
  332. }
  333. label.inline {
  334. display: inline;
  335. }
  336. input#openid_identifier {
  337. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  338. background-color: #fff;
  339. background-position: 0 50%;
  340. color: #000;
  341. padding-left: 18px;
  342. }
  343. input#searchbox {
  344. background: url(wikiicons/search-bg.gif) no-repeat;
  345. background-color: #fff;
  346. background-position: 100% 50%;
  347. color: #000;
  348. padding-right: 16px;
  349. }
  350. /* invalid form fields */
  351. .fb_invalid {
  352. color: red;
  353. background: white !important;
  354. }
  355. /* required form fields */
  356. .fb_required {
  357. font-weight: bold;
  358. }
  359. /* highlight plugin */
  360. pre.hl {
  361. color: #000000;
  362. background-color: #ffffff;
  363. }
  364. .hl.num {
  365. color: #2928ff;
  366. }
  367. .hl.esc {
  368. color: #ff00ff;
  369. }
  370. .hl.str {
  371. color: #ff0000;
  372. }
  373. .hl.dstr {
  374. color: #818100;
  375. }
  376. .hl.slc {
  377. color: #838183;
  378. font-style: italic;
  379. }
  380. .hl.com {
  381. color: #838183;
  382. font-style: italic;
  383. }
  384. .hl.dir {
  385. color: #008200;
  386. }
  387. .hl.sym {
  388. color: #000000;
  389. }
  390. .hl.line {
  391. color: #555555;
  392. }
  393. .hl.mark {
  394. background-color: #ffffbb;
  395. }
  396. .hl.kwa {
  397. color: #000000;
  398. font-weight: bold;
  399. }
  400. .hl.kwb {
  401. color: #830000;
  402. }
  403. .hl.kwc {
  404. color: #000000;
  405. font-weight: bold;
  406. }
  407. .hl.kwd {
  408. color: #010181;
  409. }
  410. /* calendar plugin */
  411. .month-calendar-day-this-day,
  412. .year-calendar-this-month {
  413. background-color: #eee;
  414. }
  415. .month-calendar-day-head,
  416. .month-calendar-day-nolink,
  417. .month-calendar-day-link,
  418. .month-calendar-day-this-day,
  419. .month-calendar-day-future {
  420. text-align: right;
  421. }
  422. .month-calendar-arrow A:link,
  423. .year-calendar-arrow A:link,
  424. .month-calendar-arrow A:visited,
  425. .year-calendar-arrow A:visited {
  426. text-decoration: none;
  427. font-weight: normal;
  428. font-size: 150%;
  429. }
  430. /* outlines */
  431. li.L1 {
  432. list-style: upper-roman;
  433. }
  434. li.L2 {
  435. list-style: decimal;
  436. }
  437. li.L3 {
  438. list-style: lower-alpha;
  439. }
  440. li.L4 {
  441. list-style: disc;
  442. }
  443. li.L5 {
  444. list-style: square;
  445. }
  446. li.L6 {
  447. list-style: circle;
  448. }
  449. li.L7 {
  450. list-style: lower-roman;
  451. }
  452. li.L8 {
  453. list-style: upper-alpha;
  454. }
  455. /* tag cloud */
  456. .pagecloud {
  457. float: right;
  458. width: 30%;
  459. text-align: center;
  460. padding: 10px 10px;
  461. border: 1px solid #aaa;
  462. background: #eee;
  463. color: black !important;
  464. }
  465. .smallestPC {
  466. font-size: 70%;
  467. }
  468. .smallPC {
  469. font-size: 85%;
  470. }
  471. .normalPC {
  472. font-size: 100%;
  473. }
  474. .bigPC {
  475. font-size: 115%;
  476. }
  477. .biggestPC {
  478. font-size: 130%;
  479. }
  480. /* orange feed button */
  481. .feedbutton {
  482. background: #ff6600;
  483. color: white !important;
  484. border-left: 1px solid #cc9966;
  485. border-top: 1px solid #ccaa99;
  486. border-right: 1px solid #993300;
  487. border-bottom: 1px solid #331100;
  488. padding: 0px 0.5em 0px 0.5em;
  489. font-family: sans-serif;
  490. font-weight: bold;
  491. font-size: small;
  492. text-decoration: none;
  493. margin-top: 1em;
  494. }
  495. .feedbutton:hover {
  496. color: white !important;
  497. background: #ff9900;
  498. }
  499. .FlattrButton {
  500. display: none;
  501. }
  502. /* login selector */
  503. #login_choice {
  504. display: none;
  505. }
  506. #login_input_area {
  507. clear: both;
  508. padding: 10px;
  509. }
  510. #login_btns, #login_btns br {
  511. clear: both;
  512. }
  513. #login_highlight {
  514. background-color: black;
  515. float: left;
  516. }
  517. .login_large_btn {
  518. padding: 1em 1.5em;
  519. border: 1px solid #DDD;
  520. margin: 3px;
  521. float: left;
  522. }
  523. .login_small_btn {
  524. padding: 4px 4px;
  525. border: 1px solid #DDD;
  526. margin: 3px;
  527. float: left;
  528. }
  529. a.login_large_btn:focus {
  530. outline: none;
  531. }
  532. a.login_large_btn:focus {
  533. outline-style: none;
  534. }
  535. .login_selected {
  536. border: 4px solid #DDD;
  537. }
  538. .fileupload-content .ui-progressbar {
  539. width: 200px;
  540. height: 20px;
  541. }
  542. .fileupload-content .ui-progressbar-value {
  543. background: url(ikiwiki/images/pbar-ani.gif);
  544. }
  545. .trails {
  546. margin-top: 1em;
  547. margin-bottom: 1em;
  548. }
  549. .trail {
  550. display: block;
  551. clear: both;
  552. position: relative;
  553. }
  554. .trailprev {
  555. display: block;
  556. text-align: left;
  557. position: absolute;
  558. top: 0%;
  559. left: 3%;
  560. width: 30%;
  561. }
  562. .trailup {
  563. display: block;
  564. text-align: center;
  565. margin-left: 35%;
  566. margin-right: 35%;
  567. }
  568. .trailnext {
  569. display: block;
  570. text-align: right;
  571. position: absolute;
  572. top: 0%;
  573. width: 30%;
  574. right: 3%;
  575. }
  576. .trailsep {
  577. display: none;
  578. }
  579. /* mobile/small-screen-friendly layout */
  580. @media (max-width: 600px) {
  581. .sidebar {
  582. width: auto;
  583. float: none;
  584. margin-top: 0;
  585. border: none;
  586. }
  587. /* if the mobile browser is new enough, use flex layout to shuffle
  588. * the sidebar to the end */
  589. .page {
  590. display: -webkit-box;
  591. display: -webkit-flexbox;
  592. display: -webkit-flex;
  593. display: -moz-box;
  594. display: -ms-flexbox;
  595. display: flex;
  596. -webkit-box-orient: vertical;
  597. -webkit-flex-direction: tb;
  598. -webkit-flex-direction: column;
  599. -webkit-flex-flow: column;
  600. -ms-flex-direction: column;
  601. flex-direction: column;
  602. }
  603. #pageheader {
  604. -webkit-box-ordinal-group: -1;
  605. -webkit-order: -1;
  606. -ms-box-ordinal-group: -1;
  607. -ms-flex-order: -1;
  608. order: -1;
  609. }
  610. .sidebar, #footer {
  611. -webkit-box-ordinal-group: 1;
  612. -webkit-order: 1;
  613. -ms-box-ordinal-group: 1;
  614. -ms-flex-order: 1;
  615. order: 1;
  616. }
  617. .blogform, #blogform {
  618. padding: 4px 4px;
  619. }
  620. }
  621. /*
  622. * monochrome - ikiwiki theme © Jon Dowland 2012
  623. * based on ikiwiki style.css and bits from jmtd.net at the time
  624. * License: GPL-2+
  625. */
  626. body {
  627. margin-left: auto;
  628. margin-right: auto;
  629. width: 48em;
  630. max-width: 95%;
  631. background: url(gradient.png) repeat-x white 0px -16px;
  632. margin-top: 48px;
  633. /* height of gradient.png that we want to see */
  634. color: #555;
  635. font-family: 'Lato', sans-serif;
  636. }
  637. div.header, header.header {
  638. margin-bottom: 0.5em;
  639. }
  640. .pageheader .actions ul {
  641. border-bottom: 2px solid #c00040;
  642. }
  643. #pageinfo {
  644. border-top: 2px solid #c00040;
  645. text-align: center;
  646. color: #aaa;
  647. }
  648. /*
  649. * css3 external links stuff
  650. * thanks to <http://www.kryogenix.org/days/2002/08/30/external>
  651. */
  652. #content a[href^="http:"]:after,
  653. #content a[href^="https:"]:after,
  654. #enclosure a[href^="http:"]:after,
  655. #enclosure a[href^="https:"]:after {
  656. content: "↗";
  657. }
  658. /* you will want to replicate this for your own domain in local.css */
  659. #content a[href^="http://localhost"]:after,
  660. #content a[href^="http://ikiwiki.info"]:after,
  661. #enclosure a[href^="http://localhost"]:after,
  662. #enclosure a[href^="http://ikiwiki.info"]:after {
  663. content: none;
  664. }
  665. /* colouring */
  666. a:link {
  667. color: #c00040;
  668. font-weight: bold;
  669. text-decoration: none;
  670. }
  671. a:hover {
  672. color: #f01070;
  673. text-decoration: underline;
  674. }
  675. a:active {
  676. color: #c00040;
  677. }
  678. a:visited {
  679. color: #c08080;
  680. font-weight: normal;
  681. font-style: italic;
  682. }
  683. hr {
  684. border: none;
  685. border-top: 2px solid #c00040;
  686. clear: both;
  687. }