-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
99 lines (85 loc) · 1.63 KB
/
styles.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
:root {
--font-size-large: 4rem;
--font-size-medium: 1.7rem;
--font-size-normal: 1rem;
--font-size-small: 1rem;
--bg-color: black;
}
@media screen and (max-width: 600px) {
/* … */
:root {
--font-size-large: 1.5rem;
--font-size-medium: 0.5rem;
--font-size-normal: 1.3rem;
--font-size-small: 1rem;
}
}
html, body {
overflow-x: hidden;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
font-family: 'Press Start 2P', cursive;
background: var(--bg-color);
color: white;
text-transform: uppercase;
font-size: var(--font-size-normal);
}
h1 {
font-size: var(--font-size-large);
text-align: center;
padding: 1rem;
}
h2 {
margin-top: var(--font-size-medium);
font-size: var(--font-size-medium);
text-align: center;
}
table {
font-size: var(--font-size-normal);
display: block;
overflow-x: auto;
white-space: nowrap;
}
th {
text-align: left;
padding: 1rem;
position: sticky;
}
td {
padding: 1rem;
}
thead tr, th:first-child {
position: sticky;
width: 5em;
left: 0;
top: auto;
background: black;
z-index: 2000;
}
tr:nth-child(even) {
color: cyan;
}
.bbc {
background: white;
color: black;
font-weight: 900;
padding: 10px;
border: 4px solid black;
}
.ceefax {
background: blue;
color: yellow;
padding: 10px 30px;
margin-left: 10px;
}
.entry-name {
z-index: 2000;
position: sticky;
width: 5em;
left: 0;
top: auto;
color: white;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}