css: clean up <ul> css.

* Remove `list-style-type: none` rules (this is the default).
* Add `list-bulleted` and `list-inline` utility classes.
* Wrap terms of service and user deletion pages in dtext `.prose` class
  so we don't have to redefine basic list styles on these pages.
This commit is contained in:
evazion
2019-09-23 19:06:34 -05:00
parent f4512576a4
commit 77d2260576
15 changed files with 19 additions and 70 deletions

View File

@@ -1,7 +1,6 @@
ul.backtrace {
font-family: monospace;
font-size: 1.2em;
list-style-type: none;
background: var(--dtext-code-background);
padding: 1em;
margin-bottom: 1em;

View File

@@ -84,11 +84,3 @@ div#c-pool-versions {
margin-right: 0.25em;
}
}
ul.inline-pool-list {
display: inline;
li {
display: inline;
}
}

View File

@@ -237,10 +237,6 @@ div#c-posts {
overflow: hidden;
border: var(--post-notice-border);
ul.post-flag-reasons, ul.post-appeal-reasons {
list-style: inside;
}
p {
margin-bottom: 0;
}
@@ -269,10 +265,6 @@ div#c-posts {
margin-bottom: 1em;
}
aside#sidebar > section > ul li {
list-style-type: none;
}
aside#sidebar > section > ul ul li {
margin-left: 1em;
}

View File

@@ -1,24 +0,0 @@
@import "../base/000_vars.scss";
div#c-static div#a-terms-of-service {
h1 {
font-size: $h2_size;
}
p {
margin-bottom: 1em;
}
ul {
margin-left: 1em;
margin-bottom: 1em;
}
li {
list-style-type: disc;
}
section {
margin-bottom: 2em;
}
}

View File

@@ -1,10 +0,0 @@
div#c-maintenance-user-deletions {
ul {
margin-left: 1em;
margin-bottom: 1em;
}
li {
list-style-type: disc;
}
}