diff options
author | yhirano <yhirano@me.com> | 2017-05-08 03:47:31 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-07 20:47:31 +0200 |
commit | d63c291f86b1608a01322f1d8c1652361ea1dc8a (patch) | |
tree | b9d6f89410a212d8b830f956af84189d01222ad0 /app/javascript/styles/about.scss | |
parent | 6ad19036e3b744c6ae7c19627c569da79ffdb726 (diff) |
Enable CodeClimate SCSS Lint checks (#2886)
* add scss_lint to Gemfile * add .scss-lint.yml * fix warnings of scss-lint * chmod -x styles/variables.scss * Enable CodeClimate SCSS Lint checks
Diffstat (limited to 'app/javascript/styles/about.scss')
-rw-r--r-- | app/javascript/styles/about.scss | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/app/javascript/styles/about.scss b/app/javascript/styles/about.scss index c87452996..b5626551e 100644 --- a/app/javascript/styles/about.scss +++ b/app/javascript/styles/about.scss @@ -44,7 +44,8 @@ color: $color2; } - ul, ol { + ul, + ol { list-style: inherit; margin-left: 20px; @@ -57,11 +58,13 @@ } } - li > ol, li > ul { + li > ol, + li > ul { margin-top: 20px; } - p, li { + p, + li { font: 16px/28px 'mastodon-font-sans-serif', sans-serif; font-weight: 400; margin-bottom: 12px; @@ -74,7 +77,7 @@ em { display: inline-block; - padding: 7px 7px 5px 7px; + padding: 7px 7px 5px; margin: 0 2px; background: $color3; color: $color1; @@ -134,7 +137,8 @@ text-align: right; font: 16px/28px 'mastodon-font-sans-serif', sans-serif; - span, strong { + span, + strong { display: block; } @@ -333,7 +337,8 @@ } } - .simple_form, .closed-registrations-message { + .simple_form, + .closed-registrations-message { width: 300px; flex: 0 0 auto; background: rgba(darken($color1, 7%), 0.5); @@ -359,7 +364,8 @@ display: none; } - .simple_form, .closed-registrations-message { + .simple_form, + .closed-registrations-message { flex: auto; } } |