Мобильный сайт бета
This commit is contained in:
parent
15fbecce66
commit
2e79e3ef16
4 changed files with 129 additions and 6 deletions
|
@ -23,5 +23,6 @@
|
||||||
<h1>Зажигин Богдан Алексеевич · ИНН 519056542114</h1>
|
<h1>Зажигин Богдан Алексеевич · ИНН 519056542114</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
98
source/mobile.css
Normal file
98
source/mobile.css
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
@import url("https://fonts.googleapis.com/css?family=Martian+Mono");
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--main-b-color: #04030F;
|
||||||
|
--main-g-color: #04F30F;
|
||||||
|
--main-text-g: #04F30F;
|
||||||
|
--main-text-b: #04030F;
|
||||||
|
--main-width: 1900px;
|
||||||
|
--main-height: 500vh;
|
||||||
|
--error-width: 1900px;
|
||||||
|
--error-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
font-family: "Martian Mono", monospace;
|
||||||
|
font-size: 14pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Body */
|
||||||
|
/* Mobile */
|
||||||
|
/* Green */
|
||||||
|
body,html,div.error#mobile {
|
||||||
|
background: var(--main-g-color);
|
||||||
|
display: flex;
|
||||||
|
min-height: var(--error-height);
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Header */
|
||||||
|
/* Mobile */
|
||||||
|
/* Green */
|
||||||
|
div.error > .header {
|
||||||
|
position: fixed;
|
||||||
|
height: 32px;
|
||||||
|
width: 100%;
|
||||||
|
background: var(--main-b-color);
|
||||||
|
z-index: 999999999999;
|
||||||
|
}
|
||||||
|
div.error > .header > img {
|
||||||
|
height: 100%;
|
||||||
|
margin: auto;
|
||||||
|
display: block;
|
||||||
|
padding: 8px 0px 8px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Info */
|
||||||
|
/* Mobile */
|
||||||
|
/* Green */
|
||||||
|
div.error#mobile > .info {
|
||||||
|
margin-top: 32px;
|
||||||
|
background: var(--main-g-color);
|
||||||
|
width: 100%;
|
||||||
|
min-height: calc(100% - 64px);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
div.error#mobile > .info > b {
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
font-size: 32px;
|
||||||
|
line-height: 1.25;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
div.error#mobile > .info > b > big {
|
||||||
|
font-size: 32px;
|
||||||
|
color: rgba(0, 0, 0, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Footer */
|
||||||
|
/* Mobile */
|
||||||
|
/* Green */
|
||||||
|
div.error > .footer {
|
||||||
|
display: block;
|
||||||
|
height: 32px;
|
||||||
|
width: 100%;
|
||||||
|
background: var(--main-b-color);
|
||||||
|
color: var(--main-text-g);
|
||||||
|
margin-top: auto;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
div.error > .footer > h1 {
|
||||||
|
letter-spacing: 4px;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
padding: 5px 0px 8px 0px;
|
||||||
|
text-decoration: none;
|
||||||
|
text-transform: none;
|
||||||
|
}
|
23
source/mobile.html
Normal file
23
source/mobile.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Mobile</title>
|
||||||
|
<link rel="stylesheet" href="mobile.css">
|
||||||
|
<link rel="icon" href="https://org.zaboal.name/assets/logo-playroom_green_black-border.svg">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="mobile" class="error">
|
||||||
|
<div class="header">
|
||||||
|
<img src="https://org.zaboal.name/assets/logo-playroom_green.svg" alt="Логотип «Игровой»">
|
||||||
|
</div>
|
||||||
|
<div class="info">
|
||||||
|
<b>Перезайдите с компьютера. На наших серверах играть можно только с него.<big>(⌐■_■)</big></b>
|
||||||
|
</div>
|
||||||
|
<div class="footer">
|
||||||
|
<h1>Зажигин Богдан Алексеевич · ИНН 519056542114</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -100,7 +100,7 @@ div.black > .info > b > big {
|
||||||
}
|
}
|
||||||
/* Error */
|
/* Error */
|
||||||
/* Green */
|
/* Green */
|
||||||
div.error > .info {
|
div.error#site > .info {
|
||||||
margin-top: 64px;
|
margin-top: 64px;
|
||||||
background: var(--main-g-color);
|
background: var(--main-g-color);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -110,12 +110,12 @@ div.error > .info {
|
||||||
min-height: 384px;
|
min-height: 384px;
|
||||||
color: var(--main-text-b);
|
color: var(--main-text-b);
|
||||||
}
|
}
|
||||||
div.error > .info > h1 {
|
div.error#site > .info > h1 {
|
||||||
font-size: 512px;
|
font-size: 512px;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
margin-left: 117.25px;
|
margin-left: 117.25px;
|
||||||
}
|
}
|
||||||
div.error > .info > .row {
|
div.error#site > .info > .row {
|
||||||
width: 512px;
|
width: 512px;
|
||||||
height: 512px;
|
height: 512px;
|
||||||
padding-top: 158px;
|
padding-top: 158px;
|
||||||
|
@ -124,15 +124,16 @@ div.error > .info > .row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
div.error > .info > .row > .h1 {
|
div.error#site > .info > .row > .h1 {
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
text-transform: lowercase;
|
text-transform: lowercase;
|
||||||
padding-bottom: 32px;
|
padding-bottom: 32px;
|
||||||
}
|
}
|
||||||
div.error > .info > .row > .p {
|
div.error#site > .info > .row > .p {
|
||||||
font-size: 34px;
|
font-size: 34px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Footer */
|
/* Footer */
|
||||||
/* Black */
|
/* Black */
|
||||||
div.black > .footer {
|
div.black > .footer {
|
||||||
|
@ -175,7 +176,7 @@ div.error > .footer > h1 {
|
||||||
/* Info */
|
/* Info */
|
||||||
/* Error */
|
/* Error */
|
||||||
/* Green */
|
/* Green */
|
||||||
div.error > .info > h1 {
|
div.error#site > .info > h1 {
|
||||||
font-size: 512px;
|
font-size: 512px;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
margin-left: 32.25px !important;
|
margin-left: 32.25px !important;
|
||||||
|
|
Loading…
Add table
Reference in a new issue