-
Notifications
You must be signed in to change notification settings - Fork 0
/
rankings.css
84 lines (69 loc) · 1.51 KB
/
rankings.css
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
/* setting up the grid for the various polls */
main {
display: grid;
grid-template-columns: .5fr .5fr;
grid-gap: 30px;
width: 70%;
margin: 50px auto;
padding: 0;
}
.rankingContainer {
background: #fff;
border: 1px solid #f1f2f3;
border-radius: 7px;
box-shadow: 2px 2px 2px #f1f2f3;
}
.rankingContainer h1 {
width: 90%;
margin: 15px auto;
text-align: center;
}
/*styling the rankings tables */
.rankingContainer table {
width: 90%;
margin: 0 auto;
margin-bottom: 25px;
font-size: 1.4rem;
border-collapse: collapse;
}
#playoffRank table {
width: 85%;
}
.rankingContainer table tr {
height: 30px;
}
/* styling the thead */
.rankingContainer thead tr {
border-top: 1px solid #f1f2f3;
border-bottom: 1px solid #f1f2f3;
}
.rankingContainer thead tr th:nth-of-type(1) {
width: 10%;
}
.rankingContainer thead tr th:nth-of-type(2) {
text-align: left;
padding-left: 20px;
}
.rankingContainer thead tr th:nth-of-type(3), .rankingContainer thead tr th:nth-of-type(4) {
width: 15%;
}
/* styling the tbody */
.rankingContainer tbody tr {
border-bottom: 1px solid #f1f2f3;
}
.rankingContainer tbody tr:nth-of-type(even) {
background-color: #fdfdfd;
}
.rankingContainer table tr td:nth-of-type(1) {
padding-left: 15px;
}
.rankingContainer table tr td:nth-of-type(4), .rankingContainer table tr td:nth-of-type(5) {
text-align: center;
}
/* styling the team logo images */
.rankingContainer table img {
max-width: 30px;
margin: 0;
margin-left: 22px;
vertical-align: middle;
}