@import "partials/base"; @import "compass/reset/utilities"; @import "compass/typography"; @import "blueprint"; @import "breakpoint"; @include blueprint-typography; h1 { font-size: 2.75em; } .branding { z-index: -1; position: fixed; bottom: 0; // full height isn't enough on Replicant browser height: 100%; width: 100%; background-color: transparent; background-image: url("sr_logo.png"); background-repeat: no-repeat; background-position: right bottom; } p { clear: both; } h1, h2, h3, .inlineheader { color: $headerColor; clear: both; } a { @include hover-link; @include link-colors($linkColor, $linkHoverColor, $linkColor, $linkColor, $linkHoverColor); font-weight: bold; } .selflink { color: $linkHoverColor; } .header, .author, .recentchanges, .committype, #footer, .inlinefooter { font-size: 80%; } .header { margin: 0 1em; } .topbar { padding: 1em 2em; } .topbar ul { @include inline-list; li { margin-right: 4%; } } .sidebar { background: none; padding: 1em; border: none; margin-top: 4em; margin-right: 2em; margin-bottom: 2em; margin-left: 2em; } .sidebar ul li { list-style-type: none; } .sidebar ul li .selflink { color: $linkHoverColor; } .pagecloud { float: right; width: auto; color: $linkHoverColor !important; border: none; background-color: inherit; } #wrapper, #pagebody { float: left; margin: 1em 5% 4.2em; @include breakpoint($large-desktop) { margin-left: 15%; } } #content { max-width: 40em; padding: 0; } // full width, alone (obviously) #content img { margin: 0 0 1em; width: 100%; height: auto; } // half width, left side #content img.left { float: left; margin: 0 0 1em 0; width: 49%; height: auto; } // half width, right side #content img.right { float: right; margin: 0 0 1em 0; width: 49%; height: auto; } // half width, alone #content img.tall { margin: 0 50% 1em 0; width: 50%; height: auto; } // less than half width, alone #content img.verytall { margin: 0 60% 1em 0; width: 40%; height: auto; } // less than half width, two aside (but not text) #content img.tiny { margin: 0 1em 1em 0; width: 40%; height: auto; } // varying width, text aside #content img.aside { float: left; margin: 0 1em 1em 0; width: inherit; height: inherit; } // varying width, alone #content img.logo { margin: 0 1em 1em 0; width: inherit; height: inherit; } .inlinepage { border: 0; padding: 1em 0; min-height: 100px; clear: both; overflow: visible; } .inlineheader { font-size: 2em; a { font-weight: normal; } } .inlinepage .tags { display: none; } .inlineposttext { clear: both; } .tags { display: none; } #footer { z-index: -1; position: fixed; bottom: 0; width: 100%; } #backlinks { display: none; } #pageinfo { margin: 0 1em; padding: 1em 0 0; border-top: 0; } .pageheader .actions ul { border-bottom: 0; } //Responsive design @media screen and (max-width: 480px) { div#content { max-width: 96%; margin: 0; padding: 0 4%; } div.inlinepage { margin: 0; } div.farbar { width: 96%; margin-left: 0; padding: 0 4%; } div.sidebar { float: none; width: 96%; margin-left: 0; padding: 0 4%; } }