-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
216 lines (205 loc) · 9.52 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Brighton Times</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="main.css">
<!-- Breakpoints for responsiveness -->
<link rel="stylesheet" media="screen and (min-width:450px)" href="over450.css">
<link rel="stylesheet" media="screen and (min-width:540px)" href="over540.css">
<link rel="stylesheet" media="screen and (min-width:600px)" href="over600.css">
<link rel="stylesheet" media="screen and (min-width:700px)" href="over700.css">
<link rel="stylesheet" media="screen and (min-width:900px)" href="over900.css">
</head>
<body>
<header class="header">
<div class="header__inner">
<img class="header__logo" src="images/city.png" alt="iconic view of a cityscape">
<h1 class="header__title">
The Brighton Times
</h1>
<div class="menu">
<span>☰</span>
</div>
</div>
</header>
<nav id="drawer" class="nav">
<ul class="nav__list">
<li class="nav__item"><a href="#">News</a></li>
<li class="nav__item"><a href="#">Events</a></li>
<li class="nav__item"><a href="#">Culture</a></li>
<li class="nav__item"><a href="#">Blog</a></li>
</ul>
</nav>
<main>
<section class="content">
<section class="hero">
<article class="description">
<h2>Absolutely astonishing breaking news!</h2>
<p>Organic raw denim Vice keffiyeh lomo Kickstarter art lomo Kickstarter art four loko. Organic raw denim Vice keffiyeh lomo Kickstarter art lomo Kickstarter art four loko.</p>
</article>
</section>
<section class="news top-news">
<h2 class="news__title">Top news <a href="#" class="news__more">+ more</a></h2>
<ul>
<li class="top-news__item">
<a href="#">Gastropub distillery Marfa farm-to-table, Etsy Truffaut fingerstache.</a>
</li>
<li class="top-news__item">
<a href="#">Squid lomo Kickstarter art lomo Kickstarter art party cronut scenester.</a>
</li>
<li class="top-news__item">
<a href="#">Organic raw denim lomo Kickstarter art Vice keffiyeh four loko.</a>
</li>
<li class="top-news__item">
<a href="#">Organic raw denim Vice keffiyeh lomo Kickstarter art lomo Kickstarter art four loko.</a>
</li>
</ul>
</section>
<section class="scores">
<table class="scores__table">
<thead>
<tr>
<th>date</th>
<th class="scores__location">location</th>
<th>team</th>
<th colspan="2">score</th>
<th>team</th>
</tr>
</thead>
<tbody>
<tr>
<td>Friday</td>
<td class="scores__location">Brighton</td>
<td>Bears</td>
<td>95</td>
<td class="winner">109</td>
<td class="winner">Cubs</td>
</tr>
<tr>
<td>Friday</td>
<td class="scores__location">Worthington</td>
<td class="winner">Otters</td>
<td class="winner">3</td>
<td>1</td>
<td>Cubs</td>
</tr>
<tr>
<td>Saturday</td>
<td class="scores__location">Littlehampton</td>
<td class="winner">Wolves</td>
<td class="winner">7</td>
<td>0</td>
<td>Panthers</td>
</tr>
<tr>
<td>Sunday</td>
<td class="scores__location">Portslade</td>
<td>Hawks</td>
<td>11</td>
<td class="winner">12</td>
<td class="winner">Capons</td>
</tr>
<tr>
<td>Sunday</td>
<td class="scores__location">Hove</td>
<td class="winner">Stags</td>
<td class="winner">6</td>
<td>2</td>
<td>Foxes</td>
</tr>
</tbody>
</table>
</section>
<section class="weather">
<span class="weather__location">Brighton, UK</span>
<span class="weather__desc">Sunny</span>
<span class="weather__today">
<img class="weather__today__image" src="images/weather.png" alt="icon of a partially sunny day"><span class="weather__today__temp">13</span><span class="weather__today__deg">°C</span>
</span>
<ul class="weather__next">
<li class="weather__next__item">
<span>Mon</span>
<img class="weather__next__image" src="images/sunny.png" alt="icon of a sunny day">
<span>13 °C</span>
</li><li class="weather__next__item">
<span>Tues</span>
<img class="weather__next__image" src="images/cloudy.png" alt="icon of a cloudy day">
<span>13 °C</span>
</li><li class="weather__next__item">
<span>Wed</span>
<img class="weather__next__image" src="images/cloudy.png" alt="icon of a cloudy day">
<span>13 °C</span>
</li><li class="weather__next__item">
<span>Thu</span>
<img class="weather__next__image" src="images/rain.png" alt="icon of a rainy day">
<span>13 °C</span>
</li><li class="weather__next__item">
<span>Fri</span>
<img class="weather__next__image" src="images/sunny.png" alt="icon of a sunny day">
<span>13 °C</span>
</li>
</ul>
</section>
<section class="news recent-news">
<h2 class="news__title">Latest news <a href="#" class="news__more">+ more</a></h2>
<ul>
<li class="snippet">
<img class="snippet__thumbnail" src="images/dog.jpg" alt="picture of a girl with a large, stuffed dog toy">
<article class="snippet__article">
<h3 class="snippet__title"><a href="#">Gastropub distillery Marfa farm-to-table</a></h3>
<p>Gastropub distillery Marfa farm-to-table, Etsy Truffaut fingerstache.
Squid lomo Kickstarter art party cronut scenester. Organic raw denim Vice keffiyeh four loko. Squid lomo Kickstarter art party cronut scenester. Organic raw denim Vice keffiyeh four loko.Vice keffiyeh four loko. Squid lomo Kickstarter art party cronut scenester. Organic raw denim Vice keffiyeh four loko.Vice keffiyeh four loko. Squid lomo Kickstarter art party cronut scenester. Organic raw denim Vice keffiyeh four loko.
</p>
</article>
</li>
<li class="snippet">
<img class="snippet__thumbnail" src="images/dog.jpg" alt="picture of a girl with a large, stuffed dog toy">
<article class="snippet__article">
<h3 class="snippet__title"><a href="#">Organic raw keffiyeh four loko.</a></h3>
<p>Vice keffiyeh four loko. Squid lomo Kickstarter art party cronut scenester. Organic raw denim Vice keffiyeh four loko.Vice keffiyeh four loko. Squid lomo Kickstarter art party cronut scenester. Organic raw denim Vice loko.
</p>
</article>
</li>
<li class="snippet">
<img class="snippet__thumbnail" src="images/dog.jpg" alt="picture of a girl with a large, stuffed dog toy">
<article class="snippet__article">
<h3 class="snippet__title"><a href="#">Kickstarter art party cronut scenester.</a></h3>
<p>Gastropub distillery Marfa farm-to-table, Etsy Truffaut fingerstache.
Squid lomo Kickstarter art party cronut scenester. Organic raw denim Vice keffiyeh four loko. Squid lomo Kickstarter art party cronut scenester. Organic raw denim Vice keffiyeh four loko.Vice keffiyeh four loko.
</p>
</article>
</li>
<li class="snippet">
<img class="snippet__thumbnail" src="images/dog.jpg" alt="picture of a girl with a large, stuffed dog toy">
<article class="snippet__article">
<h3 class="snippet__title"><a href="#">Squid lomo Kickstarter art party cronut </a></h3>
<p>Gastropub distillery Marfa farm-to-table, Etsy Truffaut fingerstache.
Squid lomo Kickstarter art party cronut scenester. Organic raw denim Vice keffiyeh four loko. Squid lomo Kickstarter art party cronut scenester. Organic raw denim Vice keffiyeh four loko.Vice keffiyeh four loko.
</p>
</article>
</li>
</ul>
</section>
</section>
<footer>
<ul>
<li><a href="#">Contact us</a></li>
<li><a href="#">Follow us on Twitter</a></li>
<li><a href="#">RSS</a></li>
</ul>
</footer>
</main>
<script>
var menu = document.querySelector('div.menu');
var drawer = document.querySelector('#drawer');
menu.addEventListener('click', function(e) {
drawer.classList.toggle('open');
e.stopPropagation();
});
</script>
</body>
</html>