summaryrefslogtreecommitdiff
path: root/monochrome/style.scss
blob: 83c239bb91f27d13b242408bc1838cc67bad526c (plain)
  1. @charset "UTF-8";
  2. @import url(http://fonts.googleapis.com/css?family=Lato&v2);
  3. @import "ikiwiki";
  4. @include ikiwiki-boilerplate;
  5. @include ikiwiki-reset;
  6. @include ikiwiki-style-legacy;
  7. /*
  8. * monochrome - ikiwiki theme © Jon Dowland 2012
  9. * based on ikiwiki style.css and bits from jmtd.net at the time
  10. * License: GPL-2+
  11. */
  12. body {
  13. margin-left: auto;
  14. margin-right: auto;
  15. width: 48em;
  16. max-width: 95%;
  17. background: url(gradient.png) repeat-x white 0px -16px;
  18. margin-top: 48px;
  19. /* height of gradient.png that we want to see */
  20. color: #555;
  21. font-family: 'Lato', sans-serif;
  22. }
  23. div.header, header.header {
  24. margin-bottom: 0.5em;
  25. }
  26. .pageheader .actions ul {
  27. border-bottom: 2px solid #c00040;
  28. }
  29. #pageinfo {
  30. border-top: 2px solid #c00040;
  31. text-align: center;
  32. color: #aaa;
  33. }
  34. /*
  35. * css3 external links stuff
  36. * thanks to <http://www.kryogenix.org/days/2002/08/30/external>
  37. */
  38. #content a[href^="http:"]:after,
  39. #content a[href^="https:"]:after,
  40. #enclosure a[href^="http:"]:after,
  41. #enclosure a[href^="https:"]:after {
  42. content: "↗";
  43. }
  44. /* you will want to replicate this for your own domain in local.css */
  45. #content a[href^="http://localhost"]:after,
  46. #content a[href^="http://ikiwiki.info"]:after,
  47. #enclosure a[href^="http://localhost"]:after,
  48. #enclosure a[href^="http://ikiwiki.info"]:after {
  49. content: none;
  50. }
  51. /* colouring */
  52. a:link {
  53. color: #c00040;
  54. font-weight: bold;
  55. text-decoration: none;
  56. }
  57. a:hover {
  58. color: #f01070;
  59. text-decoration: underline;
  60. }
  61. a:active {
  62. color: #c00040;
  63. }
  64. a:visited {
  65. color: #c08080;
  66. font-weight: normal;
  67. font-style: italic;
  68. }
  69. hr {
  70. border: none;
  71. border-top: 2px solid #c00040;
  72. clear: both;
  73. }