/
index.html
95 lines (85 loc) · 1.92 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
<!doctype html>
<html>
<head>
<title>TRENDING</title>
<style>
body {
font-family: 'Inconsolata', monospace;
font-size: 100%;
padding: 0px;
margin: 10px;
}
#app {
width: 300px;
height: 460px;
margin: auto;
text-align: left;
background-color: #c2c3c4;
border: solid 2px black;
padding-top: 10px;
position: relative;
}
#container {
background-color: white;
margin: auto;
width: 90%;
height: 87%;
padding: auto;
padding-top: 40px;
text-align: center;
border: solid 2px black;
position: relative;
}
#btnBar {
border: solid 1px black;
padding: 10px;
width: 80%;
margin-right: 0;
background-color: black;
box-shadow: -8px 8px 5px #888888;
}
#trendings {
margin-top: 14px;
}
h1 {
border-top: solid 2px black;
border-bottom: solid 2px black;
position: fixed;
width: 80%;
margin: auto;
z-index: 5;
background-color: white;
padding-left: 15px;
}
button {
text-align: center;
width: 30%;
padding: 5px;
}
button:hover {
cursor: pointer;
}
.centerMe {
text-align: center;
margin: auto;
}
</style>
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
</head>
<body>
<div id="app">
<h1>T R E N D I N G</h1>
<div id="container">
<div id="trendings"><p id="loading">Loading...</p></div>
</div>
</div>
<div id="btnBar" class="centerMe">
<div class="centerMe">
<button id="getStats">STATS</button>
<button id="getFeed">FEED</button>
<button id="mute">MUTE</button>
</div>
</div>
<script src="./client.js"></script>
</body>
</html>