diff options
| author | rr- <rr-@sakuya.pl> | 2016-12-22 23:37:30 +0100 |
|---|---|---|
| committer | rr- <rr-@sakuya.pl> | 2016-12-22 23:45:14 +0100 |
| commit | cf24d63fa498722010aff4b883ace873c28022bb (patch) | |
| tree | 455daa0a57df09041f6aa6de40d3b74897496412 /client/css | |
| parent | 40fa118cca0be8592b0cdc59b2639a8a78338fae (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')
| -rw-r--r-- | client/css/core-forms.styl | 6 | ||||
| -rw-r--r-- | client/css/post-list-view.styl | 2 | ||||
| -rw-r--r-- | client/css/post-upload.styl | 4 | ||||
| -rw-r--r-- | client/css/tag-input-control.styl | 3 | ||||
| -rw-r--r-- | client/css/tag-list-view.styl | 2 | ||||
| -rw-r--r-- | client/css/user-list-view.styl | 2 |
6 files changed, 11 insertions, 8 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 diff --git a/client/css/post-list-view.styl b/client/css/post-list-view.styl index b18fa64..4e797e0 100644 --- a/client/css/post-list-view.styl +++ b/client/css/post-list-view.styl @@ -106,7 +106,7 @@ text-align: left label - display: none + display: none !important form width: auto margin-bottom: 0.75em diff --git a/client/css/post-upload.styl b/client/css/post-upload.styl index f315236..cd68431 100644 --- a/client/css/post-upload.styl +++ b/client/css/post-upload.styl @@ -39,6 +39,10 @@ $cancel-button-color = tomato margin-top: 1em .uploadables-container + list-style-type: none + margin: 0 + padding: 0 + li margin: 0 0 1.2em 0 diff --git a/client/css/tag-input-control.styl b/client/css/tag-input-control.styl index d4ee865..7e9d0fc 100644 --- a/client/css/tag-input-control.styl +++ b/client/css/tag-input-control.styl @@ -87,7 +87,8 @@ div.tag-input ul.compact-tags width: 100% - margin-top: 0.5em + margin: 0.5em 0 0 0 + padding: 0 li margin: 0 width: 100% diff --git a/client/css/tag-list-view.styl b/client/css/tag-list-view.styl index 410eb3d..8ae7bcb 100644 --- a/client/css/tag-list-view.styl +++ b/client/css/tag-list-view.styl @@ -41,7 +41,7 @@ .tag-list-header label - display: none + display: none !important text-align: left form width: auto diff --git a/client/css/user-list-view.styl b/client/css/user-list-view.styl index 1f3ada3..3d49d94 100644 --- a/client/css/user-list-view.styl +++ b/client/css/user-list-view.styl @@ -28,7 +28,7 @@ .user-list-header label - display: none + display: none !important text-align: left form width: auto |