summaryrefslogtreecommitdiff
path: root/monochrome/style.scss
blob: 8f5e3d5c8d12995bddd6b483e7eca3de045a67d5 (plain)
  1. @charset "UTF-8";
  2. @import url(http://fonts.googleapis.com/css?family=Lato&v2);
  3. /* ikiwiki style sheet */
  4. /* Note that instead of modifying this style sheet, you can instead edit
  5. * local.css and use it to override or change settings in this one.
  6. */
  7. /* html5 compat */
  8. article,
  9. header,
  10. footer,
  11. nav {
  12. display: block;
  13. }
  14. .header {
  15. margin: 0;
  16. font-size: 140%;
  17. font-weight: bold;
  18. line-height: 1em;
  19. display: block;
  20. }
  21. .inlineheader .author {
  22. margin: 0;
  23. font-size: 112%;
  24. font-weight: bold;
  25. display: block;
  26. }
  27. .actions ul {
  28. margin: 0;
  29. padding: 6px .4em;
  30. height: 1em;
  31. list-style-type: none;
  32. }
  33. .actions li {
  34. display: inline;
  35. padding: .2em;
  36. }
  37. .pageheader .actions ul {
  38. border-bottom: 1px solid #000;
  39. }
  40. .inlinepage .actions ul {
  41. border-bottom: 0;
  42. }
  43. #otherlanguages ul {
  44. margin: 0;
  45. padding: 6px;
  46. list-style-type: none;
  47. }
  48. #otherlanguages li {
  49. display: inline;
  50. padding: .2em .4em;
  51. }
  52. .pageheader #otherlanguages {
  53. border-bottom: 1px solid #000;
  54. }
  55. .inlinecontent,
  56. .inlineenclosure {
  57. margin-top: .4em;
  58. }
  59. .pagefooter,
  60. .inlinefooter,
  61. .comments {
  62. clear: both;
  63. }
  64. #pageinfo {
  65. margin: 1em 0;
  66. border-top: 1px solid #000;
  67. }
  68. .tags {
  69. margin-top: 1em;
  70. }
  71. .inlinepage .tags {
  72. display: inline;
  73. }
  74. .mapparent {
  75. text-decoration: none;
  76. }
  77. .img caption {
  78. font-size: 80%;
  79. caption-side: bottom;
  80. text-align: center;
  81. }
  82. img.img {
  83. margin: 0.5ex;
  84. }
  85. .align-left {
  86. float: left;
  87. }
  88. .align-right {
  89. float: right;
  90. }
  91. #backlinks {
  92. margin-top: 1em;
  93. }
  94. #searchform {
  95. display: inline;
  96. float: right;
  97. }
  98. #editcontent {
  99. width: 98%;
  100. }
  101. .editcontentdiv {
  102. width: auto;
  103. overflow: auto;
  104. }
  105. img {
  106. border-style: none;
  107. }
  108. pre {
  109. overflow: auto;
  110. }
  111. div.recentchanges {
  112. border-style: solid;
  113. border-width: 1px;
  114. overflow: auto;
  115. width: auto;
  116. clear: none;
  117. background: #eee;
  118. color: black !important;
  119. }
  120. .recentchanges .metadata {
  121. padding: 0px 0.5em;
  122. }
  123. .recentchanges .changelog {
  124. font-style: italic;
  125. clear: both;
  126. display: block;
  127. padding: 1px 2px;
  128. background: white !important;
  129. color: black !important;
  130. }
  131. .recentchanges .desc {
  132. display: none;
  133. }
  134. .recentchanges .diff {
  135. display: none;
  136. }
  137. .recentchanges .committer {
  138. float: left;
  139. margin: 0;
  140. width: 40%;
  141. }
  142. .recentchanges .committype {
  143. float: left;
  144. margin: 0;
  145. width: 5%;
  146. font-size: small;
  147. }
  148. .recentchanges .changedate {
  149. float: left;
  150. margin: 0;
  151. width: 35%;
  152. font-size: small;
  153. }
  154. .recentchanges .pagelinks,
  155. .recentchanges .revert {
  156. float: right;
  157. margin: 0;
  158. width: 60%;
  159. }
  160. .blogform, #blogform {
  161. padding: 10px 10px;
  162. border: 1px solid #aaa;
  163. background: #eee;
  164. color: black !important;
  165. width: auto;
  166. overflow: auto;
  167. }
  168. .inlinepage {
  169. padding: 10px 10px;
  170. border: 1px solid #aaa;
  171. overflow: auto;
  172. }
  173. .pagedate,
  174. .pagelicense,
  175. .pagecopyright {
  176. font-style: italic;
  177. display: block;
  178. margin-top: 1em;
  179. }
  180. .archivepagedate {
  181. font-style: italic;
  182. }
  183. .archivepage {
  184. margin-bottom: 1em;
  185. }
  186. .error {
  187. color: #C00;
  188. }
  189. .sidebar {
  190. width: 20ex;
  191. float: right;
  192. margin-left: 4px;
  193. margin-bottom: 4px;
  194. margin-top: -1px;
  195. padding: 0ex 2ex;
  196. background: white;
  197. border: 1px solid black;
  198. color: black !important;
  199. }
  200. hr.poll {
  201. height: 10pt;
  202. color: white !important;
  203. background: #eee;
  204. border: 2px solid black;
  205. }
  206. div.poll {
  207. margin-top: 1ex;
  208. margin-bottom: 1ex;
  209. padding: 1ex 1ex;
  210. border: 1px solid #aaa;
  211. }
  212. span.color {
  213. padding: 2px;
  214. }
  215. .comment-header,
  216. .microblog-header {
  217. font-style: italic;
  218. margin-top: .3em;
  219. }
  220. .comment .author,
  221. .microblog .author {
  222. font-weight: bold;
  223. }
  224. .comment-subject {
  225. font-weight: bold;
  226. }
  227. .comment-avatar {
  228. float: right;
  229. }
  230. .comment {
  231. border: 1px solid #aaa;
  232. padding: 3px;
  233. }
  234. div.progress {
  235. margin-top: 1ex;
  236. margin-bottom: 1ex;
  237. border: 1px solid #888;
  238. width: 400px;
  239. background: #eee;
  240. color: black !important;
  241. padding: 1px;
  242. }
  243. div.progress-done {
  244. background: #ea6 !important;
  245. color: black !important;
  246. text-align: center;
  247. padding: 1px;
  248. }
  249. /* things to hide in printouts */
  250. @media print {
  251. .actions {
  252. display: none;
  253. }
  254. .tags {
  255. display: none;
  256. }
  257. .trails {
  258. display: none;
  259. }
  260. .feedbutton {
  261. display: none;
  262. }
  263. #searchform {
  264. display: none;
  265. }
  266. .blogform, #blogform {
  267. display: none;
  268. }
  269. #backlinks {
  270. display: none;
  271. }
  272. }
  273. /* infobox template */
  274. .infobox {
  275. float: right;
  276. margin-left: 2ex;
  277. margin-top: 1ex;
  278. margin-bottom: 1ex;
  279. padding: 1ex 1ex;
  280. border: 1px solid #aaa;
  281. background: white;
  282. color: black !important;
  283. }
  284. /* notebox template */
  285. .notebox {
  286. float: right;
  287. margin-left: 2ex;
  288. margin-top: 1ex;
  289. margin-bottom: 1ex;
  290. padding: 1ex 1ex;
  291. border: 1px solid #aaa;
  292. width: 25%;
  293. background: white;
  294. color: black !important;
  295. }
  296. /* popup template and backlinks hiding */
  297. .popup {
  298. border-bottom: 1px dotted #366;
  299. color: #366;
  300. }
  301. .popup .balloon,
  302. .popup .paren,
  303. .popup .expand {
  304. display: none;
  305. text-align: left;
  306. }
  307. .popup:hover .balloon,
  308. .popup:focus .balloon {
  309. position: absolute;
  310. display: inline;
  311. margin: 1em 0 0 -2em;
  312. padding: 0.625em;
  313. border: 2px solid;
  314. background-color: #dee;
  315. color: black;
  316. }
  317. /* form styling */
  318. fieldset {
  319. margin: 1ex 0;
  320. border: 1px solid black;
  321. }
  322. legend {
  323. padding: 0 1ex;
  324. }
  325. .fb_submit {
  326. float: left;
  327. margin: 2px 0;
  328. }
  329. label.block {
  330. display: block;
  331. }
  332. label.inline {
  333. display: inline;
  334. }
  335. input#openid_identifier {
  336. background: url(wikiicons/openidlogin-bg.gif) no-repeat;
  337. background-color: #fff;
  338. background-position: 0 50%;
  339. color: #000;
  340. padding-left: 18px;
  341. }
  342. input#searchbox {
  343. background: url(wikiicons/search-bg.gif) no-repeat;
  344. background-color: #fff;
  345. background-position: 100% 50%;
  346. color: #000;
  347. padding-right: 16px;
  348. }
  349. /* invalid form fields */
  350. .fb_invalid {
  351. color: red;
  352. background: white !important;
  353. }
  354. /* required form fields */
  355. .fb_required {
  356. font-weight: bold;
  357. }
  358. /* highlight plugin */
  359. pre.hl {
  360. color: #000000;
  361. background-color: #ffffff;
  362. }
  363. .hl.num {
  364. color: #2928ff;
  365. }
  366. .hl.esc {
  367. color: #ff00ff;
  368. }
  369. .hl.str {
  370. color: #ff0000;
  371. }
  372. .hl.dstr {
  373. color: #818100;
  374. }
  375. .hl.slc {
  376. color: #838183;
  377. font-style: italic;
  378. }
  379. .hl.com {
  380. color: #838183;
  381. font-style: italic;
  382. }
  383. .hl.dir {
  384. color: #008200;
  385. }
  386. .hl.sym {
  387. color: #000000;
  388. }
  389. .hl.line {
  390. color: #555555;
  391. }
  392. .hl.mark {
  393. background-color: #ffffbb;
  394. }
  395. .hl.kwa {
  396. color: #000000;
  397. font-weight: bold;
  398. }
  399. .hl.kwb {
  400. color: #830000;
  401. }
  402. .hl.kwc {
  403. color: #000000;
  404. font-weight: bold;
  405. }
  406. .hl.kwd {
  407. color: #010181;
  408. }
  409. /* calendar plugin */
  410. .month-calendar-day-this-day,
  411. .year-calendar-this-month {
  412. background-color: #eee;
  413. }
  414. .month-calendar-day-head,
  415. .month-calendar-day-nolink,
  416. .month-calendar-day-link,
  417. .month-calendar-day-this-day,
  418. .month-calendar-day-future {
  419. text-align: right;
  420. }
  421. .month-calendar-arrow A:link,
  422. .year-calendar-arrow A:link,
  423. .month-calendar-arrow A:visited,
  424. .year-calendar-arrow A:visited {
  425. text-decoration: none;
  426. font-weight: normal;
  427. font-size: 150%;
  428. }
  429. /* outlines */
  430. li.L1 {
  431. list-style: upper-roman;
  432. }
  433. li.L2 {
  434. list-style: decimal;
  435. }
  436. li.L3 {
  437. list-style: lower-alpha;
  438. }
  439. li.L4 {
  440. list-style: disc;
  441. }
  442. li.L5 {
  443. list-style: square;
  444. }
  445. li.L6 {
  446. list-style: circle;
  447. }
  448. li.L7 {
  449. list-style: lower-roman;
  450. }
  451. li.L8 {
  452. list-style: upper-alpha;
  453. }
  454. /* tag cloud */
  455. .pagecloud {
  456. float: right;
  457. width: 30%;
  458. text-align: center;
  459. padding: 10px 10px;
  460. border: 1px solid #aaa;
  461. background: #eee;
  462. color: black !important;
  463. }
  464. .smallestPC {
  465. font-size: 70%;
  466. }
  467. .smallPC {
  468. font-size: 85%;
  469. }
  470. .normalPC {
  471. font-size: 100%;
  472. }
  473. .bigPC {
  474. font-size: 115%;
  475. }
  476. .biggestPC {
  477. font-size: 130%;
  478. }
  479. /* orange feed button */
  480. .feedbutton {
  481. background: #ff6600;
  482. color: white !important;
  483. border-left: 1px solid #cc9966;
  484. border-top: 1px solid #ccaa99;
  485. border-right: 1px solid #993300;
  486. border-bottom: 1px solid #331100;
  487. padding: 0px 0.5em 0px 0.5em;
  488. font-family: sans-serif;
  489. font-weight: bold;
  490. font-size: small;
  491. text-decoration: none;
  492. margin-top: 1em;
  493. }
  494. .feedbutton:hover {
  495. color: white !important;
  496. background: #ff9900;
  497. }
  498. .FlattrButton {
  499. display: none;
  500. }
  501. /* openid selector */
  502. #openid_choice {
  503. display: none;
  504. }
  505. #openid_input_area {
  506. clear: both;
  507. padding: 10px;
  508. }
  509. #openid_btns, #openid_btns br {
  510. clear: both;
  511. }
  512. #openid_highlight {
  513. background-color: black;
  514. float: left;
  515. }
  516. .openid_large_btn {
  517. padding: 1em 1.5em;
  518. border: 1px solid #DDD;
  519. margin: 3px;
  520. float: left;
  521. }
  522. .openid_small_btn {
  523. padding: 4px 4px;
  524. border: 1px solid #DDD;
  525. margin: 3px;
  526. float: left;
  527. }
  528. a.openid_large_btn:focus {
  529. outline: none;
  530. }
  531. a.openid_large_btn:focus {
  532. outline-style: none;
  533. }
  534. .openid_selected {
  535. border: 4px solid #DDD;
  536. }
  537. .fileupload-content .ui-progressbar {
  538. width: 200px;
  539. height: 20px;
  540. }
  541. .fileupload-content .ui-progressbar-value {
  542. background: url(ikiwiki/images/pbar-ani.gif);
  543. }
  544. .trails {
  545. margin-top: 1em;
  546. margin-bottom: 1em;
  547. }
  548. .trail {
  549. display: block;
  550. clear: both;
  551. position: relative;
  552. }
  553. .trailprev {
  554. display: block;
  555. text-align: left;
  556. position: absolute;
  557. top: 0%;
  558. left: 3%;
  559. width: 30%;
  560. }
  561. .trailup {
  562. display: block;
  563. text-align: center;
  564. margin-left: 35%;
  565. margin-right: 35%;
  566. }
  567. .trailnext {
  568. display: block;
  569. text-align: right;
  570. position: absolute;
  571. top: 0%;
  572. width: 30%;
  573. right: 3%;
  574. }
  575. .trailsep {
  576. display: none;
  577. }
  578. /*
  579. * monochrome - ikiwiki theme © Jon Dowland 2012
  580. * based on ikiwiki style.css and bits from jmtd.net at the time
  581. * License: GPL-2+
  582. */
  583. body {
  584. margin-left: auto;
  585. margin-right: auto;
  586. width: 48em;
  587. background: url(gradient.png) repeat-x white 0px -16px;
  588. margin-top: 48px;
  589. /* height of gradient.png that we want to see */
  590. color: #555;
  591. font-family: 'Lato', sans-serif;
  592. }
  593. .header {
  594. margin-bottom: 0.5em;
  595. }
  596. .pageheader .actions ul {
  597. border-bottom: 2px solid #c00040;
  598. }
  599. #pageinfo {
  600. border-top: 2px solid #c00040;
  601. text-align: center;
  602. color: #aaa;
  603. }
  604. /*
  605. * css3 external links stuff
  606. * thanks to <http://www.kryogenix.org/days/2002/08/30/external>
  607. */
  608. #content a[href^="http:"]:after,
  609. #content a[href^="https:"]:after,
  610. #enclosure a[href^="http:"]:after,
  611. #enclosure a[href^="https:"]:after {
  612. content: "↗";
  613. }
  614. /* you will want to replicate this for your own domain in local.css */
  615. #content a[href^="http://localhost"]:after,
  616. #content a[href^="http://ikiwiki.info"]:after,
  617. #enclosure a[href^="http://localhost"]:after,
  618. #enclosure a[href^="http://ikiwiki.info"]:after {
  619. content: none;
  620. }
  621. /* colouring */
  622. a:link {
  623. color: #c00040;
  624. font-weight: bold;
  625. text-decoration: none;
  626. }
  627. a:hover {
  628. color: #f01070;
  629. text-decoration: underline;
  630. }
  631. a:active {
  632. color: #c00040;
  633. }
  634. a:visited {
  635. color: #c08080;
  636. font-weight: normal;
  637. font-style: italic;
  638. }
  639. hr {
  640. border: none;
  641. border-top: 2px solid #c00040;
  642. clear: both;
  643. }