-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
228 lines (226 loc) · 8.79 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
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
Frontend Mentor | REST Countries API with color theme switcher
</title>
<link rel="stylesheet" href="assets/css/input.css" />
<link rel="stylesheet" href="assets/css/switch.css" />
<link rel="stylesheet" href="assets/css/style.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=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap"
rel="stylesheet"
/>
</head>
<body class="light-mode">
<header>
<div class="container">
<h2><a href="#">Where in the world?</a></h2>
<label class="switch">
<span class="sun"
><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g fill="#ffd43b">
<circle r="5" cy="12" cx="12"></circle>
<path
d="m21 13h-1a1 1 0 0 1 0-2h1a1 1 0 0 1 0 2zm-17 0h-1a1 1 0 0 1 0-2h1a1 1 0 0 1 0 2zm13.66-5.66a1 1 0 0 1 -.66-.29 1 1 0 0 1 0-1.41l.71-.71a1 1 0 1 1 1.41 1.41l-.71.71a1 1 0 0 1 -.75.29zm-12.02 12.02a1 1 0 0 1 -.71-.29 1 1 0 0 1 0-1.41l.71-.66a1 1 0 0 1 1.41 1.41l-.71.71a1 1 0 0 1 -.7.24zm6.36-14.36a1 1 0 0 1 -1-1v-1a1 1 0 0 1 2 0v1a1 1 0 0 1 -1 1zm0 17a1 1 0 0 1 -1-1v-1a1 1 0 0 1 2 0v1a1 1 0 0 1 -1 1zm-5.66-14.66a1 1 0 0 1 -.7-.29l-.71-.71a1 1 0 0 1 1.41-1.41l.71.71a1 1 0 0 1 0 1.41 1 1 0 0 1 -.71.29zm12.02 12.02a1 1 0 0 1 -.7-.29l-.66-.71a1 1 0 0 1 1.36-1.36l.71.71a1 1 0 0 1 0 1.41 1 1 0 0 1 -.71.24z"
></path>
</g></svg
></span>
<span class="moon"
><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512">
<path
d="m223.5 32c-123.5 0-223.5 100.3-223.5 224s100 224 223.5 224c60.6 0 115.5-24.2 155.8-63.4 5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6-96.9 0-175.5-78.8-175.5-176 0-65.8 36-123.1 89.3-153.3 6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"
></path></svg
></span>
<input type="checkbox" class="input" />
<span class="slider"></span>
</label>
</div>
</header>
<div class="overlay-country">
<button class="button">
<span class="X"></span>
<span class="Y"></span>
<div class="close">Close</div>
</button>
<div class="container">
<div class="image-container">
<img src="" alt="" />
</div>
<div class="description">
<h2 class="title"></h2>
<div class="details-flex">
<p class="native-name">
<strong>Native Name: </strong> <span></span>
</p>
<p class="population">
<strong>Population: </strong> <span></span>
</p>
<p class="region"><strong>Region: </strong> <span></span></p>
<p class="sub-region">
<strong>Sub Region: </strong> <span></span>
</p>
<p class="capital"><strong>Capital: </strong> <span></span></p>
<p class="languages"><strong>Languages: </strong> <span></span></p>
<p class="area">
<strong>Area: </strong> <span></span><sup> km²</sup>
</p>
<p class="currencies">
<strong>Currencies: </strong> <span></span>
</p>
<a class="location"
><strong>Location: </strong>
<span
><svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-map-pin"
>
<path
d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"
></path>
<circle cx="12" cy="10" r="3"></circle></svg></span
></a>
</div>
<p class="border-countries">
<strong>Border Countries: </strong>
</p>
</div>
</div>
</div>
<main>
<div class="container">
<!-- <div class="search-flex">
<form class="form">
<label for="search">
<input
required=""
autocomplete="off"
placeholder="search your chats"
id="search"
type="text"
/>
<div class="icon">
<svg
stroke-width="2"
stroke="currentColor"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="swap-on"
>
<path
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
stroke-linejoin="round"
stroke-linecap="round"
></path>
</svg>
<svg
stroke-width="2"
stroke="currentColor"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="swap-off"
>
<path
d="M10 19l-7-7m0 0l7-7m-7 7h18"
stroke-linejoin="round"
stroke-linecap="round"
></path>
</svg>
</div>
<button type="reset" class="close-btn">
<svg
viewBox="0 0 20 20"
class="h-5 w-5"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
fill-rule="evenodd"
></path>
</svg>
</button>
</label>
</form>
<div class="select-box">
<select name="region" id="region">
<option value="All">All Regions</option>
<option value="africe">Africa</option>
<option value="americas">Americas</option>
</select>
</div>
</div> -->
<div class="countries">
<!-- <div class="country-box">
<img src="https://flagcdn.com/w320/gd.png" alt="" />
<h3 class="title">South Georgia</h3>
<ul>
<li><span>Population:</span>30</li>
<li><span>Capital:</span>King Edward Point</li>
<li><span>Region:</span>Antarctic</li>
</ul>
</div> -->
</div>
</div>
<div class="pagination">
<button class="left previous-btn">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-chevron-left"
>
<path d="m15 18-6-6 6-6"></path>
</svg>
</button>
<button class="right next-btn">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-chevron-right"
>
<path d="m9 18 6-6-6-6"></path>
</svg>
</button>
</div>
<p class="pagination-desc">
<span class="current"></span> of <span class="total"></span>
</p>
<div class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by <a href="https://github.com/Mo3bassia">Mo3bassia</a>.
</div>
</main>
<script src="assets/js/scrollreveal.js"></script>
<script src="assets/js/app.js"></script>
</body>
</html>