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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,9 +17,6 @@
|
||||
}
|
||||
|
||||
&.sidebar-blacklist ul li {
|
||||
list-style-type: disc;
|
||||
list-style-position: inside;
|
||||
|
||||
a {
|
||||
max-width: 75%;
|
||||
}
|
||||
|
||||
@@ -13,10 +13,6 @@ div#page {
|
||||
font-size: $h3_size;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#options-box i.fa-bookmark {
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@ div#news-updates {
|
||||
}
|
||||
|
||||
li {
|
||||
list-style-type: none;
|
||||
float: left;
|
||||
margin: 0 2em 0 0;
|
||||
padding: 0;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -84,11 +84,3 @@ div#c-pool-versions {
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
}
|
||||
|
||||
ul.inline-pool-list {
|
||||
display: inline;
|
||||
|
||||
li {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
div#c-maintenance-user-deletions {
|
||||
ul {
|
||||
margin-left: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style-type: disc;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user