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