Rev 221 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 221 | Rev 235 | ||
---|---|---|---|
1 | <?php |
1 | <?php |
2 | @header('Last-Modified: ' . gmdate('D, d M Y H:i:s', @filemtime(__FILE__)) . ' GMT');
|
2 | @header('Last-Modified: ' . gmdate('D, d M Y H:i:s', @filemtime(__FILE__)) . ' GMT');
|
3 | 3 | ||
4 | /* Resource expires in HTTP/1.1 caches 24h after last retrieval */
|
4 | /* Resource expires in HTTP/1.1 caches 24h after last retrieval */
|
5 | @header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate');
|
5 | @header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate');
|
6 | 6 | ||
7 | /* Resource expires in HTTP/1.1 caches 24h after last retrieval */
|
7 | /* Resource expires in HTTP/1.1 caches 24h after last retrieval */
|
8 | @header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
|
8 | @header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
|
9 | 9 | ||
10 | @header('Content-Type: text/css; charset=UTF-8');
|
10 | @header('Content-Type: text/css; charset=UTF-8');
|
11 | ?>@charset "UTF-8"; |
11 | ?>@charset "UTF-8"; |
12 | 12 | ||
13 | /* Basic fonts */
|
13 | /* Basic fonts */
|
14 | 14 | ||
15 | @font-face {
|
15 | @font-face {
|
16 | font-family: LCARS; |
16 | font-family: LCARS; |
17 | font-style: normal; |
17 | font-style: normal; |
18 | font-weight: normal; |
18 | font-weight: normal; |
19 | src: local('LCARS'), |
19 | src: local('LCARS'), |
20 | url(/styles/fonts/LCARS.ttf), |
20 | url(/styles/fonts/LCARS.ttf), |
21 | url(/styles/fonts/LCARS.ttf.svg#LCARS) format('svg'), |
21 | url(/styles/fonts/LCARS.ttf.svg#LCARS) format('svg'), |
22 | url(/styles/fonts/LCARS.ttf.woff) format('woff'), |
22 | url(/styles/fonts/LCARS.ttf.woff) format('woff'), |
23 | url(/styles/fonts/LCARS.ttf.eot), |
23 | url(/styles/fonts/LCARS.ttf.eot), |
24 | url(/styles/fonts/LCARS.ttf.eot?#iefix) format('embedded-opentype'); |
24 | url(/styles/fonts/LCARS.ttf.eot?#iefix) format('embedded-opentype'); |
25 | }
|
25 | }
|
26 | 26 | ||
27 | /* EOT font created with WEFT on 2002-03-23 */
|
27 | /* EOT font created with WEFT on 2002-03-23 */
|
28 | @font-face {
|
28 | @font-face {
|
29 | font-family: "Downloadable Haettenschweiler"; |
29 | font-family: "Downloadable Haettenschweiler"; |
30 | font-style: normal; |
30 | font-style: normal; |
31 | font-weight: normal; |
31 | font-weight: normal; |
32 | src: url(/styles/fonts/HAETTEN0.eot), |
32 | src: url(/styles/fonts/HAETTEN0.eot), |
33 | url(/styles/fonts/HAETTENS.ttf); |
33 | url(/styles/fonts/HAETTENS.ttf); |
34 | }
|
34 | }
|
35 | 35 | ||
36 | /*
|
36 | /*
|
37 | @font-face {
|
37 | @font-face {
|
38 | font-family:Webdings;
|
38 | font-family:Webdings;
|
39 | font-style:normal;
|
39 | font-style:normal;
|
40 | font-weight:normal;
|
40 | font-weight:normal;
|
41 | src:url(/styles/fonts/WEBDING0.eot);
|
41 | src:url(/styles/fonts/WEBDING0.eot);
|
42 | }
|
42 | }
|
43 | */
|
43 | */
|
44 | 44 | ||
45 | @font-face {
|
45 | @font-face {
|
46 | font-family: "Downloadable Zurich XCn BT"; |
46 | font-family: "Downloadable Zurich XCn BT"; |
47 | font-style: normal; |
47 | font-style: normal; |
48 | font-weight: normal; |
48 | font-weight: normal; |
49 | src: url(/styles/fonts/ZurichXCn.pfr); |
49 | src: url(/styles/fonts/ZurichXCn.pfr); |
50 | }
|
50 | }
|
51 | 51 | ||
52 | /* Basic display */
|
52 | /* Basic display */
|
53 | 53 | ||
54 | * { |
54 | * { |
55 | font-family: "LCARS", |
55 | font-family: "LCARS", |
56 | Haettenschweiler, "Downloadable Haettenschweiler", |
56 | Haettenschweiler, "Downloadable Haettenschweiler", |
57 | "Zurich XCn BT", "Downloadable Zurich XCn BT", |
57 | "Zurich XCn BT", "Downloadable Zurich XCn BT", |
58 | impact, Verdana, Geneva, Arial, Helvetica, sans-serif; |
58 | impact, Verdana, Geneva, Arial, Helvetica, sans-serif; |
59 | font-weight: normal; |
59 | font-weight: normal; |
60 | }
|
60 | }
|
61 | 61 | ||
62 | html, body { |
62 | html, body { |
63 | -webkit-font-smoothing: antialiased; |
63 | -webkit-font-smoothing: antialiased; |
64 | }
|
64 | }
|
65 | 65 | ||
66 | html {
|
66 | html {
|
67 | background-color: #000; |
67 | background-color: #000; |
68 | color: #99f; |
68 | color: #99f; |
69 | }
|
69 | }
|
70 | 70 | ||
71 | body {
|
71 | body {
|
72 | background-color: #000; |
72 | background-color: #000; |
73 | color: #99f; |
73 | color: #99f; |
74 | font-size: 131%; |
74 | font-size: 131%; |
75 | overflow: auto; |
75 | overflow: auto; |
76 | }
|
76 | }
|
77 | 77 | ||
78 | /* WebCore */
|
78 | /* WebCore */
|
79 | ::selection { |
79 | ::selection { |
80 | background-color: #f90; |
80 | background-color: #f90; |
81 | color: #000; |
81 | color: #000; |
82 | }
|
82 | }
|
83 | 83 | ||
84 | /* Gecko */
|
84 | /* Gecko */
|
85 | ::-moz-selection { |
85 | ::-moz-selection { |
86 | background-color: #f90; |
86 | background-color: #f90; |
87 | color: #000; |
87 | color: #000; |
88 | }
|
88 | }
|
89 | 89 | ||
90 | body.empty { |
90 | body.empty { |
91 | margin-top: 2.4em; |
91 | margin-top: 2.4em; |
92 | margin-left: 0.2em; |
92 | margin-left: 0.2em; |
93 | margin-bottom: 2.5em; |
93 | margin-bottom: 3em; |
94 | }
|
94 | }
|
95 | 95 | ||
96 | #content { |
96 | #content { |
97 | margin: 0; |
97 | margin: 0; |
98 | margin-right: 1em; |
98 | margin-right: 1em; |
99 | }
|
99 | }
|
100 | 100 | ||
101 | .empty #content { |
101 | .empty #content { |
102 | margin: 0 2.5em; |
102 | margin: 0 2.5em; |
103 | }
|
103 | }
|
104 | 104 | ||
105 | a {
|
105 | a {
|
106 | text-decoration: none; |
106 | text-decoration: none; |
107 | }
|
107 | }
|
108 | 108 | ||
109 | a:link:hover, |
109 | a:link:hover, |
110 | a:link:focus |
110 | a:link:focus |
111 | {
|
111 | {
|
112 | /* background-color:#000; */
|
112 | /* background-color:#000; */
|
113 | color: #f90; |
113 | color: #f90; |
114 | }
|
114 | }
|
115 | 115 | ||
116 | a:link:active { |
116 | a:link:active { |
117 | /* background-color:#000; */
|
117 | /* background-color:#000; */
|
118 | color: #fff; |
118 | color: #fff; |
119 | }
|
119 | }
|
120 | 120 | ||
121 | a:link { |
121 | a:link { |
122 | /* background-color:#000; */
|
122 | /* background-color:#000; */
|
123 | color: #fc9; |
123 | color: #fc9; |
124 | }
|
124 | }
|
125 | 125 | ||
126 | a:visited:hover, |
126 | a:visited:hover, |
127 | a:visited:focus |
127 | a:visited:focus |
128 | {
|
128 | {
|
129 | /* background-color:#000; */
|
129 | /* background-color:#000; */
|
130 | color: #f90; |
130 | color: #f90; |
131 | }
|
131 | }
|
132 | 132 | ||
133 | a:visited:active { |
133 | a:visited:active { |
134 | /* background-color: #000; */
|
134 | /* background-color: #000; */
|
135 | color: #fff; |
135 | color: #fff; |
136 | }
|
136 | }
|
137 | 137 | ||
138 | a:hover, |
138 | a:hover, |
139 | a:focus, |
139 | a:focus, |
140 | a:active
|
140 | a:active
|
141 | {
|
141 | {
|
142 | text-decoration: underline; |
142 | text-decoration: underline; |
143 | }
|
143 | }
|
144 | 144 | ||
145 | a:visited { |
145 | a:visited { |
146 | /* background-color: #000; */
|
146 | /* background-color: #000; */
|
147 | color: #c9c; |
147 | color: #c9c; |
148 | }
|
148 | }
|
149 | 149 | ||
150 | h2 {
|
150 | h2 {
|
151 | background-color: #000; |
151 | background-color: #000; |
152 | color: #fff; |
152 | color: #fff; |
153 | font-size: 136%; |
153 | font-size: 136%; |
154 | }
|
154 | }
|
155 | 155 | ||
156 | p {
|
156 | p {
|
157 | margin-top: 1em; |
157 | margin-top: 1em; |
158 | margin-bottom: 0; |
158 | margin-bottom: 0; |
159 | line-height: 1.5; |
159 | line-height: 1.2; |
160 | text-align: justify; |
160 | text-align: justify; |
161 | }
|
161 | }
|
162 | 162 | ||
163 | li p {
|
163 | li p {
|
164 | line-height: normal; |
164 | line-height: normal; |
165 | }
|
165 | }
|
166 | 166 | ||
167 | p:first-child { |
167 | p:first-child { |
168 | margin-top: 0; |
168 | margin-top: 0; |
169 | }
|
169 | }
|
170 | 170 | ||
171 | .instruction { |
171 | .instruction { |
172 | background-color: #000; |
172 | background-color: #000; |
173 | color: #f90; |
173 | color: #f90; |
174 | font-size: 136%; |
174 | font-size: 136%; |
175 | }
|
175 | }
|
176 | 176 | ||
177 | .offline { |
177 | .offline { |
178 | background-color: #000; |
178 | background-color: #000; |
179 | color: #f00; |
179 | color: #f00; |
180 | }
|
180 | }
|
181 | 181 | ||
182 | .unavailable { |
182 | .unavailable { |
183 | background-color: #000; |
183 | background-color: #000; |
184 | color: #39f; |
184 | color: #39f; |
185 | }
|
185 | }
|
186 | 186 | ||
187 | [title] |
187 | [title] |
188 | {
|
188 | {
|
189 | cursor: help; |
189 | cursor: help; |
190 | }
|
190 | }
|
191 | 191 | ||
192 | /* Language support */
|
192 | /* Language support */
|
193 | 193 | ||
194 | /* Languages where character case matters */
|
194 | /* Languages where character case matters */
|
195 | [lang^="tlh-Latn"], |
- | |
196 | [lang^="tlh-Latn"] * { |
- | |
197 | text-transform: none !important; |
- | |
198 | }
|
195 | |
- | 196 | /* Klingon pIqaD needs extra font; support moved to lcars-klingon.css */
|
|
199 | 197 | ||
200 | /* Vulcan */
|
198 | /* Vulcan */
|
- | 199 | .button[lang^="vuh"] .text { |
|
- | 200 | text-overflow: "—" !important; |
|
- | 201 | }
|
|
- | 202 | ||
201 | #greeting [lang^="vuh-Latn"] { |
203 | #greeting [lang^="vuh-Latn"] { |
202 | font-family: "URW Chancery L", "Matura MT Script Capitals", |
204 | font-family: "URW Chancery L", "Matura MT Script Capitals", |
203 | Haettenschweiler, Haettens, "Zurich XCn BT", impact, Verdana, |
205 | Haettenschweiler, Haettens, "Zurich XCn BT", impact, Verdana, |
204 | Geneva, Arial, Helvetica, sans-serif; |
206 | Geneva, Arial, Helvetica, sans-serif; |
205 | }
|
207 | }
|
206 | 208 | ||
- | 209 | [lang^="vuh-Media"], |
|
207 | .button[lang^="vuh"] .text { |
210 | [lang^="vuh-Media"] *, |
- | 211 | [lang^="vuh-Media"] > *, |
|
- | 212 | [lang^="vuh-Media"] #bow-top .text span |
|
- | 213 | {
|
|
208 | text-overflow: "—" !important; |
214 | text-transform: none !important; |
209 | }
|
215 | }
|
210 | 216 |