feat: rewrite to solidjs

This commit is contained in:
Tholut A 2026-08-21 15:28:21 +07:00
parent 74c6215c27
commit afa2db26e7
21 changed files with 1074 additions and 1835 deletions

View file

@ -1,42 +1,54 @@
:root {
font-family: monospace;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: #ffffff;
background-color: #222222;
font-family: monospace;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: #ffffff;
background-color: #222222;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 400px;
min-height: 100vh;
margin: 0;
display: flex;
place-items: center;
min-width: 400px;
min-height: 100vh;
}
h1 {
font-size: 2.4em;
font-size: 2.4em;
}
button {
font-size: 1em;
font-weight: 500;
}
#app {
max-width: 400px;
margin: 0 auto;
padding: 2rem;
text-align: center;
#root {
max-width: 400px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
@media (prefers-color-scheme: light) {
:root {
color: #222222;
background-color: #ffffff;
}
button {
background-color: #f9f9f9;
}
:root {
color: #222222;
background-color: #ffffff;
}
button {
background-color: #f9f9f9;
}
}
ul.menu {
padding: 0;
text-align: center;
}
ul.menu li {
list-style: none;
margin: 0px 5px;
display: inline-block;
}
ul.menu li button {
cursor: pointer;
font-size: 1em;
font-weight: 500;
}