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

@@ -101,7 +101,6 @@ menu {
li {
margin: 0;
padding: 0 0.2em;
list-style-type: none;
display: inline;
}
}
@@ -123,3 +122,13 @@ table tfoot {
.fixed-width-container {
max-width: 70em;
}
ul.list-bulleted {
list-style: inside disc;
}
ul.list-inline {
&, li {
display: inline;
}
}

View File

@@ -17,9 +17,6 @@
}
&.sidebar-blacklist ul li {
list-style-type: disc;
list-style-position: inside;
a {
max-width: 75%;
}

View File

@@ -13,10 +13,6 @@ div#page {
font-size: $h3_size;
}
ul {
list-style-type: none;
}
#options-box i.fa-bookmark {
margin-right: 0.25em;
}

View File

@@ -12,7 +12,6 @@ div#news-updates {
}
li {
list-style-type: none;
float: left;
margin: 0 2em 0 0;
padding: 0;

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;
}
}