perf(web): switch to dark theme

This commit is contained in:
Masahiko AMANO 2023-02-07 02:18:37 +03:00
parent 84e3dd19e1
commit 9c07702409
6 changed files with 30 additions and 16 deletions

View File

@ -15,7 +15,9 @@ body {
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url(/images/bg-1920x1440.webp);
color: #eee;
background-color: #2d2b40;
background-image: url(/images/bg-1920x1440-dark.webp);
background-size: 100% auto;
background-repeat: no-repeat;
}
@ -30,10 +32,10 @@ header {
h1 {
margin: 12px 0;
padding: 0;
color: white;
color: inherit;
font-family: Epilogue, sans-serif;
font-size: 10vmin;
text-shadow: 0 0 8px black;
text-shadow: 0 0 8px #555;
text-align: center;
cursor: default;
}
@ -52,7 +54,7 @@ main {
margin: 0;
display: flex;
flex-direction: column;
background-color: #fff8;
background-color: #3348;
box-shadow: 0 0 0.5vw black;
border-radius: 16px;
width: 80vw;
@ -62,7 +64,7 @@ main {
}
main:hover {
background-color: #fff;
background-color: #334;
box-shadow: 0 0 1vw black;
}
@ -83,11 +85,12 @@ h2 {
flex-direction: column;
justify-content: center;
align-items: center;
background-color: hsla(270, 80%, 80%, 0.6);
background-color: hsla(270, 30%, 60%, 0.6);
border-bottom: 0;
color: #111;
font-family: Secular One, sans-serif;
font-size: 5.5vmin;
text-shadow: 2.5px 2px 0.5px white;
text-shadow: 2.5px 2px 0.5px #ddd;
text-align: center;
cursor: default;
}
@ -107,6 +110,17 @@ form {
justify-content: space-between;
}
.form-control,
.form-control:focus {
color: #ddd !important;
background-color: #445;
}
.form-control::placeholder,
.form-control::-webkit-input-placeholder {
color: #bbb !important;
}
.button-flex {
display: flex;
flex-direction: row;

View File

@ -49,7 +49,7 @@ main {
display: flex;
flex-direction: column;
justify-content: flex-start;
background-color: #eee;
background-color: #334;
box-shadow: 0 0 0.5vw black;
border-radius: 16px;
margin: 10px;
@ -170,17 +170,17 @@ form {
right: 0;
bottom: 0;
left: 0;
background-color: #0000;
}
.sasa:hover .overlay {
background-color: #0002;
}
.sasa.selected .overlay {
.sasa:hover .overlay {
background-color: #0004;
}
.sasa.selected .overlay {
background-color: #0006;
}
.tanzaku {
margin: 5px;
padding: 7px;
@ -191,11 +191,11 @@ form {
.tanzaku:hover,
.tanzaku.selected:hover {
background-color: #0004;
background-color: #0006;
}
.tanzaku.selected {
background-color: #0002;
background-color: #0004;
}
.button-flex {
@ -206,5 +206,5 @@ form {
right: 0;
margin: 0;
padding: .5rem 0;
background-color: #eee;
background-color: #334;
}

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 421 KiB

After

Width:  |  Height:  |  Size: 421 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 KiB