-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
117 lines (117 loc) · 3.74 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Tesla</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.0/css/bulma.min.css"
/>
<script
defer
src="https://use.fontawesome.com/releases/v5.0.7/js/all.js"
></script>
<link rel="stylesheet" href="styles/helpers.css" />
<link rel="stylesheet" href="styles/grid.css">
<!-- <link rel="stylesheet" href="styles/debug.css"> -->
<style>
.hero {
background: black url(images/hero-1.jpg) center/cover;
}
@media (max-width: 1024px) {
.hero {
background: black url(images/hero-2.jpg) center / cover;
}
}
@media (max-width: 768px) {
.hero {
background: black url(images/hero-3.jpg) center / cover;
}
}
</style>
</head>
<body>
<!-- .hero -->
<section class="hero is-fullheight">
<!-- .hero-head -->
<nav class="hero-head">
<div
class="columns is-mobile is-marginless heading has-text-weight-bold"
>
<div class="column left">
<figure class="navbar-item image">
<img
src="images/tesla.svg"
alt="tesla logo"
style="width: 6.25rem; height: 1rem;"
/>
</figure>
</div>
<div class="column center desktop">
<p class="navbar-item has-text-black">MODEL S</p>
<p class="navbar-item has-text-black">MODEL X</p>
<p class="navbar-item has-text-black">MODEL 3</p>
<p class="navbar-item has-text-primary">ROADSTER</p>
<p class="navbar-item has-text-black">ENERGY</p>
</div>
<div class="column right">
<p class="navbar-item desktop">SHOP</p>
<p class="navbar-item desktop">SIGN IN</p>
<figure class="navbar-item image has-text-black center">
<i class="fas fa-bars" style="width: 6.25rem; height: 1rem;"></i>
</figure>
</div>
</div>
</nav>
<!-- .hero-head -->
<!-- .hero-body -->
<header class="hero-body">
<div
class="is-overlay has-text-centered single-spaced"
style="top:82px"
>
<h1 class="subtitle is-4 has-text-weight-light has-text-black">
Tesla
</h1>
<h2 class="title is1 has-text-black">Roadster</h2>
</div>
</header>
<!-- .hero-body -->
<!-- .hero-footer -->
<footer class="hero-foot center" style="padding: 2rem;">
<div id="grid" style="width: 768px;">
<div id="a" class="center-column">
<p class="has-text-centered has-text-white">
The quickest car in the world, with record-setting<br>
acceleration, range and performance.
</p>
</div>
<div id="b" class="center-column">
<p class="title has-text-white">
<i class="fas fa-tachometer-alt has-text-grey-light"
style="width: 0.75em; height: 0.75em;"></i>
1.9<span class="is-size-5">s</span>
</p>
<p class="subtitle has-text-white is-7">0-60 mph</p>
</div>
<div id="c" class="center-column" style="border-left: 1px solid gray;">
<p class="title has-text-white"><span class="is-size-5">+</span>250<span class="is-size-5">mph</span></p>
<p class="subtitle is-7 has-text-white">Top Speed</p>
</div>
<div id="d" class="center-column" style="border-left: 1px solid gray;">
<p class="title has-text-white">620</span><span class="is-size-5">mi</span></p>
<p class="subtitle is-7 has-text-white">Mile Range</p>
</div>
<div id="e" class="center-column">
<a class="button is-danger is-inverted is-rounded is-outlined has-text-weight-bold"
style="width: 100%; border: 0.15em solid white;">
Reserve Now
</a>
</div>
</div>
</footer>
<!-- .hero-footer -->
</section>
</body>
</html>