aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-06-01 19:07:29 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-06-08 09:07:21 +0100
commitc4309c89eadd5852fe55690394de4013216d1135 (patch)
tree8fc28eb49dee10958d954b5100d5c221a67ad47a /web
parenta685f825695335fae1a3516d03f98bcef6e8cbbc (diff)
Tidy up .content width/margin/padding.
There was no need for the default .content width to be fixed and require overriding.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/sass/_layout.scss20
1 files changed, 3 insertions, 17 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 6da7c6aba..47980ca21 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -143,9 +143,8 @@ h1 {
// The narrow single column box
.content {
- width: 27em;
- margin: 1em 0.5em 0 0.5em;
- padding: 1em 1em 3em;
+ margin: 1em 0.5em 0;
+ padding: 1em;
background: #fff;
color: #222;
}
@@ -166,7 +165,6 @@ body.mappage {
}
.content {
- width: auto;
padding: 0;
margin: 0;
}
@@ -394,20 +392,10 @@ body.mappage.admin {
}
}
-
-// full width page
-body.fullwidthpage {
- .content {
- width: auto;
- }
-}
-
body.twothirdswidthpage,
body.fullwidthpage {
.container {
.content {
- padding: 1em;
- margin-bottom: 0em;
footer {
margin-top: 0em;
margin-bottom: -1em;
@@ -503,10 +491,9 @@ body.twothirdswidthpage {
// but keep them narrow to match the report sidebar
body.authpage {
.content {
+ width: 27em;
margin-#{$left}: auto;
margin-#{$right}: auto;
- margin-bottom: 0;
- padding: 1em; // same as .twothirdswidthpage .content
}
}
@@ -523,7 +510,6 @@ body.authpage {
width:50%;
}
.full-width {
- width:auto;
margin:0;
}
}