Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immanuel Pandiangan #16

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Logo_BrawlhallaText640.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added brawlhalla-adventure-time-update.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!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 href="https://fonts.googleapis.com/css?family=Bebas+Neue&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
<title>Document</title>
</head>
<body>
<nav>
<div class="logo">
<img src="Logo_BrawlhallaText640.png" alt="Brawlhalla">
</div>
<ul>
<li><a href="#home">HOME</a></li>
<li><a href="#about">GAME</a></li>
<li><a href="#about">NEWS</a></li>
<li><a href="#esport">ESPORTS</a></li>
</ul>
</nav>
<div class="hero-image">
<div class="hero-text">
<button>PLAY FREE NOW</button>
</div>
</div>
<main>
<h1 class="title text-center">Esport Arena</h1>
<div class="esport-wrapper">
<div class="card">
<iframe width="320" height="157" src="https://www.youtube.com/embed/6a-ysH__ruE" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p>SEA Loser Bracket</p>
</div>
<div class="card">
<iframe width="320" height="157" src="https://www.youtube.com/embed/8lks4LyRSPc" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p>Brawlhalla Tournament Montage - Final Round 1v1 2019</p>
</div>
<div class="card">
<iframe width="320" height="157" src="https://www.youtube.com/embed/dBnPqR6AAG4" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p>Wrenchd vs Cody Travis - Grand Final - Summer Championship 2019 1v1 NA</p>
</div>
</div>
<a id="esport">
</a>
</main>
</body>
</html>
Empty file added script.js
Empty file.
158 changes: 158 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
*{
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
font-family: 'Bebas Neue', Arial, sans-serif;
}

body, html {
position: relative;
height: 100%;
background-color: rgba(231, 231, 231, 0.4);
color: #3f3f3f;
}

.text-center {
text-align: center
}

nav {
position: absolute;
top: 0;
left: 0;
z-index: 10;
background-color: rgba(22, 160, 133, 0.8);
width: 100%;
padding: 0 4rem;
display: flex;
font-size: 1.4rem;
}

ul {
margin-left: auto;
}

.logo {
position: absolute;
top: 1rem;
cursor: pointer;
}

.logo img {
height: 4rem;
}

ul li {
margin-left: auto;
display: inline-block;
height: 3rem;
line-height: 3rem;
}

li a {
padding: 0 1rem;
display: block;
color: #ffffff;
}

li a:hover {
background-color: #0cdab0;
transition: 0.6s background-color;
}

/* The hero image */
.hero-image {
background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("brawlhalla-adventure-time-update.jpg");

height: 100vh;

background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}

.hero-text {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
}
.hero-text button {
width: 200px;
height: 60px;
border: solid 2px #444;
background: #16a085;
font-weight: bold;
letter-spacing: 0.2rem;
color: #fff;
box-shadow: inset 2px 2px 0 #fff, 0 8px 10px -4px rgba(0,0,0,0.4);
cursor: pointer;
transition: all 0.4s ease;
font-size: 1.2rem;
}

.hero-text button:focus {
outline: none;
}

.hero-text button:hover {
animation: bounce 2s
}


@keyframes bounce {
0% {
top: 50%;
box-shadow: inset 2px 2px 0 #fff, 0 8px 10px -4px rgba(0,0,0,0.6);
}
25% {
top: 46%;
box-shadow: inset 2px 2px 0 #fff, 0 20px 10px -8px rgba(0,0,0,0.4);
}
50% {
top: 50%;
box-shadow: inset 2px 2px 0 #fff, 0 8px 10px -4px rgba(0,0,0,0.6);
}
75% {
top: 47%;
box-shadow: inset 2px 2px 0 #fff, 0 16px 10px -8px rgba(0,0,0,0.5);
}
100% {
top: 50%;
box-shadow: inset 2px 2px 0 #fff, 0 8px 10px -4px rgba(0,0,0,0.4);
}
}

.title {
margin: 2rem 0;
}

.esport-wrapper {
display: flex;
justify-content: space-around;
margin: 2rem 0;
}

.card {
display: flex;
align-items: center;
flex-direction: column;
background-color: rgb(243, 243, 243);
padding: 2rem;
border: solid 2px #444;
box-shadow: inset 2px 2px 0 #fff, 0 8px 10px -4px rgba(0,0,0,0.6);
cursor: pointer;
}

.card:hover {
box-shadow: inset 2px 2px 0 #fff, 0 10px 10px 0px rgba(0,0,0,0.6);
transition: 0.4s box-shadow;
}

.card p {
margin-top: 2rem;
}