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