Initial ideas
This commit is contained in:
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpg filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
BIN
images/njr-code.png
(Stored with Git LFS)
Normal file
BIN
images/njr-code.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
images/topfuel_startline.jpg.jpeg
(Stored with Git LFS)
Normal file
BIN
images/topfuel_startline.jpg.jpeg
(Stored with Git LFS)
Normal file
Binary file not shown.
42
index.html
Normal file
42
index.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Jake Charman</title>
|
||||
<link rel="stylesheet" href="style/mobile.css" />
|
||||
<link rel="stylesheet" href="style/desktop.css" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Tourney:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div id="logo">
|
||||
<h1>Jake Charman</h1>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<section id="technology">
|
||||
<div class="gradient gradient-left">
|
||||
<div class="text text-left">
|
||||
<div>
|
||||
<h2>Technology</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="motorsport">
|
||||
<div class="gradient gradient-right">
|
||||
<div class="text text-right">
|
||||
<div>
|
||||
<h2>Racing</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<footer>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
39
style/desktop.css
Normal file
39
style/desktop.css
Normal file
@@ -0,0 +1,39 @@
|
||||
@media (min-width: 1000px) {
|
||||
#technology{
|
||||
background-position-x: 35vw;
|
||||
height: 75vh;
|
||||
min-height: 75vh;
|
||||
}
|
||||
|
||||
#motorsport{
|
||||
background-position-y: -180px;
|
||||
background-position-x: -200px;
|
||||
background-size: auto;
|
||||
min-height: 75vh;
|
||||
height: 75vh;
|
||||
}
|
||||
|
||||
.text{
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.text-right{
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.text-left{
|
||||
margin-left: 0;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.gradient-left{
|
||||
background-image: linear-gradient(to right, rgba(31, 31, 31, 1), rgba(31, 31, 31, 1), rgba(31, 31, 31, 0));
|
||||
}
|
||||
|
||||
.gradient-right{
|
||||
background-image: linear-gradient(to left, rgba(31, 31, 31, 1), rgba(31, 31, 31, 1), rgba(31, 31, 31, 0));
|
||||
}
|
||||
}
|
68
style/mobile.css
Normal file
68
style/mobile.css
Normal file
@@ -0,0 +1,68 @@
|
||||
body{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header{
|
||||
width: 100%;
|
||||
height: 25vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: black;
|
||||
opacity: 70%;
|
||||
}
|
||||
|
||||
#logo{
|
||||
text-align: center;
|
||||
margin: 0 auto 0 auto;
|
||||
}
|
||||
|
||||
#logo>h1{
|
||||
font-family: "Orbitron", sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
color: white;
|
||||
letter-spacing: rem;
|
||||
}
|
||||
|
||||
section h2{
|
||||
margin: 0;
|
||||
color: white;
|
||||
font-family: "Orbitron", sans-serif;
|
||||
}
|
||||
|
||||
#technology{
|
||||
background-image: url(../images/njr-code.png);
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
background-position: center;
|
||||
background-position-x: -400px;
|
||||
}
|
||||
|
||||
#motorsport{
|
||||
background-image: url(../images/topfuel_startline.jpg.jpeg);
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
background-position: center;
|
||||
background-position-x: -150px;
|
||||
background-position-y: -100px;
|
||||
background-size: 300%;
|
||||
}
|
||||
|
||||
.gradient{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: linear-gradient(to top, rgba(31, 31, 31, 1), rgba(31, 31, 31, 1), rgba(31, 31, 31, 0));
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.text{
|
||||
height: 50%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.text>div{
|
||||
padding: 10px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user