Clean-up and more consistent styles.

This commit is contained in:
Matthew Crossman 2021-01-30 19:33:38 +11:00
parent c71df35b22
commit 11e4ff42ed
No known key found for this signature in database
GPG key ID: C6B942B019794CC2
6 changed files with 32 additions and 18 deletions

View file

@ -233,7 +233,7 @@ aside {
color: var(--accent);
}
/* Subscriptions/Favorites */
/* Subscriptions */
#sub_subscription {
margin-top: 20px;
@ -242,20 +242,33 @@ aside {
#sub_subscription > input {
padding: 10px 20px;
border-radius: 5px;
color: var(--foreground);
}
#sub_subscription > .add { color: var(--foreground); background-color: var(--accent); }
#sub_subscription > .remove { color: var(--text); background-color: var(--highlighted); }
#sub_subscription > .add {
color: var(--foreground);
background-color: var(--accent);
}
#sub_list {
#sub_subscription > .remove {
color: var(--text);
background-color: var(--highlighted);
}
/* Subscribed subreddit list */
#subscriptions {
display: flex;
max-width: 1000px;
margin: 0 auto;
align-items: center;
justify-content: center;
padding: 10px 20px;
}
#subs {
.wide #subscriptions {
max-width: calc(100% - 40px);
}
#sub_list {
border-radius: 5px;
box-shadow: var(--shadow);
background: var(--outside);
@ -263,11 +276,11 @@ aside {
overflow: auto;
}
#subs a {
#sub_list > a {
padding: 10px 20px;
}
#subs > .selected {
#sub_list > .selected {
background-color: var(--accent);
color: var(--foreground);
}
@ -1009,7 +1022,10 @@ td, th {
width: calc(100% - 20px);
}
#sub_list { padding: 10px; }
#sub_list {
padding: 10px;
max-width: 100%;
}
aside, #subreddit, #user {
margin: 0;