Skip to content

Commit

Permalink
Remove remaining .dark rules
Browse files Browse the repository at this point in the history
  • Loading branch information
lynn committed May 19, 2024
1 parent 45f7f13 commit ef80ef8
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions frontend/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ html {
html.dark {
--pink: hsl(330deg, 100%, 73%);
--text-color: hsl(330deg, 25%, 90%);
--cancel-color: hsl(210deg, 87.5%, 50%);
--cancel-color: hsl(330deg, 25%, 90%);
--placeholder-color: hsl(330deg, 0%, 65%);
--page-color: hsl(0deg, 0%, 12%);
--card-color: hsl(330deg, 30%, 30%);
Expand Down Expand Up @@ -103,10 +103,6 @@ input[type='button'].vote-button {
text-decoration: none;
}

.dark #cancel {
color: inherit;
}

input[type='button']:enabled:active,
input[type='button']:enabled:hover,
input[type='button']:enabled:focus,
Expand Down Expand Up @@ -439,8 +435,7 @@ a:hover {
width: calc(512px - 2 * 16px);
}

#menu,
.dark #menu {
#menu {
left: calc((100% - 512px) / 2 - 2px);
width: 516px; /* 512px + 4px */
border-top-width: 0;
Expand All @@ -452,8 +447,7 @@ a:hover {
width: calc(100% - 2 * 16px);
}

#menu,
.dark #menu {
#menu {
width: 100%;
border-width: 0 0 2px 0;
border-radius: 0;
Expand Down

0 comments on commit ef80ef8

Please sign in to comment.