summaryrefslogtreecommitdiff
path: root/style.scss
blob: ef61e185905fd4127828ad2b3b26af9c1135fe34 (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
62
63
64
65
66
67
68
69
/* page layout */
html {
	height: 100%;
}
body {
	font-size: 8px;
	font-family: monospace;
	height: 100%;
	margin: 0;

	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
}
body > * {
	margin: auto;
}
* {
	box-sizing: border-box;
}
/* diff styling */
table.diff {
	border-collapse: collapse;
	td, th {
		padding: 0;
		white-space: nowrap;
	}
	.diff-del, .diff-del a { color: red; }
	.diff-add, .diff-add a { color: green; }
	.diff-dat, .diff-dat a { color: blue; }
	.diff-ctx, .diff-ctx a { color: black; }
}
/* sortable styling */
table.sortable {
	border-collapse: collapse;
	caption p {
		margin: 0;
	}
	td, th {
		padding: 0;
		border: solid 1px black;
		white-space: nowrap;
	}
	td {
		background-color: #F3F3F3;
	}
}
/* generic table interaction */
table {
	tr.invalid td {
		background-color: #F30000 !important;
	}
	tr:hover a, tr.invalid:hover a {
		background-color: #AAAAF3;
	}
	td a {
		text-decoration: none;
		padding: 0.1em 0.25em;
		display: block;
		width: 100%;
		height: 100%;
		color: black;
	}
}
/* generic time formatting */
time .time {
	display: none
}