summaryrefslogtreecommitdiff
path: root/style.scss
blob: 7b303703169c4837ae554bdb90d2917f16b344c2 (plain)
  1. @import "typey/font-stacks";
  2. @import "partials/base";
  3. @import "normalize";
  4. @import "typey";
  5. @import "../shared/themes/default/ikiwiki";
  6. @import "compass/reset/utilities";
  7. @import "compass/typography";
  8. @import "breakpoint";
  9. @include normalize;
  10. @media print {
  11. @import "gutenberg";
  12. }
  13. @include ikiwiki-style;
  14. body {
  15. @include breakpoint($wide) {
  16. background-image: url(cloud.jpg), url(grass.jpg), url(stream.jpg), url(birds.jpg);
  17. background-repeat: no-repeat;
  18. background-position: right 5% top 8%, right 5% bottom 5%, left 5% bottom 5%, left 5% top 8%;
  19. background-size: 23%, 23%, 23%, 23%;
  20. }
  21. }
  22. h1 {
  23. @include typeset(heading-1);
  24. }
  25. #branding-logo {
  26. width: 94%;
  27. margin: 2em 3% 0;
  28. text-align: right;
  29. @include breakpoint($wide) {
  30. z-index: -1;
  31. position: absolute;
  32. margin-top: 8em;
  33. img {
  34. max-width: 18%;
  35. }
  36. }
  37. }
  38. .pageheader {
  39. padding: 0;
  40. header {
  41. padding: 1em 2%;
  42. }
  43. }
  44. a {
  45. @include hover-link;
  46. @include link-colors($linkColor, $linkHoverColor, $linkColor, $linkColor, $linkHoverColor);
  47. font-weight: bold;
  48. }
  49. .selflink {
  50. color: $linkHoverColor;
  51. }
  52. .header,
  53. .author,
  54. .recentchanges,
  55. .committype,
  56. #footer,
  57. .inlinefooter {
  58. font-size: 80%;
  59. }
  60. .topbar {
  61. padding: 1em 2%;
  62. text-align: center;
  63. }
  64. .topbar ul {
  65. @include inline-list;
  66. li {
  67. margin-right: 2em;
  68. font-variant: all-petite-caps;
  69. }
  70. }
  71. .sidebar {
  72. float: left;
  73. padding: 0;
  74. border: none;
  75. margin-top: -400px;
  76. margin-right: 2%;
  77. margin-bottom: 1em;
  78. margin-left: 2%;
  79. width: 21%;
  80. background: transparent;
  81. }
  82. .sidebar ul {
  83. list-style-type: none;
  84. padding-left: 0;
  85. margin: 0;
  86. }
  87. .sidebar ul li .selflink {
  88. color: $linkHoverColor;
  89. }
  90. #content {
  91. width: 96%;
  92. max-width: 32em;
  93. min-height: 480px;
  94. margin: 0 auto;
  95. padding: 2em 2%;
  96. }
  97. #backlinks {
  98. display: none;
  99. }
  100. img {
  101. vertical-align: top;
  102. margin: 0 1em 1em 0;
  103. padding: 0;
  104. max-width: 100%;
  105. height: auto;
  106. }
  107. img.solo {
  108. float: none;
  109. display: block;
  110. clear: both;
  111. }
  112. th {
  113. text-align: left;
  114. }
  115. #pageinfo {
  116. border-top: none;
  117. padding-left: 2em;
  118. bottom: 0;
  119. @include breakpoint($wide) {
  120. position: fixed;
  121. }
  122. }