Skip to content

Commit

Permalink
Update surface colors of downloads page
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperDragonXD authored Jul 10, 2024
1 parent 4cd7f71 commit 5f4ac35
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions assets/downloads.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ html,
body {
display: flex;
flex-direction: column;
background-color: var(--surface-container)
}

header {
background-color: var(--surface);
background-color: var(--surface-container);
}

main {
Expand All @@ -18,8 +19,8 @@ img {
}

.card {
background: var(--surface-container);
color: var(--on-surface-container);
background: var(--surface);
color: var(--on-surface);
padding: 20px 24px;
border-radius: var(--shape-l);
width: 500px;
Expand All @@ -32,7 +33,6 @@ img {
}

.card:hover {
background: var(--surface-container-high);
border-radius: var(--shape-xl);
}

Expand Down Expand Up @@ -125,6 +125,17 @@ img {
font-size: 1.3em;
}

@media screen and (prefers-color-scheme: dark) {
html,
body {
background-color: var(--surface)
}

.card {
background-color: var(--surface-container)
}
}

@media screen and (max-width: 700px) {
.card {
width: 70%;
Expand Down

0 comments on commit 5f4ac35

Please sign in to comment.