Add starts of a homepage
This commit is contained in:
parent
2ad96483f2
commit
3bc0364a1c
2 changed files with 47 additions and 0 deletions
12
src/home/index.html
Normal file
12
src/home/index.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="./index.scss" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="hero" id="hero">
|
||||
<h1>Jake Howard</h1>
|
||||
<h2>Subtitle</h2>
|
||||
<input placeholder="Search" />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
35
src/home/index.scss
Normal file
35
src/home/index.scss
Normal file
|
@ -0,0 +1,35 @@
|
|||
@import "normalize.css";
|
||||
|
||||
body,
|
||||
html {
|
||||
height: 100%;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
height: 50vh;
|
||||
background-color: red;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
text-align: center;
|
||||
flex-direction: column;
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
margin: 0.5rem;
|
||||
}
|
||||
|
||||
input {
|
||||
background-color: transparentize(black, 0.4);
|
||||
text-align: center;
|
||||
color: white;
|
||||
width: 500px;
|
||||
max-width: 75%;
|
||||
border: 1px solid white;
|
||||
border-radius: 4px;
|
||||
font-size: 16px;
|
||||
padding: 0.5rem 0.75rem;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue