-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (86 loc) · 2.19 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="https://unpkg.com/wingcss"/>
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700&display=swap" rel="stylesheet">
<style>
html,
body {
height: 100%;
}
body {
font-family: 'Lato', sans-serif;
font-size: 1.3em;
}
svg {
cursor: crosshair;
}
label {
display: inline-block;
vertical-align: middle;
padding-top: 5px;
}
label .team {
font-size: 1.4rem;
display: block;
line-height: .9;
}
label .field {
font-weight: 300;
}
#team-select { display: inline-block; float: right; width: 45%; }
#infobox {
position: absolute;
right: 0;
bottom: 0;
width: 200px;
border: 1px solid black;
float: right;
padding: 15px;
margin: 15px;
}
.division {
display: inline-block;
width: 50%;
}
.division h4 {
margin: 10px 0 0 0;
font-size: 15px;
text-transform: uppercase;
letter-spacing: .1rem;
font-weight: 700;
color: #333;
}
</style>
</head>
<body>
<main class="row">
<div class="col" id="diagram">
<h1>Stadiums!</h1>
Ballpark: <span id="info-name"></span><br>
Team: <span id="info-team"></span><br>
Coords: (<span id="info-x"></span>, <span id="info-y"></span>) <br>
Dist from home: <span id="info-dist"> Ft</span><br>
</div>
<div class="col" id="team-select">
<section class="row">
<div class="division" id="AL">
<div id="AL-E"><h4>AL East</h4></div>
<div id="AL-C"><h4>AL Central</h4></div>
<div id="AL-W"><h4>AL West</h4></div>
</div>
<div class="division" id="NL">
<div id="NL-E"><h4>NL East</h4></div>
<div id="NL-C"><h4>NL Central</h4></div>
<div id="NL-W"><h4>NL West</h4></div>
</div>
</section>
<button type="button" id="select-all">Select all</button>
<button type="button" id="deselect-all">Deselect all</button>
</div>
</main>
<script src="main.js" charset="utf-8"></script>
</body>
</html>