This commit is contained in:
Adam Sramek 2024-04-21 12:48:12 +02:00
commit c7289e5bdd
34 changed files with 3179 additions and 0 deletions

255
Global/Global.css Normal file

@ -0,0 +1,255 @@
* {
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;
}
/* 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;
}
#dropdown_menu {
top: 0;
width: fit-content;
display: flex;
left: auto;
gap: 2rem;
}
#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;
}
/* RESPONSIVE DESIGN */
@media(max-width: 992px) {
.navbar .toggle-btn {
display: block;
}
#dropdown_menu {
gap: unset;
position: absolute;
height: 0;
right: 2rem;
top: 60px;
width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 10px;
overflow: hidden;
flex-direction: column;
transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#dropdown_menu.open {
height: fit-content;
}
}
/* footer */
footer {
background-color: #000000aa;
opacity: 0.7;
background-blend-mode: multiply;
backdrop-filter: blur(15px);
color: #fff;
padding: 20px 0;
text-align: left;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: center;
font-size: small;
width: 100%;
}
.footer-links {
padding: 0;
font-size: small;
display: flex;
flex-direction: row;
width: 100%;
align-items: center;
}
.footer-links a {
color: #fff;
display: inline-block;
margin: 0 10px;
text-decoration: none;
}
.footer-links 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);
}

14
Global/Global.js Normal file

@ -0,0 +1,14 @@
document.addEventListener('DOMContentLoaded', function() {
const toggleBtn = document.getElementById('toggle_btn');
const toggleBtnIcon = document.getElementById('toggle_btn_icon');
const dropDownMenu = document.getElementById('dropdown_menu');
toggleBtn.addEventListener('click', function() {
dropDownMenu.classList.toggle('open');
const isOpen = dropDownMenu.classList.contains('open');
toggleBtnIcon.classList = isOpen
? 'fa-solid fa-xmark'
: 'fa-solid fa-bars';
}, false);
}, false);

62
OLD/Hry.html Normal file

@ -0,0 +1,62 @@
<!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>

250
OLD/Hry/Alien.css Normal file

@ -0,0 +1,250 @@
* {
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);
}

@ -0,0 +1,83 @@
<!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>

250
OLD/Hry/COD.css Normal file

@ -0,0 +1,250 @@
* {
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);
}

250
OLD/Hry/MC.css Normal file

@ -0,0 +1,250 @@
* {
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);
}

83
OLD/Hry/Minecraft.html Normal file

@ -0,0 +1,83 @@
<!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>

250
OLD/Hry/SCP.css Normal file

@ -0,0 +1,250 @@
* {
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);
}

83
OLD/Hry/SCP.html Normal file

@ -0,0 +1,83 @@
<!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>

250
OLD/Hry/Skyrim.css Normal file

@ -0,0 +1,250 @@
* {
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);
}

83
OLD/Hry/Skyrim.html Normal file

@ -0,0 +1,83 @@
<!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>

250
OLD/Hry/Subnautica.css Normal file

@ -0,0 +1,250 @@
* {
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);
}

83
OLD/Hry/Subnautica.html Normal file

@ -0,0 +1,83 @@
<!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>

250
OLD/Hry/Titanfall.css Normal file

@ -0,0 +1,250 @@
* {
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);
}

83
OLD/Hry/Titanfall2.html Normal file

@ -0,0 +1,83 @@
<!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>

250
OLD/Hry/Wither3.css Normal file

@ -0,0 +1,250 @@
* {
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);
}

83
OLD/Hry/Wither3.html Normal file

@ -0,0 +1,83 @@
<!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>

83
OLD/index.html.old Normal file

@ -0,0 +1,83 @@
<!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>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>

3
index.html.old Normal file

@ -0,0 +1,3 @@
<script>
</script>

35
index.php Normal file

@ -0,0 +1,35 @@
<?php
$skeleton = file_get_contents('templates/skeleton.html');
$menu_obsah = file_get_contents('templates/header.html');
$out = str_replace('__TEMPLATE_HEADER__', $menu_obsah, $skeleton);
$footer_obsah = file_get_contents('templates/footer.html');
$out = str_replace('__TEMPLATE_FOOTER__', $footer_obsah, $out);
$nazov_stranky = basename($_SERVER['QUERY_STRING']);
if (empty($nazov_stranky)){
$nazov_stranky = 'index';
}
$cesta_k_stranke = "stranky/$nazov_stranky.html";
if (!file_exists($cesta_k_stranke)) {
$cesta_k_stranke = "templates/404.html";
}
$stranka_obsah = file_get_contents($cesta_k_stranke);
$out = str_replace('__TEMPLATE_STRANKA__', $stranka_obsah, $out);
$cesta_k_skriptu = "scripty/$nazov_stranky.js";
if (!file_exists($cesta_k_skriptu)){
$cesta_k_skriptu = '';
}
$out = str_replace('__TEMPLATE_SCRIPT__', "<script src=\"$cesta_k_skriptu\"></script>", $out);
$cesta_k_stylu = "styly/$nazov_stranky.css";
if (!file_exists($cesta_k_stylu)){
$cesta_k_stylu = '';
}
$out = str_replace('__TEMPLATE_STYLE__', "<link rel=\"style\" href=\"$cesta_k_stylu\">", $out);
echo $out;
?>

12
scripty/login.js Normal file

@ -0,0 +1,12 @@
document.addEventListener('DOMContentLoaded', function() {
document.getElementById('login-form').addEventListener('submit', function(event) {
event.preventDefault();
// Get values from the form
var username = document.getElementById('login-username').value;
var password = document.getElementById('login-password').value;
// Here you would perform login authentication, for demonstration purposes let's just log the values
console.log('Username:', username);
console.log('Password:', password);
// Redirect to dashboard or perform further actions
});
}, false);

14
scripty/signup.js Normal file

@ -0,0 +1,14 @@
document.addEventListener('DOMContentLoaded', function() {
document.getElementById('signup-form').addEventListener('submit', function(event) {
event.preventDefault();
// Get values from the form
var username = document.getElementById('signup-username').value;
var email = document.getElementById('signup-email').value;
var password = document.getElementById('signup-password').value;
// Here you would perform signup action, for demonstration purposes let's just log the values
console.log('Username:', username);
console.log('Email:', email);
console.log('Password:', password);
// Redirect to login page or perform further actions
});
}, false);

13
stranky/COD.html Normal file

@ -0,0 +1,13 @@
<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
stranky/Hry.html Normal file

@ -0,0 +1,4 @@
<section id="hero">
<h1>Blog</h1>
<h2 id="Hry">Hry</h2>
</section>

10
stranky/Login.html Normal file

@ -0,0 +1,10 @@
<div class="login-container">
<h2>Login</h2>
<form id="login-form">
<input type="text" id="login-username" placeholder="Username" required>
<input type="password" id="login-password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
<p>Don't have an account? <a href="signup.html">Sign up</a></p>
</div>

10
stranky/Signup.html Normal file

@ -0,0 +1,10 @@
<div class="signup-container">
<h2>Sign Up</h2>
<form id="signup-form">
<input type="text" id="signup-username" placeholder="Username" required>
<input type="email" id="signup-email" placeholder="Email" required>
<input type="password" id="signup-password" placeholder="Password" required>
<button type="submit">Sign Up</button>
</form>
<p>Already have an account? <a href="login.html">Login</a></p>
</div>

13
stranky/index.html Normal file

@ -0,0 +1,13 @@
<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/COD.css Normal file

@ -0,0 +1,4 @@
body {
background-image: url(https://www.callofduty.com/content/dam/atvi/callofduty/cod-touchui/blog/hero/mwiii/MWIII-OCM-TOUT.jpg);
}

1
templates/404.html Normal file

@ -0,0 +1 @@
<h1>TO KDE SI</h1>

18
templates/50x.html Normal file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>Error</title>
<style>
html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
</head>
<body>
<h1>An error occurred.</h1>
<p>Sorry, the page you are looking for is currently unavailable.<br/>
Please try again later.</p>
<p>If you are the system administrator of this resource then you should check
the error log for details.</p>
</body>
</html>

7
templates/footer.html Normal file

@ -0,0 +1,7 @@
<div class="footer-content">
<p>&copy;Game Hub</p>
<div class="footer-links">
<a href="#">Ísť hore.</a>
<a href="mailto:adamsramek@gamehub.sk">adamsramek@gamehub.sk</a>
</div>
</div>

15
templates/header.html Normal file

@ -0,0 +1,15 @@
<div class="navbar">
<div class="logo"><a href="#">GAME HUB</a></div>
<div id="dropdown_menu">
<li><a href="/?index">Domov</a></li>
<li><a href="/?Hry">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" class="Login">Login</a></li>
</div>
<div id="toggle_btn">
<i id="toggle_btn_icon" class="fa-solid fa-bars"></i>
</div>
</div>

25
templates/skeleton.html Normal file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<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="/Global/Global.css">
<script src="/Global/Global.js"></script>
<title>GAME HUB</title>
__TEMPLATE_SCRIPT__
__TEMPLATE_STYLE__
</head>
<body>
<header>
__TEMPLATE_HEADER__
</header>
<main>
__TEMPLATE_STRANKA__
</main>
<footer>
__TEMPLATE_FOOTER__
</footer>
</body>
</html>