-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
218 lines (188 loc) · 8.97 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!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">
<!-- Google font link -->
<link href="https://fonts.googleapis.com/css?family=Cinzel&display=swap"
rel="stylesheet">
<!-- Font Awesome link -->
<link rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf"
crossorigin="anonymous">
<!-- jQuery link -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- unknown error fix #1 -->
<link rel="shortcut icon"
href="#">
<!-- CSS -->
<link rel="stylesheet"
href="style.css">
<!-- CSS for social hover -->
<link rel="stylesheet"
href="social.css">
<title>CSS Grid training</title>
</head>
<body>
<!-- figure for fixed background(unused) + black underlay to avoid white flash -->
<figure>
<div class="black"></div>
<!-- <div id="fixed"></div> -->
</figure>
<!-- outside wrapper with margins-->
<div class="wrapper">
<!-- main grid container for layout-->
<div class="grid_container">
<!-- header section -->
<header id="header">
<div class="header_top">
<div class="logo"><img src="img/logo.png"
alt="company logo lightning bolt"></div>
</div>
<nav class="header_left">
<ul class="navigation_list">
<li><a href="#hero">hero</a></li>
<li><a href="#main">main</a></li>
<li id="aside_dispose_mobile"><a href="#aside">aside</a></li>
<li><a href="#contacts">social</a></li>
</ul>
</nav>
<div class="header_right">
<ul>
<li>Log in</li>
<li>|</li>
<li>Register</li>
</ul>
</div>
</header>
<!-- hero section -->
<div id="hero"
class="hero shadow">
<div class="hero_overlay"></div>
<div class="hero_1">
<h3>class...</h3>
<h3>speed...</h3>
<h3>reliability...</h3>
</div>
<div class="hero_2">
<button type="button">Purchase</button>
</div>
</div>
<!-- disposable advert for desktop only -->
<div class="advert_desktop shadow"></div>
<!-- main section with additional advert for mobile only -->
<main id="main">
<article>
<h1>title placeholder</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Rem maiores cum corrupti possimus
blanditiis quaerat eligendi, non perferendis nesciunt, omnis accusantium, officia suscipit
excepturi asperiores eos placeat. Corrupti, omnis vero.
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Saepe ab assumenda, quaerat
commodi,
nulla mollitia repellendus illo, eos sint autem numquam laborum beatae maxime dolorem nam ad
corporis quae rem?</p>
</article>
<!-- advert for mobile -->
<div class="advert_mobile shadow"></div>
<div class="article_list hover_link">
<p>Check out our sponsors:</p>
<ul>
<li><a href="https://www.promarperformanceengines.com/"
target="_blank">Promar</a></li>
<li><a href="https://www.michelinman.com/"
target="_blank">Michelin</a></li>
<li><a href="https://www.castrol.com/"
target="_blank">Castrol</a></li>
<li><a href="https://www.redbull.com"
target="_blank">Red Bull</a></li>
</ul>
</div>
</main>
<!-- sidebar section -->
<aside id="aside"
class="hover_link">
<ul>
<li>
<div class="aside_content_images shadow">
<img src="img/side_1.jpg"
alt="orange mercedes hood">
</div>
<a href="https://www.hotcars.com/20-retro-cars-that-are-quietly-making-a-comeback/"
target="_blank">Retro
cars!</a>
</li>
<li>
<div class="aside_content_images shadow">
<img src="img/side_2.jpg"
alt="retro mercedes front">
</div>
<a href="https://www.mercedes-benz.com/en/mercedes-benz/classic/museum/"
target="_blank">Mercedes
museum!</a>
</li>
</ul>
</aside>
<!-- footer section -->
<footer id="contacts">
<div class="social">
<div class="social-text">
<h3>Follow us on social media</h3>
</div>
<ul>
<li><a href="https://www.facebook.com/"
target="_blank">
<span></span>
<span></span>
<span></span>
<span></span>
<span><i class="fab fa-facebook fa-xs"
aria-hidden="true"></i></span>
</a></li>
<li><a href="https://twitter.com/?lang=en"
target="_blank">
<span></span>
<span></span>
<span></span>
<span></span>
<span><i class="fab fa-twitter fa-xs"
aria-hidden="true"></i></span>
</a></li>
<li><a href="https://aboutme.google.com/u/0/?referer=gplus"
target="_blank">
<span></span>
<span></span>
<span></span>
<span></span>
<span><i class="fab fa-google-plus-g fa-xs"
aria-hidden="true"></i></span>
</a></li>
<li><a href="https://www.instagram.com/"
target="_blank">
<span></span>
<span></span>
<span></span>
<span></span>
<span><i class="fab fa-instagram fa-xs"
aria-hidden="true"></i></span>
</a></li>
<li><a href="https://www.youtube.com/?gl=LV&hl=lv"
target="_blank">
<span></span>
<span></span>
<span></span>
<span></span>
<span><i class="fab fa-youtube fa-xs"
aria-hidden="true"></i></span>
</a></li>
</ul>
</div>
</footer>
</div>
</div>
<script src="script.js"></script>
</body>
</html>