Готовый сайт под ПК #4

This commit is contained in:
orange 2023-03-18 15:32:57 +06:00
parent 8b9a0f865a
commit 854b8ae511
3 changed files with 54 additions and 77 deletions

View file

@ -1,23 +0,0 @@
@import url("https://fonts.googleapis.com/css?family=Martian+Mono");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Martian Mono", monospace;
font-size: 14pt;
}
.header {
position: fixed;
height: 32px;
width: 100%;
background: var(--main-g-color);
z-index: 999999999999;
}
.header > img {
height: 100%;
margin: auto;
display: block;
padding: 8px 0px 8px 0px;
}

View file

@ -3,20 +3,21 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title> <title>Zaboal</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="Header.css"> <link rel="icon" href="https://org.zaboal.name/assets/logo-playroom_black.svg">
</head> </head>
<body> <body>
<div class="header"> <div id="site" class="black">
<img src="https://org.zaboal.name/assets/logo-playroom_black.svg" alt="Логотип «Игровой»"> <div class="header">
</div> <img src="https://org.zaboal.name/assets/logo-playroom_black.svg" alt="Логотип «Игровой»">
<div class="info"> </div>
<b>Единый проход на сервера опен-сорс игр с регулярным тусейшеном и ахуенными плагинами <big>ヾ(⌐■_■)ノ♪</big></b> <div class="info">
</div> <b>Единый проход на сервера опен-сорс игр с регулярным тусейшеном и ахуенными плагинами <big>ヾ(⌐■_■)ノ♪</big></b>
</div>
<div class="footer"> <div class="footer">
<h1>Зажигин Богдан Алексеевич · ИНН 519056542114</h1> <h1>Зажигин Богдан Алексеевич · ИНН 519056542114</h1>
</div>
</div> </div>
<script src="script.js"></script> <script src="script.js"></script>
</body> </body>

View file

@ -3,50 +3,56 @@
:root { :root {
--main-b-color: #04030F; --main-b-color: #04030F;
--main-g-color: #04f30f; --main-g-color: #04f30f;
--main-width: 1900px;
--main-height: 1000vh;
} }
* { * {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
font-family: "Martian Mono", monospace; font-family: "Martian Mono", monospace;
font-size: 14pt; font-size: 14pt;
} }
body { body {
background: var(--main-b-color); overflow-x: hidden;
display: flex;
min-height: 1000vh;
flex-direction: column;
} }
.info { body,div.black {
position: relative; background: var(--main-b-color);
background: var(--main-g-color); display: flex;
top: 32px; min-height: var(--main-height);
width: 100%; width: 100%;
height: 384px; height: 100%;
flex-direction: column;
} }
.info::after { /* Header */
content: ""; .header {
display: block; position: fixed;
width: calc(1930px - 27px); height: 32px;
height: 384px; width: 100%;
position: absolute;
top: 0;
background: var(--main-g-color); background: var(--main-g-color);
z-index: -1; z-index: 999999999999;
} }
.header > img {
.info > b > big { height: 100%;
font-size: 64px; margin: auto;
color: rgba(0, 0, 0, 0.25);
}
.info > b {
padding: 64px;
display: block; display: block;
width: 1594px; padding: 8px 0px 8px 0px;
}
/* Info */
.info {
margin-top: 32px;
background: var(--main-g-color);
width: 100%;
min-height: 384px;
}
.info > b {
padding: 64px 0 0 64px;
display: block;
max-width: 1594px;
font-size: 64px; font-size: 64px;
line-height: 1.25; line-height: 1.25;
letter-spacing: 1px; letter-spacing: 1px;
@ -54,7 +60,11 @@ body {
text-transform: lowercase; text-transform: lowercase;
overflow-wrap: break-word; overflow-wrap: break-word;
} }
.info > b > big {
font-size: 64px;
color: rgba(0, 0, 0, 0.25);
}
/* Footer */
.footer { .footer {
display: block; display: block;
height: 32px; height: 32px;
@ -72,14 +82,3 @@ body {
text-decoration: none; text-decoration: none;
text-transform: none; text-transform: none;
} }
.footer::before {
content: "";
display: block;
width: calc(1930px - 27px);
height: 32px;
margin-top: auto;
position: absolute;
background: var(--main-g-color);
z-index: -1;
}