-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
393 lines (360 loc) · 14.6 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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Civic Media Scout Project</title>
<meta name="description" content="Civic Media Scout is an initiative dedicated to compile and curate public contact information from government websites. Our aim is to gather and present publicly accessible data, including comprehensive social media profiles and essential contact details, in an accessible and user-friendly manner.">
<link rel="shortcut icon" href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAAIVBMVEVHcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAt9G3DAAAAC3RSTlMAOWHbDyfF5pq2ft43pKsAAAFjSURBVEjHY2AYBdhAoCheaRZNY+NGBzzyahaigc2TcKpgXZwVwMDA2AwisQHG5iQHhiBVBtZlFgLY5J0mA832MDZWALrEQgSbfCOQbFaJKgK6RdJSBV0+KrkVZEshA8NikBslzJaiykMFmFIYGITBDogybkT2ngTUSC64AganZCQVHJVQKxkNoVaAVExfAFcgrgBjNasEFcHYTIVwBcrwsAN7E2axERYFoIDCrwA55BEKxGd0YAGdCDcwdXRWAkXSZ0wHqmyr7CwDcoBMBRTjWFwclAOCFVxcmEygHNSUMHlmWqalg6fltLTJU6AcVBdFVKxqb2Vgbe9aURUA5aAlBkMG4QBQODOagjniAqMKRhVQoEBIq0pp+SIlIAYylECcJkUU/WZpGMAc2QyuFBcM4LaAkIIlCHmvyWWYVqSbIVSIL1JahAm0ConP3cqioVhAIEJBcDlWYIowTAkrCBitHREAAIkeqW4JskK7AAAAAElFTkSuQmCC" />
<style>
:root {
--darkbg:#232224;
--darkt: #dbd7db;
--lightbg: #f4f3f3;
--lightt: #141414;
--toggleHeight: 16em;
--toggleWidth: 30em;
--toggleBtnRadius: 10em;
--bgColor--night: #423966;
--toggleBtn-bgColor--night: var(--bgColor--night);
--mooncolor: #e8fafc;
--bgColor--day: #9ee3fb;
--toggleBtn-bgColor--day: var(--bgColor--day);
}
html,
body {
height: 100%;
width: 100%;
margin: 0;
display: table;
font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Geneva, Verdana, sans-serif;
font-size: 13px;
}
body{
transition: all .2s ease-in-out;
background: var(--darkbg);
color: var(--darkt);
}
.light{
background: var(--lightbg);
color: var(--lightt);
}
.tdnn {
margin: 0 auto;
font-size: 15%;
position: absolute;
top: 3em;
right: 15em;
display: inline-block;
height: var(--toggleHeight);
width: var(--toggleWidth);
border-radius: var(--toggleHeight);
transition: all 500ms ease-in-out;
background: var(--bgColor--night);
}
.day{
background: #FFBF71;
}
.moon {
position: absolute;
display: block;
border-radius: 50%;
transition: all 400ms ease-in-out;
top: 3em;
left: 3em;
transform: rotate(-75deg);
width: var(--toggleBtnRadius);
height: var(--toggleBtnRadius);
background: var(--bgColor--night);
box-shadow:
3em 2.5em 0 0em var(--mooncolor) inset,
rgba(255, 255, 255, 0.1) 0em -7em 0 -4.5em,
rgba(255, 255, 255, 0.1) 3em 7em 0 -4.5em,
rgba(255, 255, 255, 0.1) 2em 13em 0 -4em,
rgba(255, 255, 255, 0.1) 6em 2em 0 -4.1em,
rgba(255, 255, 255, 0.1) 8em 8em 0 -4.5em,
rgba(255, 255, 255, 0.1) 6em 13em 0 -4.5em,
rgba(255, 255, 255, 0.1) -4em 7em 0 -4.5em,
rgba(255, 255, 255, 0.1) -1em 10em 0 -4.5em;
}
.sun {
top: 4.5em;
left: 18em;
transform: rotate(0deg);
width: 7em;
height: 7em;
background: #fff;
box-shadow: 3em 3em 0 5em #fff inset,
0 -5em 0 -2.7em #fff,
3.5em -3.5em 0 -3em #fff,
5em 0 0 -2.7em #fff,
3.5em 3.5em 0 -3em #fff,
0 5em 0 -2.7em #fff,
-3.5em 3.5em 0 -3em #fff,
-5em 0 0 -2.7em #fff,
-3.5em -3.5em 0 -3em #fff;
}
p {
margin: 0.3em 1em;
}
table {
border-spacing: 0;
border-collapse: collapse;
empty-cells: hide;
width: 100%;
margin: 0 auto;
table-layout: fixed;
font-size: 1.1em;
line-height: 1.3em;
}
th {
top: 0;
position: sticky !important;
padding: 0.14em;
box-sizing: border-box;
color: #fff !important;
height: 2em;
background-color: #145a8d !important;
border: 0em solid rgb(204, 204, 204);
z-index: 1;
}
td {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 8em;
height: auto;
max-height: 5em;
padding: 0.14em;
text-align: center;
border: 0.0036em solid rgb(204, 204, 204);
}
table td:nth-child(1) {
max-width: 14em;
text-align: left;
padding: 0 0.36em;
}
table td:nth-child(2) {
max-width: 11em;
text-align: left;
padding: 0 0.36em;
}
table td:nth-child(3),
table td:nth-child(4),
table td:nth-child(5),
table td:nth-child(6),
table td:nth-child(7),
table td:nth-child(8) {
max-width: 9em;
text-align: left;
padding-left: 0.33em;
padding-top: 0.33em;
}
table td:nth-child(8) {
max-width: 11em;
}
tr {
border-bottom: 0.07em solid #ddd;
padding: 0.36em;
background: #fff0;
background-image: linear-gradient(to right, #ffffff00, #ffffff00, #ffffff00, #ffffff00);
}
tr:hover {
background: #fff0;
background-image: linear-gradient(to right, #5ed0ff54, #55f5a84d, #37f99c54, #21b46d57);
box-shadow: 0 0.14em 0.21em 0 rgba(4, 128, 123, 0.45);
background-blend-mode: screen;
}
.hoverable {
text-align: center;
max-width: fit-content;
margin: 0 auto;
}
.hoverable > .hoverable__tooltip {
display: none;
padding: 0.33em 0.33em;
margin: 0.33em;
background-color: #2980b9;
}
.hoverable > .hoverable__main {
position: absolute;
white-space: pre-line;
color: black;
}
.hoverable:hover > .hoverable__tooltip {
display: inline;
position: absolute;
top: 2.5em;
left: 10em;
right: 10em;
border: 0;
z-index: 99;
text-align: left;
}
h1 {
text-align: center;
font-size: 1.3em;
color: #2980b9;
margin: 0.36em 0 0.36em 0;
position: relative;
display: inline-block;
}
sup {
text-align: center;
font-size: 0.86em;
color: black;
margin: 0.36em 0 0.36em 0;
position: relative;
display: inline-block;
}
sup:hover {
-o-transition: 0.2s;
-ms-transition: 0.2s;
-moz-transition: 0.2s;
-webkit-transition: 0.2s;
transition: 0.2s;
text-shadow: 0.07em 0.07em 0.14em #888888;
}
.table-container {
overflow-x: auto;
overflow-y: scroll;
height: 87vh;
}
a {
text-decoration: none;
}
a:hover {
-o-transition: 0.05s;
-ms-transition: 0.05s;
-moz-transition: 0.05s;
-webkit-transition: 0.05s;
transition: 0.05s;
text-shadow: 0px 0px 0.07em #888;
text-decoration: underline;
}
footer {
background-color: #D3D3D3;
color: #000;
padding: 0.3em;
text-align: center;
font-size: 0.8em;
}
table td,
table th {
outline: 0;
-webkit-tap-highlight-color: transparent;
}
.twitter_color{
color: #00acee !important;
}
.facebook_color{
color: #4267B2 !important;
}
.instagram_color{
background: radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%);
background-clip: border-box;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.youtube_color{
color: #CD201F !important;
}
/* Media query for smaller screens (e.g., mobile devices) */
@media (max-width: 600px) {
table {
width: 100%;
font-size: 0.8em !important;
}
td {
padding: 0.5em 0.1em !important;
}
th {
padding: 1em 0em !important;
}
.hoverable:hover > .hoverable__tooltip {
top: 2.5em !important;
left: 1em !important;
right: 1em !important;
}
table th:nth-child(1),
table th:nth-child(4),
table th:nth-child(5),
table th:nth-child(6) {
width: 5em;
}
.tdnn {
font-size: 10%;
top: 10em;
right: 20em;
}
}
</style>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.13.6/css/jquery.dataTables.min.css">
<script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
</head>
<body class="light">
<div style="margin: 0 auto;">
<div class="hoverable">
<h1>Civic Media Scout
<span class="hoverable__main"><sup>⋕</sup></span>
</h1>
<span class="hoverable__tooltip">
<span><em>Civic Media Scout</em> is an initiative dedicated to compile and curate <em>public</em> contact information from government websites. Our aim is to gather and present publicly accessible data, including comprehensive social media profiles and essential contact details, in an accessible and user-friendly manner.</span><br>
<span>By leveraging existing open source code and technologies, this project empowers citizens, researchers, and policymakers with a <em>centralized</em> resource for contacting a government entity. Join us in the journey to enhance civic engagement and information accessibility.</span><br>
<span><strong>Disclaimer:</strong>
The information provided under this website is exclusively for general informational purposes only, should not be interpreted as soliciting or advertisement. The data collected and presented on this website may lack accuracy, comprehensiveness, or timeliness.
The operator(s) of this website abstain from making any representations or assurances concerning the accuracy or dependability of the information herein. We are not liable for any consequence of any action taken by the user relying on material / information provided under this website.
</span>
</span>
</div>
<div class="tdnn day">
<div class="moon sun"></div>
</div>
</div>
<div class="table-container">
<table id="content-table">
<thead>
<tr>
<th data-column="title" scope="col" title="Source Page Title">Page Title</th>
<th data-column="sourceurl" scope="col" title="Source Website URL">Source URL</th>
<th data-column="twitter" scope="col" title="Twitter Profile">Twitter</th>
<th data-column="facebook" scope="col" title="Facebook Profile">Facebook</th>
<th data-column="instagram" scope="col" title="Instagram Profile">Instagram</th>
<th data-column="youtube" scope="col" title="Youtube Channels">Youtube</th>
<th data-column="phone" scope="col" title="Phone Numbers">Phone</th>
<th data-column="email" scope="col" title="Email Addresses">Email</th>
</tr>
</thead>
<tbody>
</tbody></table>
</div><p></p>
<script>
$(document).ready( function () {
$('#content-table').DataTable({
order: [[1, 'asc']]
});
} );
$('.tdnn').click(function () {
$("body").toggleClass('light');
$(".moon").toggleClass('sun');
$(".tdnn").toggleClass('day');
});
</script>
<footer>
<!-- GitHub Source Code Link -->
<a href="https://github.com/navchandar/civic-media-scout" target="_blank">
View Source on GitHub
</a>
<!-- License Information -->
<span>|</span>
<a href="https://github.com/navchandar/civic-media-scout/blob/main/LICENSE" target="_blank">
License - MIT
</a>
<span>|</span>
<!-- Font Awesome Icons Attribution -->
<a href="https://fontawesome.com/v4/" target="_blank">Icons by Font Awesome</a>
</footer>
</body></html>