summaryrefslogtreecommitdiff
path: root/style.scss
blob: 9a81936ad66c78fcf78bb06d8600854fb81db847 (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. @media screen and(min-width:900px) {
  29. z-index: -1;
  30. position: absolute;
  31. margin-top: 8em;
  32. img {
  33. max-width: 18%;
  34. }
  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. position: fixed;
  119. bottom: 0;
  120. }