-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTELETEXT.CSS
More file actions
197 lines (167 loc) · 4.25 KB
/
TELETEXT.CSS
File metadata and controls
197 lines (167 loc) · 4.25 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
/*
Teletext stylesheet
Galax 2014-2015 http://galax.xyz
MODE7GX3.TTF font by Galax 2014 - based on ModeSeven, created in 1998 by Andrew Bulhak
*/
/* Hard reset */
html,body,div,span,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,
address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,
sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,
tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,
footer,header,hgroup,menu,nav,output,section,summary,time,audio,video {
padding: 0;
margin: 0;
border: 0;
font-smooth: never;
-webkit-font-smoothing: none;
}
/*
Teletext palette
000000 0 black
ff0000 1 red
00ff00 2 green
ffff00 3 yellow
0000ff 4 blue
ff00ff 5 magenta
00ffff 6 cyan
ffffff 7 white
*/
a {
text-decoration: none;
}
/* unvisited link */
a:link {
color: #00ffff;
}
/* visited link */
a:visited {
color: #00ff00;
}
/* mouse over link */
a:hover {
color: #ffff00;
}
a.yellow:hover, .yellow a:hover {
color: #00ff00;
}
/* selected link */
a:active {
color: #ff0000;
}
a.yellow:active, .yellow a:active {
color: #ff0000;
}
a.red:active, .red a:active {
color: #ffff00;
}
/* flashing class, it's like the 'blink' tag is back */
.flashing {
animation: flashing 3s steps(5, start) infinite;
-webkit-animation: flashing 3s steps(5, start) infinite;
}
@keyframes flashing { to { visibility: hidden; } }
@-webkit-keyframes flashing { to { visibility: hidden; } }
/* concealed text is initially hidden, reveal by modifying class */
.conceal { opacity: 0; }
.colour0, .black, a.black, .black a {color: #000000;}
.colour1, .red, a.red, .red a {color: #ff0000;}
.colour2, .green, a.green, .green a {color: #00ff00;}
.colour3, .yellow, a.yellow, .yellow a {color: #ffff00;}
.colour4, .blue, a.blue, .blue a {color: #0000ff;}
.colour5, .magenta, a.magenta, .magenta a{color: #ff00ff;}
.colour6, .cyan, a.cyan, .cyan a {color: #00ffff;}
.colour7, .white, a.white, .white a {color: #ffffff;}
.colour0bg, .blackbg {background-color: #000000;}
.colour1bg, .redbg {background-color: #ff0000;}
.colour2bg, .greenbg {background-color: #00ff00;}
.colour3bg, .yellowbg {background-color: #ffff00;}
.colour4bg, .bluebg {background-color: #0000ff;}
.colour5bg, .magentabg {background-color: #ff00ff;}
.colour6bg, .cyanbg {background-color: #00ffff;}
.colour7bg, .whitebg {background-color: #ffffff;}
@font-face {
font-family: Mode7;
src: url('MODE7GX0.TTF'), url('MODE7GX0.EOT'); /* .EOT is for IE */
}
p.info {
padding-top: 20px
}
p.smalltext {
font-style: italic;
font-size: 18px;
padding-bottom: 18px;
line-height: 20px;
}
smalltext {
font-size: 18px;
padding-bottom: 18px;
line-height: 20px;
}
p.disclaimer {
font-style: italic;
font-size: 16px;
line-height: 18px;
}
h2 {
font-family: Mode7, monospace, courier, fixed;
font-size: 20px;
font-smooth: never;
-webkit-font-smoothing : none;
color: #ffff00;
background: #000000;
line-height: 20px;
border-bottom: solid 2px #00ff00;
}
h3 {
font-family: Mode7, monospace, courier, fixed;
font-size: 16px;
font-smooth: never;
-webkit-font-smoothing : none;
color: #00ffff;
background: #000000;
line-height: 28px;
}
body, td.teletext {
font-family: Mode7, monospace, courier, fixed;
font-size: 20px;
font-smooth: never;
-webkit-font-smoothing : none;
color: #ffffff;
background: #000000;
line-height: 20px;
}
.headerlogo {
font-family: Mode7, monospace, courier, fixed;
font-smooth: never;
-webkit-font-smoothing : none;
color: #ffffff;
background: #000000;
line-height: 13px;
text-align: left;
white-space: pre;
display: block;
font-size: 14px;
font-smooth: never;
-webkit-font-smoothing : none;
text-align: center;
}
body {
/*border-width: 20px 20px 20px 20px; /* t r b l */
padding: 10px;
}
.teletext {
text-align: left;
white-space: pre;
display: block;
/*font-size: 26px;*/
font-smooth: never;
-webkit-font-smoothing : none;
}
hr {
color: #f0f0f0;
border-style: dashed;
}
.doublesize {
line-height: 20px;
padding-top: 10px;
}