-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (81 loc) · 1.98 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
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<style>
html {
font-size: 17px;
}
@media (max-width: 900px) {
html { font-size: 15px; }
}
@media (max-width: 400px) {
html { font-size: 13px; }
}
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Chrome/Safari/Opera */
-khtml-user-select: none; /* Konqueror */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
not supported by any browser */
}
.container {
display: flex; /* or inline-flex */
flex-direction: column;
width:100%;
text-align:center;
font-size:2rem;
}
h1 {
color: white;
}
.container a, .container a:visited, .container a:hover {
color: white;
text-decoration: none;
font-family: 'Double','Times','Gerogia','serif';
font-weight: 500;
text-rendering: optimizeLegibility;
}
.station {
margin:10px;
min-height: 50px;
border: 1px solid white;
border-radius: 10px;
display: flex;
justify-content: center;
flex-direction: column;
text-align: center;
cursor: pointer;
}
.selected {
background-color:green;
}
body {
background-color:#080808;
font-family: 'Double','Times','Gerogia','serif';
color: inherit;
font-weight: 500;
text-rendering: optimizeLegibility;
color:white;
}
.volumeup, .volumedown {
cursor:pointer;
}
.volume {
}
</style>
</head>
<body>
<div class="container">
<h1>Radio</h1>
<div id="npr" class="station noselect">Vermont Public Radio Classic</div>
<div id="rcan" class="station noselect">Radio Canada Première</div>
<!-- insert new stations here -->
<div id="stop" class="station noselect">Stop</div>
</div>
<div><div class="volumeup noselect">Volume Up</div><div class="volumedown noselect">Volume Down</div></div>
<meter class="volume" min=0 max=100 value=100></meter>
<script src="radio-ui.js"></script>
</body>
</html>