diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-08-07 15:06:44 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-08-16 14:25:12 +0100 |
commit | 8d38803db3225d14b8abda16cdf815b1758cd5c3 (patch) | |
tree | c3f08b634540106445c889cc2599cb413d6ae257 /web | |
parent | 774b0c8ebeae889e767719575d31e99f81dd28c2 (diff) |
[Westminster] Move inline CSS to stylesheet.
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/sass/_base.scss | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index 8c1445b36..32a85fa04 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -379,6 +379,14 @@ select.form-control { margin: 0 0 0.5em 0; } } + + small { + margin: 0.5em auto; + display: block; + text-align: center; + font-style: normal; + width: 75%; + } } // Purposefully *not* wrapped in `html.js` because the margin-top helps @@ -387,6 +395,29 @@ select.form-control { margin-top: 1.5em; } +/* On a reporting page MyW/anon */ +small#or { + margin: 1em auto; + width: 100%; +} +small#or:before, small#or:after { + background-color: #fff; + content: ""; + display: inline-block; + height: 2px; + position: relative; + vertical-align: middle; + width: 50%; +} +small#or:before { + right: 1em; + margin-left: -50%; +} +small#or:after { + left: 1em; + margin-right: -50%; +} + // grey background, full width box .form-box { margin: 0 -1em 0.25em; |