blob: 81d5a1a17950631bcf6d7a2cafdb4a13699a4b01 (
plain)
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
|
$yellow: #E5B217;
$red: #80181A;
html, body, table {
height: 100%;
padding: 0;
margin: 0;
background-color: $red;
color: $yellow;
font-family: sans-serif;
font-weight: bolder;
}
table {
width: 100%;
border-collapse: collapse;
td, th {
border: solid 1px $yellow;
}
td {
text-align: center;
vertical-align: middle;
}
thead {
height: 10%;
background-color: $yellow;
color: $red;
}
tbody {
td {
width: 33%;
height: 30%;
div {
/* A wrapper round cell contents allowing us to use fancy
table-positioning inside of the cell */
display: table;
width: 100%;
height: 100%;
a {
display: table-cell;
height: 100%;
width: 100%;
vertical-align: middle;
}
}
}
}
}
a {
text-decoration: none;
color: $yellow;
&:hover, &:active, &:focus {
text-decoration: underline;
background-color: $yellow;
color: $red;
}
}
|