summaryrefslogtreecommitdiff
path: root/style.scss
blob: dbe6fa3eb7fccad071da3fe21abf33d3d79d0e46 (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:1550px) {
  29. z-index: -1;
  30. position: absolute;
  31. margin-top: 8em;
  32. }
  33. }
  34. .pageheader {
  35. padding: 0;
  36. header {
  37. padding: 1em 2%;
  38. }
  39. }
  40. a {
  41. @include hover-link;
  42. @include link-colors($linkColor, $linkHoverColor, $linkColor, $linkColor, $linkHoverColor);
  43. font-weight: bold;
  44. }
  45. .selflink {
  46. color: $linkHoverColor;
  47. }
  48. .header,
  49. .author,
  50. .recentchanges,
  51. .committype,
  52. #footer,
  53. .inlinefooter {
  54. font-size: 80%;
  55. }
  56. .topbar {
  57. padding: 1em 2%;
  58. text-align: center;
  59. }
  60. .topbar ul {
  61. @include inline-list;
  62. li {
  63. margin-right: 2em;
  64. font-variant: all-petite-caps;
  65. }
  66. }
  67. .sidebar {
  68. float: left;
  69. padding: 0;
  70. border: none;
  71. margin-top: -400px;
  72. margin-right: 2%;
  73. margin-bottom: 1em;
  74. margin-left: 2%;
  75. width: 21%;
  76. background: transparent;
  77. }
  78. .sidebar ul {
  79. list-style-type: none;
  80. padding-left: 0;
  81. margin: 0;
  82. }
  83. .sidebar ul li .selflink {
  84. color: $linkHoverColor;
  85. }
  86. #content {
  87. width: 96%;
  88. max-width: 32em;
  89. min-height: 480px;
  90. margin: 0 auto;
  91. padding: 2em 2%;
  92. }
  93. #backlinks {
  94. display: none;
  95. }
  96. img {
  97. vertical-align: top;
  98. margin: 0 1em 1em 0;
  99. padding: 0;
  100. max-width: 100%;
  101. height: auto;
  102. }
  103. img.solo {
  104. float: none;
  105. display: block;
  106. clear: both;
  107. }
  108. th {
  109. text-align: left;
  110. }
  111. #pageinfo {
  112. border-top: none;
  113. padding-left: 2em;
  114. position: fixed;
  115. bottom: 0;
  116. }