Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
DarrnyH committed Jun 16, 2019
0 parents commit 3620138
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 0 deletions.
110 changes: 110 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #fff;
background: url("/img/blue_background.png");
background-size: cover;
background-position: center;
}

#navbar {
background: #000;
display: flex;
justify-content: space-between;
}

#navbar .logo {
padding: 20px;
}

#navbar .logo:hover {
padding: 20px;
color: blue;
}
#navbar ul {
list-style: none;
display: flex;
width: 25%;
justify-content: space-around;
align-items: center;
}

#navbar ul li {
padding: 20px;
font-size: 1rem;
transition: all 1s;
}

#navbar ul li:hover {
background: #fff;
color: #000;
}


main {
text-align: center;
height: 100vh;
}

.container {
padding-top: 40%;
}

.container h1 {
font-size: 5rem;
}

.container span {
font-size: 4rem;
}

.container p {
padding: 5px 0 30px 0;
}

input {
padding: .66rem;
max-width: 15rem;
}

::placeholder {
color: rgba(0, 0, 0, 0.2);
}

button {
padding: .66rem;
margin: 5px;
width: 15rem;
color: #fff;
border: 1px #fff solid;
background: rgba(0, 0, 0, 0.2);
}

button:hover {
background: #fff;
}

footer {
display: flex;
background: black;
height: 60px;
align-items: center;
justify-content: center;
}


.captcha {
width: 70px;
height: 70px;
}
.container-captcha {
position: fixed;
bottom: 20px;
right: 0;
transition: all 1s;
}
Binary file added img/blue_background.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 img/recaptcha.png
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">
<title>Simple Sites</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<nav id="navbar">
<h1 class="logo">
Cows
</h1>
<ul>
<li>home</li>
<li>something</li>
<li>idk dude</li>
</ul>
</nav>


<main>
<div class="container">
<h1>Rebirth <span>2.0</span></h1>
<p>Join us as we prepare for our new launch. Subscribe adn be the first to know.</p>
<div class="inputs">
<input type="text" placeholder="Name">
<input type="eamil" placeholder="Email Address">
<button>Sign Up!</button>
</div>
</div>
</main>


<footer>
<p>&copy; 2019 Simple Sites. All Rights Reserved.</p>
</footer>

<div class="container-captcha">
<img class="captcha" src="/img/recaptcha.png" alt="recaptcha">
</div>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script src="scripts/main.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions scripts/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
quertyselector('button').on('click', function() {alert("I forgot")});

0 comments on commit 3620138

Please sign in to comment.