fixed 404 switch

This commit is contained in:
M_12 2023-04-19 19:06:53 +06:00
parent 70e07cf49a
commit fcaf719529
2 changed files with 5 additions and 2 deletions

View file

@ -10,7 +10,7 @@
<link rel="icon" href="https://org.zaboal.name/assets/logo-playroom_green_black-border.svg" /> <link rel="icon" href="https://org.zaboal.name/assets/logo-playroom_green_black-border.svg" />
</head> </head>
<body> <body class="desktop">
<!-- ERROR_VERSION --> <!-- ERROR_VERSION -->
<div class="main error"> <div class="main error">
<div class="header"> <div class="header">

View file

@ -23,6 +23,9 @@ html, body {
body.desktop .main.desktop { body.desktop .main.desktop {
display: grid; display: grid;
} }
body.desktop .main.error {
display: grid;
}
body.mobile .main.mobile { body.mobile .main.mobile {
display: grid; display: grid;
} }
@ -95,7 +98,7 @@ body.mobile .main.mobile {
/* ============ERROR============ */ /* ============ERROR============ */
/* MAIN_ERROR_START */ /* MAIN_ERROR_START */
.main.error { .main.error {
display: grid; display: none;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: var(--main-g-color); background: var(--main-g-color);