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