forked from Graycot/loop-ring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
member-list.html
100 lines (83 loc) · 1.94 KB
/
member-list.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
<!-- This is an example HTML page calling the member-list.js script to display the member list and member count.-->
<!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">
<link rel="stylesheet" href="simple.css">
<title>Loop Ring</title>
<script defer src="member-list.js"></script>
</head>
<body>
<header id="header"></header>
<div id="info"></div>
<table class="responsive">
<thead>
<tr>
<th>#</th>
<th>Owner</th>
<th>Name</th>
<th>URL</th>
<th>Tags</th>
<th>Summary</th>
<th>Description</th>
</tr>
</thead>
<tbody id="tbody"></tbody>
</table>
<footer id="footer"></footer>
</body>
<style>
.siteURL {
overflow-wrap: anywhere;
}
.number {
text-align: center;
}
h2, th {
text-align: center;
}
/* Some Basics */
table.responsive {
width: 100%;
}
table.responsive th {
background-color: rgb(71, 69, 69);
}
/* Hide cell labels by default */
table.responsive td .label {
display: none;
}
/* Apply the contained CSS only to narrow viewports via a Media Query */
@media screen and (max-width:1000px) {
/* Hide the table header */
table.responsive thead {
display: none;
}
/* Vertically stack the table elements */
table.responsive tbody th,
table.responsive tbody td:not(.number) {
display: block;
}
/* Make all cell column span tags visible & change them from inline-block to block */
table.responsive td span {
display: block;
}
/* Make all cell labels look like column headers */
table.responsive td .label {
background-color: rgb(71, 69, 69);
font-weight: bold;
text-align: center;
display:block;
margin-bottom: 0.5rem;
}
.number {
font-size: 3rem;
}
.gap {
margin-bottom: 3rem;
}
}
</style>
</html>