-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
147 lines (124 loc) · 3.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Nerd Pick 'Em Results.</title>
<meta name="description" content="A group of nerd friends try to one-up each other in a weekly college football pick 'em." />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
background-color: #a3b2d2;
font-family: Verdana, "Bitstream Vera Sans", sans-serif;
font-size: .9em;
text-align: center;
margin: 0;
padding: 0;
color: #0e0d1d;
}
header {
background: #1C3852;
text-align: center;
border-bottom: #0e0d1d 2px solid;
}
main {
padding: 10px;
}
.results {
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 5px;
}
.results p {
line-height: 1.5em;
}
.previous,
.winner,
.current {
background-color: #FFF;
border: 1px solid #0e0d1d;
color: #23272B;
}
.previous {
grid-row: 2;
}
.previous h3 {
text-decoration: underline;
}
.winner {
grid-row: 1;
min-height: 370px;
background-image: url("images/tada-left.png"), url("images/tada-right.png");
background-size: 30%, 30%;
background-position: 0 0, 100% 100%;
background-repeat: no-repeat;
}
.current {
grid-row: 1;
min-height: 370px;
background-image: url("images/trophy.png");
background-size: 30%;
background-position: 0;
background-repeat: no-repeat;
}
.winner h1 {
padding: 125px 0 0 0;
}
.current h1 {
padding: 125px 0 0 25%;
width: 75%;
}
.winner h2 {
padding-top: 5px;
}
.current h3 {
padding: 0 5px 0 25%;
font-weight: normal;
}
@media screen and (min-width: 970px) {
.results {
grid-template-columns: repeat(3, 1fr);
gap: 10px;
grid-auto-rows: minmax(100px, auto);
}
.previous {
grid-row: 1;
}
.winner, .current {
grid-column: 2/4;
}
}
</style>
</head>
<body>
<header><img src="images/logo.jpg" alt="Nerd Pick 'Em Results" /></header>
<main>
<div class="results">
<div class="previous">
<h3>Previous Winners</h3>
<p>2023-2024<br /><strong>Jason Turner</strong></p>
<p>2022-2023<br /><strong>Jerry Carter</strong></p>
<p>2021-2022<br /><strong>Paul Hummer</strong></p>
<p>2020-2021<br /><strong>Deryck Hodge</strong></p>
<p>2019-2020<br /><strong>Brandon Freeman</strong></p>
<p>2018-2019<br /><strong>Deryck Hodge</strong></p>
<p>2017-2018<br /><strong>Donny Ray</strong></p>
<p>2016-2017<br /><strong>Jerry Carter</strong></p>
<p>2015-2016<br /><strong>Deryck Hodge & Paul Hummer</strong> (tied 1st)</p>
<p>2014-2015<br /><strong>Paul Hummer</strong></p>
<p>2013-2014<br /><strong>Deryck Hodge</strong></p>
</div>
<!-- Comment this out when announcing the current season winner. -->
<div class="winner">
<h1>2024-2025 Winner</h1>
<h2>Jerry Carter</h2>
</div>
<!-- Uncomment this when the current season begins.
Be sure to comment out the "winner" div above.
<div class="current">
<h1>2023-2024 Season</h1>
<h3>Who will take home the trophy this season?</h3>
</div>
-->
</div>
</main>
</body>
</html>