summaryrefslogtreecommitdiff
path: root/www/css/index.scss
blob: 2f246a71e999e4de597191eb816176bbf83a12a4 (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
$yellow: #E5B217;
$red: #80181A;

html, body, table {
	height: 100%;
	padding: 0;
	margin: 0;
	background-color: $red;
}

table {
	width: 100%;
	border-collapse: collapse;
	td, th {
		border: solid 1px black;
	}
	td {
		text-align: center;
		vertical-align: middle;
	}

	thead {
		height: 10%;
		background-color: $yellow;
	}
	tbody {
		td {
			width: 33%;
			height: 30%;
			a {
				/*display: inline-block;*/
				display: table-cell;
				width: 100%;
				height: 100%;
				text-decoration: none;
				/* What this does is insert a 0-width, but tall, element to the left
				   of the text, to stretch the line-height to the full
				   height of the <a> element. *//*
				span:before {
					content: " ";
					display: inline-block;
					height: 100%;
					vertical-align: middle;
				}
				span {
					display: inline-block;
				}*/
			}
		}
	}
}
a:hover, a:active, a:focus {
	text-decoration: underline;
	background-color: $yellow;
}