Готовый сайт под ПК #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,21 +3,22 @@
<head>
<meta charset="UTF-8">
<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="Header.css">
<link rel="icon" href="https://org.zaboal.name/assets/logo-playroom_black.svg">
</head>
<body>
<div id="site" class="black">
<div class="header">
<img src="https://org.zaboal.name/assets/logo-playroom_black.svg" alt="Логотип «Игровой»">
</div>
<div class="info">
<b>Единый проход на сервера опен-сорс игр с регулярным тусейшеном и ахуенными плагинами <big>ヾ(⌐■_■)ノ♪</big></b>
</div>
<div class="footer">
<h1>Зажигин Богдан Алексеевич · ИНН 519056542114</h1>
</div>
</div>
<script src="script.js"></script>
</body>
</html>

View file

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