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