summaryrefslogtreecommitdiff
path: root/client/css/core-forms.styl
diff options
context:
space:
mode:
authorrr- <rr-@sakuya.pl>2016-12-22 23:37:30 +0100
committerrr- <rr-@sakuya.pl>2016-12-22 23:45:14 +0100
commitcf24d63fa498722010aff4b883ace873c28022bb (patch)
tree455daa0a57df09041f6aa6de40d3b74897496412 /client/css/core-forms.styl
parent40fa118cca0be8592b0cdc59b2639a8a78338fae (diff)
client/css: fix lists in comments css inheritance
Markdown lists in comments inherited some unwanted CSS rules. The fix is to make the culprit rules apply to more specific elements.
Diffstat (limited to 'client/css/core-forms.styl')
-rw-r--r--client/css/core-forms.styl6
1 files changed, 2 insertions, 4 deletions
diff --git a/client/css/core-forms.styl b/client/css/core-forms.styl
index 5fe44e4..8323d16 100644
--- a/client/css/core-forms.styl
+++ b/client/css/core-forms.styl
@@ -4,17 +4,15 @@ form
display: block
width: 20em
- ul
+ .input
list-style-type: none
- margin: 0 0 1em 0
+ margin: 0 0 2em 0
padding: 0
li
margin-top: 1.2em
label
display: block
padding: 0.3em 0
- .input
- margin-bottom: 2em
.input li:first-child label:not(.radio):not(.checkbox):not(.file-dropper),
.input li:first-child
padding-top: 0