Commit 1b39314d authored by Nick Stenning's avatar Nick Stenning

Move app-specific body CSS into app.scss

Overriding properties on the body in the otherwise component-specific
`topbar.scss` is a cause for confusion. This resulted in the styling for
the help page being broken when topbar was bundled into `app.scss`.
parent a124c259
...@@ -13,6 +13,11 @@ body { ...@@ -13,6 +13,11 @@ body {
@extend .noise; @extend .noise;
font-family: $sans-font-family; font-family: $sans-font-family;
font-weight: 300; font-weight: 300;
font-size: .8em;
height: 100%;
width: 100%;
padding-top: 30px;
position: fixed;
} }
#{nest("hgroup", "#{headings()}")} { #{nest("hgroup", "#{headings()}")} {
...@@ -27,8 +32,12 @@ ol { ...@@ -27,8 +32,12 @@ ol {
} }
#wrapper { #wrapper {
height: 100%;
padding: .72em; padding: .72em;
text-align: center; text-align: center;
overflow-y: auto;
position: relative;
-webkit-overflow-scrolling: touch;
@include respond-to(tablets desktops) { @include respond-to(tablets desktops) {
padding-bottom: 4em; padding-bottom: 4em;
......
@import 'base'; @import 'base';
@import 'mixins/responsive'; @import 'mixins/responsive';
body {
background-color: transparent;
font-size: .8em;
height: 100%;
width: 100%;
padding-top: 30px;
position: fixed;
}
#wrapper {
height: 100%;
overflow-y: auto;
position: relative;
-webkit-overflow-scrolling: touch;
}
.topbar { .topbar {
background: $white; background: $white;
border: solid 1px $gray-lighter; border: solid 1px $gray-lighter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment