Clean CSS

This commit is contained in:
spikecodes 2021-01-17 16:20:17 -08:00
parent 738941d830
commit a184559c21

View file

@ -234,6 +234,10 @@ aside {
/* Sorting and Search */
select, #search, #sort_options, #inside, #searchbox > *, #sort_submit {
height: 40px;
}
.search_label {
max-width: 300px;
overflow: hidden;
@ -249,7 +253,7 @@ select {
select, #search {
border: none;
padding: 0 15px;
height: 40px;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
@ -263,10 +267,7 @@ select, #search {
border-radius: 5px;
}
#searchbox > *, #sort_submit {
background: var(--highlighted);
height: 40px;
}
#searchbox > *, #sort_submit { background: var(--highlighted); }
#search {
border-right: 2px var(--outside) solid;
@ -278,7 +279,6 @@ select, #search {
display: flex;
align-items: center;
border-right: 2px var(--outside) solid;
height: 40px;
padding: 0 10px;
}
@ -333,10 +333,6 @@ input[type="submit"]:hover, button.submit:hover {
background: transparent;
}
#sort_options {
height: 40px;
}
#sort, #search_sort {
display: flex;
align-items: center;
@ -727,13 +723,8 @@ a.search_subreddit:hover {
overflow: hidden;
}
.compact .post.highlighted {
border-radius: 5px;
}
.compact .post:not(:last-of-type):not(.highlighted):not(.stickied) {
border-bottom: 0;
}
.compact .post.highlighted { border-radius: 5px; }
.compact .post:not(:last-of-type):not(.highlighted):not(.stickied) { border-bottom: 0; }
.compact .post_score {
padding-top: 15px;
@ -917,21 +908,11 @@ td, th {
font-size: 14px;
}
.post_score::before {
content: "↑"
}
.post_score::before { content: "↑" }
.post:hover > .post_score { background: unset; }
.post:hover > .post_score {
background: unset;
}
.post_header {
font-size: 14px;
}
.post_footer {
margin-left: 15px;
}
.post_header { font-size: 14px; }
.post_footer { margin-left: 15px; }
.replies > .comment {
margin-left: -25px;