This commit is contained in:
Adam Sramek 2024-04-21 13:07:24 +02:00
parent c7289e5bdd
commit 868e94f642
30 changed files with 129 additions and 2643 deletions

@ -1,62 +0,0 @@
<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="Style.css">
<title>GAME HUB</title>
</head>
<body>
<header>
<div class="navbar">
<div class="logo"><a href="#">GAME HUB</a></div>
<ul class="links">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</ul>
<div class="toggle_btn">
<i class="fa-solid fa-bars"></i>
</div>
</div>
<div class="dropdown_menu">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</div>
</div>
</header>
<main>
<section id="hero">
<h1>Blog</h1>
<h2 id="Hry">Hry</h2>
</section>
</main>
<script>
const toggleBtn = document.querySelector('.toggle_btn')
const toggleBtnIcon = document.querySelector('.toggle_btnv i')
const dropDownMenu = document.querySelector('.dropdown_menu')
toggleBtn.onclick = function () {
dropDownMenu.classList.toggle('open')
const isOpen = dropDownMenu.classList.contains('open')
toggleBtnIcon.classList = isOpen
? 'fa-solid fa-xmark'
: 'fa-solid fa-bars'
}
</script>
</body>
</html>

@ -1,250 +0,0 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
height: 100vh;
background-color: #000;
background-image: url(https://venturebeat.com/wp-content/uploads/2014/08/alien-isolation-1.jpg?fit=1920%2C1080&strip=all);
background-size: cover;
background-position: center;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #fff;
}
a:hover {
color: orange;
}
/* header */
header {
position: relative;
padding: 2rex;
}
.navbar {
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-self: center;
justify-content: space-between;
}
.navbar .logo a {
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links {
display: flex;
gap: 2rem;
}
.navbar .toggle-btn {
color: #fff;
font-size: 1.5rem;
cursor: pointer;
display: none;
}
.action_btn {
background-color: orange;
color: #fff;
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
transition: scale 0.2 ease;
}
.action_btn:hover {
scale: 1.05;
color: #fff;
}
.action_btn:active {
scale: 0.95;
}
.login {
scale: 1.2;
background-color: orange;
margin: 1.5;
}
/* DROPDOWN MENU */
.dropdown_menu {
display: none;
position: absolute;
right: 2rem;
top: 60px;
height: 0;
width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
height: 240px;
}
.dropdown_menu li {
padding: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
}
.dropdown_menu .action_btn {
width: 100%;
display: flex;
justify-content: center;
}
/* HERO */
section#hero {
height: calc(100vh - 60px);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
color: #fff;
}
#hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
/* RESPONSIVE DESIGN */
@media(max-width: 992px){
.navbar .links,
.navbar .action_btn {
display: none;
}
.navbar .toggle-btn{
display: block;
}
.dropdown_menu {
display: block;
}
}
/* footer */
footer {
background-color: #000000;
color: #fff;
padding: 20px 0;
text-align: left;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: left;
font-size: small;
}
.footer-links {
list-style: none;
padding: 0;
font-size: small;
}
.footer-links li {
display: inline-block;
margin: 0 10px;
}
.footer-links li a {
color: #fff;
text-decoration: none;
}
.footer-links li a:hover {
text-decoration: underline;
}
/* login and signup */
.login-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: white;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #fff;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="email"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #007bff;
border: none;
border-radius: 3px;
color: #fff;
font-size: 16px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.signup-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: #fff;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}

@ -1,83 +0,0 @@
<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="Alien.css">
<title>GAME HUB</title>
</head>
<body>
<header>
<div class="navbar">
<div class="logo"><a href="#">GAME HUB</a></div>
<ul class="links">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</ul>
<div class="toggle_btn">
<i class="fa-solid fa-bars"></i>
</div>
</div>
<div class="dropdown_menu">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</div>
</div>
</header>
<main>
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>
</main>
<script>
const toggleBtn = document.querySelector('.toggle_btn')
const toggleBtnIcon = document.querySelector('.toggle_btnv i')
const dropDownMenu = document.querySelector('.dropdown_menu')
toggleBtn.onclick = function () {
dropDownMenu.classList.toggle('open')
const isOpen = dropDownMenu.classList.contains('open')
toggleBtnIcon.classList = isOpen
? 'fa-solid fa-xmark'
: 'fa-solid fa-bars'
}
</script>
<footer>
<div class="footer-content">
<p>&copy;Game Hub</p>
<ul class="footer-links">
<li><a href="#">Ísť hore.</a></li>
<li id="Kontakt"><a>adamsramek@gamehub.sk</a></li>
</ul>
</div>
</footer>
</body>
</html>

@ -1,250 +0,0 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
height: 100vh;
background-color: #000;
background-image: url(https://www.callofduty.com/content/dam/atvi/callofduty/cod-touchui/blog/hero/mwiii/MWIII-OCM-TOUT.jpg);
background-size: cover;
background-position: center;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #fff;
}
a:hover {
color: orange;
}
/* header */
header {
position: relative;
padding: 2rex;
}
.navbar {
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-self: center;
justify-content: space-between;
}
.navbar .logo a {
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links {
display: flex;
gap: 2rem;
}
.navbar .toggle-btn {
color: #fff;
font-size: 1.5rem;
cursor: pointer;
display: none;
}
.action_btn {
background-color: orange;
color: #fff;
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
transition: scale 0.2 ease;
}
.action_btn:hover {
scale: 1.05;
color: #fff;
}
.action_btn:active {
scale: 0.95;
}
.login {
scale: 1.2;
background-color: orange;
margin: 1.5;
}
/* DROPDOWN MENU */
.dropdown_menu {
display: none;
position: absolute;
right: 2rem;
top: 60px;
height: 0;
width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
height: 240px;
}
.dropdown_menu li {
padding: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
}
.dropdown_menu .action_btn {
width: 100%;
display: flex;
justify-content: center;
}
/* HERO */
section#hero {
height: calc(100vh - 60px);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
color: #fff;
}
#hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
/* RESPONSIVE DESIGN */
@media(max-width: 992px){
.navbar .links,
.navbar .action_btn {
display: none;
}
.navbar .toggle-btn{
display: block;
}
.dropdown_menu {
display: block;
}
}
/* footer */
footer {
background-color: #000000;
color: #fff;
padding: 20px 0;
text-align: left;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: left;
font-size: small;
}
.footer-links {
list-style: none;
padding: 0;
font-size: small;
}
.footer-links li {
display: inline-block;
margin: 0 10px;
}
.footer-links li a {
color: #fff;
text-decoration: none;
}
.footer-links li a:hover {
text-decoration: underline;
}
/* login and signup */
.login-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: white;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #fff;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="email"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #007bff;
border: none;
border-radius: 3px;
color: #fff;
font-size: 16px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.signup-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: #fff;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}

@ -1,250 +0,0 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
height: 100vh;
background-color: #000;
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
background-size: cover;
background-position: center;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #fff;
}
a:hover {
color: orange;
}
/* header */
header {
position: relative;
padding: 2rex;
}
.navbar {
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-self: center;
justify-content: space-between;
}
.navbar .logo a {
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links {
display: flex;
gap: 2rem;
}
.navbar .toggle-btn {
color: #fff;
font-size: 1.5rem;
cursor: pointer;
display: none;
}
.action_btn {
background-color: orange;
color: #fff;
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
transition: scale 0.2 ease;
}
.action_btn:hover {
scale: 1.05;
color: #fff;
}
.action_btn:active {
scale: 0.95;
}
.login {
scale: 1.2;
background-color: orange;
margin: 1.5;
}
/* DROPDOWN MENU */
.dropdown_menu {
display: none;
position: absolute;
right: 2rem;
top: 60px;
height: 0;
width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
height: 240px;
}
.dropdown_menu li {
padding: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
}
.dropdown_menu .action_btn {
width: 100%;
display: flex;
justify-content: center;
}
/* HERO */
section#hero {
height: calc(100vh - 60px);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
color: #fff;
}
#hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
/* RESPONSIVE DESIGN */
@media(max-width: 992px){
.navbar .links,
.navbar .action_btn {
display: none;
}
.navbar .toggle-btn{
display: block;
}
.dropdown_menu {
display: block;
}
}
/* footer */
footer {
background-color: #000000;
color: #fff;
padding: 20px 0;
text-align: left;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: left;
font-size: small;
}
.footer-links {
list-style: none;
padding: 0;
font-size: small;
}
.footer-links li {
display: inline-block;
margin: 0 10px;
}
.footer-links li a {
color: #fff;
text-decoration: none;
}
.footer-links li a:hover {
text-decoration: underline;
}
/* login and signup */
.login-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: white;
background-image: url(https://media.sketchfab.com/models/2da21b196a034ae7a5d14c539af1e822/thumbnails/d4059450922546f29b2a4b05fbfe7641/c0f17d3cafe749788f0c544282f50da6.jpeg);
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #fff;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="email"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #007bff;
border: none;
border-radius: 3px;
color: #fff;
font-size: 16px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.signup-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: #fff;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}

@ -1,83 +0,0 @@
<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="MC.css">
<title>GAME HUB</title>
</head>
<body>
<header>
<div class="navbar">
<div class="logo"><a href="#">GAME HUB</a></div>
<ul class="links">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</ul>
<div class="toggle_btn">
<i class="fa-solid fa-bars"></i>
</div>
</div>
<div class="dropdown_menu">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</div>
</div>
</header>
<main>
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>
</main>
<script>
const toggleBtn = document.querySelector('.toggle_btn')
const toggleBtnIcon = document.querySelector('.toggle_btnv i')
const dropDownMenu = document.querySelector('.dropdown_menu')
toggleBtn.onclick = function () {
dropDownMenu.classList.toggle('open')
const isOpen = dropDownMenu.classList.contains('open')
toggleBtnIcon.classList = isOpen
? 'fa-solid fa-xmark'
: 'fa-solid fa-bars'
}
</script>
<footer>
<div class="footer-content">
<p>&copy;Game Hub</p>
<ul class="footer-links">
<li><a href="#">Ísť hore.</a></li>
<li id="Kontakt"><a>adamsramek@gamehub.sk</a></li>
</ul>
</div>
</footer>
</body>
</html>

@ -1,250 +0,0 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
height: 100vh;
background-color: #000;
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
background-size: cover;
background-position: center;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #fff;
}
a:hover {
color: orange;
}
/* header */
header {
position: relative;
padding: 2rex;
}
.navbar {
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-self: center;
justify-content: space-between;
}
.navbar .logo a {
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links {
display: flex;
gap: 2rem;
}
.navbar .toggle-btn {
color: #fff;
font-size: 1.5rem;
cursor: pointer;
display: none;
}
.action_btn {
background-color: orange;
color: #fff;
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
transition: scale 0.2 ease;
}
.action_btn:hover {
scale: 1.05;
color: #fff;
}
.action_btn:active {
scale: 0.95;
}
.login {
scale: 1.2;
background-color: orange;
margin: 1.5;
}
/* DROPDOWN MENU */
.dropdown_menu {
display: none;
position: absolute;
right: 2rem;
top: 60px;
height: 0;
width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
height: 240px;
}
.dropdown_menu li {
padding: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
}
.dropdown_menu .action_btn {
width: 100%;
display: flex;
justify-content: center;
}
/* HERO */
section#hero {
height: calc(100vh - 60px);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
color: #fff;
}
#hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
/* RESPONSIVE DESIGN */
@media(max-width: 992px){
.navbar .links,
.navbar .action_btn {
display: none;
}
.navbar .toggle-btn{
display: block;
}
.dropdown_menu {
display: block;
}
}
/* footer */
footer {
background-color: #000000;
color: #fff;
padding: 20px 0;
text-align: left;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: left;
font-size: small;
}
.footer-links {
list-style: none;
padding: 0;
font-size: small;
}
.footer-links li {
display: inline-block;
margin: 0 10px;
}
.footer-links li a {
color: #fff;
text-decoration: none;
}
.footer-links li a:hover {
text-decoration: underline;
}
/* login and signup */
.login-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: white;
background-image: url(https://images.igdb.com/igdb/image/upload/t_original/lgkas0dswk2fgyruyeep.webp);
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #fff;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="email"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #007bff;
border: none;
border-radius: 3px;
color: #fff;
font-size: 16px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.signup-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: #fff;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}

@ -1,83 +0,0 @@
<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="SCP.css"><!
<title>GAME HUB</title>
</head>
<body>
<header>
<div class="navbar">
<div class="logo"><a href="#">GAME HUB</a></div>
<ul class="links">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</ul>
<div class="toggle_btn">
<i class="fa-solid fa-bars"></i>
</div>
</div>
<div class="dropdown_menu">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</div>
</div>
</header>
<main>
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>
</main>
<script>
const toggleBtn = document.querySelector('.toggle_btn')
const toggleBtnIcon = document.querySelector('.toggle_btnv i')
const dropDownMenu = document.querySelector('.dropdown_menu')
toggleBtn.onclick = function () {
dropDownMenu.classList.toggle('open')
const isOpen = dropDownMenu.classList.contains('open')
toggleBtnIcon.classList = isOpen
? 'fa-solid fa-xmark'
: 'fa-solid fa-bars'
}
</script>
<footer>
<div class="footer-content">
<p>&copy;Game Hub</p>
<ul class="footer-links">
<li><a href="#">Ísť hore.</a></li>
<li id="Kontakt"><a>adamsramek@gamehub.sk</a></li>
</ul>
</div>
</footer>
</body>
</html>

@ -1,250 +0,0 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
height: 100vh;
background-color: #000;
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
background-size: cover;
background-position: center;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #fff;
}
a:hover {
color: orange;
}
/* header */
header {
position: relative;
padding: 2rex;
}
.navbar {
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-self: center;
justify-content: space-between;
}
.navbar .logo a {
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links {
display: flex;
gap: 2rem;
}
.navbar .toggle-btn {
color: #fff;
font-size: 1.5rem;
cursor: pointer;
display: none;
}
.action_btn {
background-color: orange;
color: #fff;
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
transition: scale 0.2 ease;
}
.action_btn:hover {
scale: 1.05;
color: #fff;
}
.action_btn:active {
scale: 0.95;
}
.login {
scale: 1.2;
background-color: orange;
margin: 1.5;
}
/* DROPDOWN MENU */
.dropdown_menu {
display: none;
position: absolute;
right: 2rem;
top: 60px;
height: 0;
width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
height: 240px;
}
.dropdown_menu li {
padding: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
}
.dropdown_menu .action_btn {
width: 100%;
display: flex;
justify-content: center;
}
/* HERO */
section#hero {
height: calc(100vh - 60px);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
color: #fff;
}
#hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
/* RESPONSIVE DESIGN */
@media(max-width: 992px){
.navbar .links,
.navbar .action_btn {
display: none;
}
.navbar .toggle-btn{
display: block;
}
.dropdown_menu {
display: block;
}
}
/* footer */
footer {
background-color: #000000;
color: #fff;
padding: 20px 0;
text-align: left;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: left;
font-size: small;
}
.footer-links {
list-style: none;
padding: 0;
font-size: small;
}
.footer-links li {
display: inline-block;
margin: 0 10px;
}
.footer-links li a {
color: #fff;
text-decoration: none;
}
.footer-links li a:hover {
text-decoration: underline;
}
/* login and signup */
.login-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: white;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #fff;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="email"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #007bff;
border: none;
border-radius: 3px;
color: #fff;
font-size: 16px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.signup-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: #fff;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}

@ -1,83 +0,0 @@
<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="Skyrim.css">
<title>GAME HUB</title>
</head>
<body>
<header>
<div class="navbar">
<div class="logo"><a href="#">GAME HUB</a></div>
<ul class="links">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</ul>
<div class="toggle_btn">
<i class="fa-solid fa-bars"></i>
</div>
</div>
<div class="dropdown_menu">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</div>
</div>
</header>
<main>
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>
</main>
<script>
const toggleBtn = document.querySelector('.toggle_btn')
const toggleBtnIcon = document.querySelector('.toggle_btnv i')
const dropDownMenu = document.querySelector('.dropdown_menu')
toggleBtn.onclick = function () {
dropDownMenu.classList.toggle('open')
const isOpen = dropDownMenu.classList.contains('open')
toggleBtnIcon.classList = isOpen
? 'fa-solid fa-xmark'
: 'fa-solid fa-bars'
}
</script>
<footer>
<div class="footer-content">
<p>&copy;Game Hub</p>
<ul class="footer-links">
<li><a href="#">Ísť hore.</a></li>
<li id="Kontakt"><a>adamsramek@gamehub.sk</a></li>
</ul>
</div>
</footer>
</body>
</html>

@ -1,250 +0,0 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
height: 100vh;
background-color: #000;
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
background-size: cover;
background-position: center;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #fff;
}
a:hover {
color: orange;
}
/* header */
header {
position: relative;
padding: 2rex;
}
.navbar {
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-self: center;
justify-content: space-between;
}
.navbar .logo a {
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links {
display: flex;
gap: 2rem;
}
.navbar .toggle-btn {
color: #fff;
font-size: 1.5rem;
cursor: pointer;
display: none;
}
.action_btn {
background-color: orange;
color: #fff;
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
transition: scale 0.2 ease;
}
.action_btn:hover {
scale: 1.05;
color: #fff;
}
.action_btn:active {
scale: 0.95;
}
.login {
scale: 1.2;
background-color: orange;
margin: 1.5;
}
/* DROPDOWN MENU */
.dropdown_menu {
display: none;
position: absolute;
right: 2rem;
top: 60px;
height: 0;
width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
height: 240px;
}
.dropdown_menu li {
padding: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
}
.dropdown_menu .action_btn {
width: 100%;
display: flex;
justify-content: center;
}
/* HERO */
section#hero {
height: calc(100vh - 60px);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
color: #fff;
}
#hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
/* RESPONSIVE DESIGN */
@media(max-width: 992px){
.navbar .links,
.navbar .action_btn {
display: none;
}
.navbar .toggle-btn{
display: block;
}
.dropdown_menu {
display: block;
}
}
/* footer */
footer {
background-color: #000000;
color: #fff;
padding: 20px 0;
text-align: left;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: left;
font-size: small;
}
.footer-links {
list-style: none;
padding: 0;
font-size: small;
}
.footer-links li {
display: inline-block;
margin: 0 10px;
}
.footer-links li a {
color: #fff;
text-decoration: none;
}
.footer-links li a:hover {
text-decoration: underline;
}
/* login and signup */
.login-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: white;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #fff;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="email"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #007bff;
border: none;
border-radius: 3px;
color: #fff;
font-size: 16px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.signup-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: #fff;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}

@ -1,83 +0,0 @@
<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="Subnautica.css">
<title>GAME HUB</title>
</head>
<body>
<header>
<div class="navbar">
<div class="logo"><a href="#">GAME HUB</a></div>
<ul class="links">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</ul>
<div class="toggle_btn">
<i class="fa-solid fa-bars"></i>
</div>
</div>
<div class="dropdown_menu">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</div>
</div>
</header>
<main>
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>
</main>
<script>
const toggleBtn = document.querySelector('.toggle_btn')
const toggleBtnIcon = document.querySelector('.toggle_btnv i')
const dropDownMenu = document.querySelector('.dropdown_menu')
toggleBtn.onclick = function () {
dropDownMenu.classList.toggle('open')
const isOpen = dropDownMenu.classList.contains('open')
toggleBtnIcon.classList = isOpen
? 'fa-solid fa-xmark'
: 'fa-solid fa-bars'
}
</script>
<footer>
<div class="footer-content">
<p>&copy;Game Hub</p>
<ul class="footer-links">
<li><a href="#">Ísť hore.</a></li>
<li id="Kontakt"><a>adamsramek@gamehub.sk</a></li>
</ul>
</div>
</footer>
</body>
</html>

@ -1,250 +0,0 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
height: 100vh;
background-color: #000;
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
background-size: cover;
background-position: center;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #fff;
}
a:hover {
color: orange;
}
/* header */
header {
position: relative;
padding: 2rex;
}
.navbar {
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-self: center;
justify-content: space-between;
}
.navbar .logo a {
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links {
display: flex;
gap: 2rem;
}
.navbar .toggle-btn {
color: #fff;
font-size: 1.5rem;
cursor: pointer;
display: none;
}
.action_btn {
background-color: orange;
color: #fff;
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
transition: scale 0.2 ease;
}
.action_btn:hover {
scale: 1.05;
color: #fff;
}
.action_btn:active {
scale: 0.95;
}
.login {
scale: 1.2;
background-color: orange;
margin: 1.5;
}
/* DROPDOWN MENU */
.dropdown_menu {
display: none;
position: absolute;
right: 2rem;
top: 60px;
height: 0;
width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
height: 240px;
}
.dropdown_menu li {
padding: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
}
.dropdown_menu .action_btn {
width: 100%;
display: flex;
justify-content: center;
}
/* HERO */
section#hero {
height: calc(100vh - 60px);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
color: #fff;
}
#hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
/* RESPONSIVE DESIGN */
@media(max-width: 992px){
.navbar .links,
.navbar .action_btn {
display: none;
}
.navbar .toggle-btn{
display: block;
}
.dropdown_menu {
display: block;
}
}
/* footer */
footer {
background-color: #000000;
color: #fff;
padding: 20px 0;
text-align: left;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: left;
font-size: small;
}
.footer-links {
list-style: none;
padding: 0;
font-size: small;
}
.footer-links li {
display: inline-block;
margin: 0 10px;
}
.footer-links li a {
color: #fff;
text-decoration: none;
}
.footer-links li a:hover {
text-decoration: underline;
}
/* login and signup */
.login-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: white;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #fff;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="email"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #007bff;
border: none;
border-radius: 3px;
color: #fff;
font-size: 16px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.signup-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: #fff;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}

@ -1,83 +0,0 @@
<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="Titanfall.css">
<title>GAME HUB</title>
</head>
<body>
<header>
<div class="navbar">
<div class="logo"><a href="#">GAME HUB</a></div>
<ul class="links">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</ul>
<div class="toggle_btn">
<i class="fa-solid fa-bars"></i>
</div>
</div>
<div class="dropdown_menu">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</div>
</div>
</header>
<main>
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>
</main>
<script>
const toggleBtn = document.querySelector('.toggle_btn')
const toggleBtnIcon = document.querySelector('.toggle_btnv i')
const dropDownMenu = document.querySelector('.dropdown_menu')
toggleBtn.onclick = function () {
dropDownMenu.classList.toggle('open')
const isOpen = dropDownMenu.classList.contains('open')
toggleBtnIcon.classList = isOpen
? 'fa-solid fa-xmark'
: 'fa-solid fa-bars'
}
</script>
<footer>
<div class="footer-content">
<p>&copy;Game Hub</p>
<ul class="footer-links">
<li><a href="#">Ísť hore.</a></li>
<li id="Kontakt"><a>adamsramek@gamehub.sk</a></li>
</ul>
</div>
</footer>
</body>
</html>

@ -1,250 +0,0 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
height: 100vh;
background-color: #000;
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
background-size: cover;
background-position: center;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #fff;
}
a:hover {
color: orange;
}
/* header */
header {
position: relative;
padding: 2rex;
}
.navbar {
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-self: center;
justify-content: space-between;
}
.navbar .logo a {
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links {
display: flex;
gap: 2rem;
}
.navbar .toggle-btn {
color: #fff;
font-size: 1.5rem;
cursor: pointer;
display: none;
}
.action_btn {
background-color: orange;
color: #fff;
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
transition: scale 0.2 ease;
}
.action_btn:hover {
scale: 1.05;
color: #fff;
}
.action_btn:active {
scale: 0.95;
}
.login {
scale: 1.2;
background-color: orange;
margin: 1.5;
}
/* DROPDOWN MENU */
.dropdown_menu {
display: none;
position: absolute;
right: 2rem;
top: 60px;
height: 0;
width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu.open {
height: 240px;
}
.dropdown_menu li {
padding: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
}
.dropdown_menu .action_btn {
width: 100%;
display: flex;
justify-content: center;
}
/* HERO */
section#hero {
height: calc(100vh - 60px);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
color: #fff;
}
#hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
/* RESPONSIVE DESIGN */
@media(max-width: 992px){
.navbar .links,
.navbar .action_btn {
display: none;
}
.navbar .toggle-btn{
display: block;
}
.dropdown_menu {
display: block;
}
}
/* footer */
footer {
background-color: #000000;
color: #fff;
padding: 20px 0;
text-align: left;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: left;
font-size: small;
}
.footer-links {
list-style: none;
padding: 0;
font-size: small;
}
.footer-links li {
display: inline-block;
margin: 0 10px;
}
.footer-links li a {
color: #fff;
text-decoration: none;
}
.footer-links li a:hover {
text-decoration: underline;
}
/* login and signup */
.login-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: white;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #fff;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="email"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #000000;
border-radius: 3px;
box-sizing: border-box;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #007bff;
border: none;
border-radius: 3px;
color: #fff;
font-size: 16px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.signup-container {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: #007bff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: #fff;
background-image: url(https://pics.craiyon.com/2023-09-23/f73785344017460394781c52dda41e30.webp);
}

@ -1,83 +0,0 @@
<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="Wither3.css">
<title>GAME HUB</title>
</head>
<body>
<header>
<div class="navbar">
<div class="logo"><a href="#">GAME HUB</a></div>
<ul class="links">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</ul>
<div class="toggle_btn">
<i class="fa-solid fa-bars"></i>
</div>
</div>
<div class="dropdown_menu">
<li><a href="index.html">Domov</a></li>
<li><a href="Hry.html">Hry</a></li>
<li><a href="#Úvod">Úvod</a></li>
<li><a href="#Top_Hry">Top Hry</a></li>
<li><a href="#Info">Info</a></li>
<li><a href="#Kontakt">Kontakt</a></li>
<li><a href="Login.html" class="Login">Login</a></li>
</div>
</div>
</header>
<main>
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>
</main>
<script>
const toggleBtn = document.querySelector('.toggle_btn')
const toggleBtnIcon = document.querySelector('.toggle_btnv i')
const dropDownMenu = document.querySelector('.dropdown_menu')
toggleBtn.onclick = function () {
dropDownMenu.classList.toggle('open')
const isOpen = dropDownMenu.classList.contains('open')
toggleBtnIcon.classList = isOpen
? 'fa-solid fa-xmark'
: 'fa-solid fa-bars'
}
</script>
<footer>
<div class="footer-content">
<p>&copy;Game Hub</p>
<ul class="footer-links">
<li><a href="#">Ísť hore.</a></li>
<li id="Kontakt"><a>adamsramek@gamehub.sk</a></li>
</ul>
</div>
</footer>
</body>
</html>

14
stranky/Alien.html Normal file

@ -0,0 +1,14 @@
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>

15
stranky/Minecraft.html Normal file

@ -0,0 +1,15 @@
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>

15
stranky/SCP.html Normal file

@ -0,0 +1,15 @@
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>

14
stranky/Skyrim.html Normal file

@ -0,0 +1,14 @@
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>

14
stranky/Subnautica.html Normal file

@ -0,0 +1,14 @@
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>

15
stranky/Titanfall2.html Normal file

@ -0,0 +1,15 @@
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>

14
stranky/Wither3.html Normal file

@ -0,0 +1,14 @@
<section id="hero">
<h1>Vitajte</h1>
</section>
<section>
<h2 id="Úvod">Úvod</h2>
<p>Game Hub je miesto o hrách!
</section>
<section>
<h2 id="Top_Hry">Top Hry</h2>
</section>
<section>
<h2 id="Info">Informácie</h2>
</section>

4
styly/Alien.css Normal file

@ -0,0 +1,4 @@
body {
background-image: url(https://venturebeat.com/wp-content/uploads/2014/08/alien-isolation-1.jpg?fit=1920%2C1080&strip=all);
}

4
styly/MC.css Normal file

@ -0,0 +1,4 @@
body {
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
}

4
styly/SCP.css Normal file

@ -0,0 +1,4 @@
body {
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
}

4
styly/Skyrim.css Normal file

@ -0,0 +1,4 @@
body {
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
}

4
styly/Subnautica.css Normal file

@ -0,0 +1,4 @@
body {
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
}

4
styly/Titanfall.css Normal file

@ -0,0 +1,4 @@
body {
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
}

4
styly/Wither3.css Normal file

@ -0,0 +1,4 @@
body {
background-image: url(https://w.wallha.com/ws/4/Vlw87L9q.png);
}