This commit is contained in:
2024-02-17 18:00:01 +01:00
parent 9d55f79bf0
commit 3c10def104
7 changed files with 216 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
@import "v1_core.css";
@import "v1_temp.css";

View File

@@ -0,0 +1,57 @@
:root {
--font-primary: 'Anton', sans-serif;
--color-white: #ffffff;
--color-white-100: #f1f1f1;
--color-gray: #898989;
--color-black: #1a1a1a;
--color-background: #091924;
--color-background-secondary: #2a3a33;
--border-radius: 0.25rem;
--header-shadow: 0rem 0.25rem 1rem -0.125rem rgb(0 0 0 / 30%);
--shadow-inset: inset 0 0 0.5rem var(--color-gray);
--shadow-outset: 0 0 0.5rem var(--color-gray);
}
html {
text-size-adjust: none;
-moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
}
body {
margin: 0;
overflow: overlay;
font-family: var(--font-primary);
font-weight: 400;
font-style: normal;
background: var(--color-background);
}
body svg {
overflow: visible;
}
img {
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
}
::-webkit-scrollbar {
width: 0.5rem;
}
::-webkit-scrollbar-thumb {
border: 0.125rem solid rgba(0, 0, 0, 0);
background-clip: padding-box;
border-radius: 5rem;
background-color: var(--color-black);
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--color-gray);
}

105
poli/assets/css/v1_temp.css Normal file
View File

@@ -0,0 +1,105 @@
.header {
display: flex;
position: absolute;
top: 0;
left: 0;
}
.menu__link, .valut__title, label {
color: var(--color-white-100);
text-shadow: 0.3125rem 0.0625rem 0.1875rem var(--color-black);
}
.menu {
display: flex;
gap: 4rem;
list-style: none;
margin-top: 3rem;
}
.menu__link {
font-size: 1.4rem;
text-decoration: none;
}
.menu__link:hover {
text-decoration: underline;
}
.img {
display: flex;
position: relative;
}
.valut {
position: relative;
top: 3rem;
display: flex;
align-items: center;
justify-content: center;
width: 32rem;
height: 32rem;
}
.valut__title {
position: absolute;
top: clamp(-9.5rem, -10vh ,-7.5rem);
left: 50%;
transform: translateX(-50%);
font-size: 3.5rem;
font-family: 'Anton', sans-serif;
line-height: 1;
letter-spacing: 0.1875rem;
text-transform: uppercase;
white-space: nowrap;
}
.valut__content {
display: flex;
flex-direction: column;
gap: 0.6rem;
position: absolute;
bottom: -3.875rem;
left: 48.5%;
transform: translateX(-50%);
background: var(--color-background-secondary);
padding: 0.8rem 2.4rem;
border-radius: 0.5rem;
border: 0.25rem solid var(--color-black);
}
.valut__item {
display: flex;
gap: 1rem;
}
.valut__item label{
width: 2.4rem;
text-align: right;
}
.valut__img {
border-radius: 50%;
overflow: hidden;
}
.valut__img img {
position: relative;
top: -1.5rem;
left: -0.25rem;
width: 31.25rem;
height: 31.25rem;
}
.section {
position: relative;
width: 100%;
height: 100vh;
}
.section--hero {
display: flex;
align-items: center;
justify-content: center;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
poli/assets/img/valut.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

2
poli/assets/js/v1_app.js Normal file
View File

@@ -0,0 +1,2 @@
function test() {
}

49
poli/index.html Normal file
View File

@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Anton&family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/v1_app.css">
</head>
<body>
<header class="header">
<img class="header__logo" src="assets/img/logo_full.png" width="211" height="141">
<ul class="menu">
<li><a class="menu__link" href="#">Hlavní stránka</a></li>
<li><a class="menu__link" href="#">Streamy</a></li>
<li><a class="menu__link" href="#">Hovna</a></li>
</ul>
</header>
<main>
<section class="section section--hero">
<div class="valut">
<h1 class="valut__title">Internet-mastir.cz</h1>
<div class="valut__img">
<img class="img" src="assets/img/valut.jpg" width="512" height="512">
</div>
<div class="valut__content">
<div class="valut__item">
<label for="login">Login</label>
<input type="email" name="login" class="input">
</div>
<div class="valut__item">
<label for="password">Pass</label>
<input type="password" name="password" class="input">
</div>
</div>
</div>
</section>
</main>
<footer class="footer">
</footer>
<script src="assets/js/v1_app.js"></script>
</body>
</html>