Skip to content
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
100 changes: 100 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
body {
margin: 0px;
color: whitesmoke;
font-family: 'Lato', 'Courier New', Courier, monospace;
min-height: 100%;
}

.container {
text-align: center;
background-image: linear-gradient(lightgreen 15%, green);
min-height: 100vh;
}

label {
display: none;
}

.svg-section {
position: relative;
}

.ribbon {
position: absolute;
top: 0px;
right: 0px;
}

h1 {
text-align: center;
letter-spacing: 30px;
font-size: 3rem;
margin-top: -10px;
Comment thread
Aszmel marked this conversation as resolved.
}

h3 {
letter-spacing: 5px;
font-size: 1.5rem;
}

.submit, #LandingEmail {
height: 10vh;
width: 300px;
border-radius: 5px;
font-family: 'Lato';
}

.form {
box-sizing: border-box;
}

#LandingEmail {
padding-left: 10px;
}

.submit {
text-transform: uppercase;
margin: 10px;
height: 12vh;
font-size: 1.2rem;
border: none;
color: white;
background: rgb(14, 59, 156);
}

.submit:hover {
box-shadow: darkslategrey 0px 3px 3px 3px;
}

.footnote {
margin-bottom: -15px;
font-size: 1rem;
}

@media only screen and (max-width: 800px) {
.form {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 70px;
}
h1 {
margin-left: 20px;
font-size: 2rem;
letter-spacing: 0px;
}
#LandingEmail {
margin-bottom: 20px;
}
h3 {
font-size: 1rem;
}
.footnote {
font-size: 0.8rem;
margin-bottom: 0px;
line-height: 40%;
}
.ribbon {
display: none;
}
}
41 changes: 41 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!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=Lato"
rel="stylesheet"
/>
<link rel="stylesheet" type="text/css" href="index.css" />
<title>Academy Challenge</title>
</head>
<body>
<div class="container">
<div class="svg-section">
Comment thread
Aszmel marked this conversation as resolved.
<img
src="assets/undraw_developer_activity_bv83.svg"
class="logo"
width="100%"
height="auto"
/>
<img src="assets/coming-soon-ribbon.png" class="ribbon" alt="ribbon" />
</div>

Comment thread
Aszmel marked this conversation as resolved.
<h1>CODE ACADEMY</h1>
Comment thread
Aszmel marked this conversation as resolved.
<h3>Leave your email</h3>
Comment thread
Aszmel marked this conversation as resolved.
<form class="form">
<label for="LandingEmail">Put email here:</label
><input type="text" id="LandingEmail" placeholder="example@email.com" />
<input type="submit" value="get early access" class="submit" />
</form>
<Footer class="footnote">
<p>Aszmel &copy 2019.</p>

<p>Made with <span aria-label="love">❤️</span> in Poland.</p>
<p>We're using cookies to improve your experience.</p>
</Footer>
</div>
</body>
</html>