summaryrefslogtreecommitdiff
path: root/local.scss
blob: f3cf85e0cdcd244f70e5b0ab358fb32248784ef9 (plain)
  1. @import "partials/base";
  2. @import "compass/reset/utilities";
  3. @import "compass/typography";
  4. @import "blueprint";
  5. @include blueprint-typography;
  6. h1 {
  7. font-size: 2.75em;
  8. }
  9. .branding {
  10. z-index: -1;
  11. position: fixed;
  12. bottom: 0; // full height isn't enough on Replicant browser
  13. height: 100%;
  14. width: 100%;
  15. background-color: transparent;
  16. background-image: url("sr_logo.png");
  17. background-repeat: no-repeat;
  18. background-position: right bottom;
  19. }
  20. p {
  21. clear: both;
  22. }
  23. h1, h2, h3, .inlineheader {
  24. color: $headerColor;
  25. clear: both;
  26. }
  27. a {
  28. @include hover-link;
  29. @include link-colors($linkColor, $linkHoverColor, $linkColor, $linkColor, $linkHoverColor);
  30. font-weight: bold;
  31. }
  32. .selflink {
  33. color: $linkHoverColor;
  34. }
  35. .header,
  36. .author,
  37. .recentchanges,
  38. .committype,
  39. #footer,
  40. .inlinefooter {
  41. font-size: 80%;
  42. }
  43. .header {
  44. margin: 0 1em;
  45. }
  46. .topbar {
  47. padding: 1em 2em;
  48. }
  49. .topbar ul {
  50. @include inline-list;
  51. li {
  52. margin-right: 4%;
  53. }
  54. }
  55. .sidebar {
  56. background: none;
  57. padding: 1em;
  58. border: none;
  59. margin-top: 4em;
  60. margin-right: 2em;
  61. margin-bottom: 2em;
  62. margin-left: 2em;
  63. }
  64. .sidebar ul li {
  65. list-style-type: none;
  66. }
  67. .sidebar ul li .selflink {
  68. color: $linkHoverColor;
  69. }
  70. .pagecloud {
  71. float: right;
  72. width: auto;
  73. color: $linkHoverColor !important;
  74. border: none;
  75. background-color: inherit;
  76. }
  77. #wrapper,
  78. #pagebody {
  79. float: left;
  80. margin: 1em 5% 4.2em;
  81. @media only screen and (min-width: 40em) {
  82. margin-left: 25%;
  83. }
  84. }
  85. #content {
  86. max-width: 40em;
  87. padding: 0;
  88. }
  89. // full width, alone (obviously)
  90. #content img {
  91. margin: 0 0 1em;
  92. width: 100%;
  93. height: auto;
  94. }
  95. // half width, left side
  96. #content img.left {
  97. float: left;
  98. margin: 0 0 1em 0;
  99. width: 49%;
  100. height: auto;
  101. }
  102. // half width, right side
  103. #content img.right {
  104. float: right;
  105. margin: 0 0 1em 0;
  106. width: 49%;
  107. height: auto;
  108. }
  109. // half width, alone
  110. #content img.tall {
  111. margin: 0 50% 1em 0;
  112. width: 50%;
  113. height: auto;
  114. }
  115. // less than half width, alone
  116. #content img.verytall {
  117. margin: 0 60% 1em 0;
  118. width: 40%;
  119. height: auto;
  120. }
  121. // less than half width, two aside (but not text)
  122. #content img.tiny {
  123. margin: 0 1em 1em 0;
  124. width: 40%;
  125. height: auto;
  126. }
  127. // varying width, text aside
  128. #content img.aside {
  129. float: left;
  130. margin: 0 1em 1em 0;
  131. width: inherit;
  132. height: inherit;
  133. }
  134. // varying width, alone
  135. #content img.logo {
  136. margin: 0 1em 1em 0;
  137. width: inherit;
  138. height: inherit;
  139. }
  140. .inlinepage {
  141. border: 0;
  142. padding: 1em 0;
  143. min-height: 100px;
  144. clear: both;
  145. overflow: visible;
  146. }
  147. .inlineheader {
  148. font-size: 2em;
  149. a {
  150. font-weight: normal;
  151. }
  152. }
  153. .inlinepage .tags {
  154. display: none;
  155. }
  156. .inlineposttext {
  157. clear: both;
  158. }
  159. .tags {
  160. display: none;
  161. }
  162. #footer {
  163. z-index: -1;
  164. position: fixed;
  165. bottom: 0;
  166. width: 100%;
  167. }
  168. #backlinks {
  169. display: none;
  170. }
  171. #pageinfo {
  172. margin: 0 1em;
  173. padding: 1em 0 0;
  174. border-top: 0;
  175. }
  176. .pageheader .actions ul {
  177. border-bottom: 0;
  178. }