mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-06 06:20:30 +02:00
added a 404 page
This commit is contained in:
parent
d779761de7
commit
eca1457225
2 changed files with 79 additions and 0 deletions
63
404.css
Normal file
63
404.css
Normal file
|
@ -0,0 +1,63 @@
|
|||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
font-family: monospace;
|
||||
background-color: #2a2a2a;
|
||||
transition: background-color 0.3s, color 0.3s;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.main {
|
||||
text-align: center;
|
||||
background-color: #4b4b4b;
|
||||
border-radius: 8px;
|
||||
padding: 30px 100px;
|
||||
box-shadow: 0 4px 10px rgba(16, 16, 16, 0.5);
|
||||
width: 30vw;
|
||||
max-width: 30vw;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #c099ff;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: #c099ff;
|
||||
color: #2a2a2a;
|
||||
}
|
||||
|
||||
|
||||
h1 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.main {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
h1 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue