aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-11-08 15:58:43 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-11-08 15:58:43 +0000
commitbaf1622fa8e118dcda25c2ad9aea4d4e784003be (patch)
tree8965a26714c0a1e41536689506f3cf4f9e1ce73a /web
parent1b6dca6afd96f508f93f77216c2afb7e6f8945c7 (diff)
parent01ddf3bf5ab498ef6c45d266870475659e135689 (diff)
Merge branch '1722-homepage-stats-overflow'
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/sass/_base.scss10
-rw-r--r--web/cobrands/sass/_layout.scss14
2 files changed, 15 insertions, 9 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss
index b9c666da1..a3861738a 100644
--- a/web/cobrands/sass/_base.scss
+++ b/web/cobrands/sass/_base.scss
@@ -2036,11 +2036,11 @@ table.nicetable {
size:0.8125em;
weight:bold;
}
- big {
- display:block;
- margin-bottom:0.5em;
- font-size:1.5385em;
- }
+ }
+ big {
+ display:block;
+ margin-bottom:0.5em;
+ font-size:1.5385em;
}
}
}
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 5a78ff4d5..fce99c3de 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -931,10 +931,16 @@ textarea.form-error {
color: #222;
border-top:0.25em solid $primary;
padding-top:1em;
- div {
- big {
- color: $layout_front_stats_color;
- font-size: 3.2308em;
+ big {
+ color: $layout_front_stats_color;
+ font-size: 2em;
+ @media (min-width: 54em) {
+ // 54em roughly halfway between 48em and 62em
+ font-size: 2.5em;
+ }
+ @media (min-width: 62em) {
+ // container max-width 60em + 2em side padding
+ font-size: 3em;
}
}
}