Rev 111 | Rev 117 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 111 | Rev 116 | ||
---|---|---|---|
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 | /* Do not let resource be cached in HTTP/1.1 caches */
|
4 | /* Resource expires in HTTP/1.1 caches 24h after last retrieval */
|
5 | \header('Cache-Control: max-age=0, s-maxage=0, must-revalidate, proxy-revalidate'); |
5 | header('Cache-Control: max-age=0, s-maxage=86400, must-revalidate, proxy-revalidate'); |
6 | 6 | ||
7 | /* Do not let resource be cached in HTTP/1.0 caches */
|
7 | /* Resource expires in HTTP/1.1 caches 24h after last retrieval */
|
8 | \header('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' 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"), url(fonts/LCARS.ttf); |
19 | src: local("LCARS"), url(fonts/LCARS.ttf); |
20 | }
|
20 | }
|
21 | 21 | ||
22 | /* EOT font created with WEFT on 2002-03-23 */
|
22 | /* EOT font created with WEFT on 2002-03-23 */
|
23 | @font-face {
|
23 | @font-face {
|
24 | font-family: "Downloadable Haettenschweiler"; |
24 | font-family: "Downloadable Haettenschweiler"; |
25 | font-style: normal; |
25 | font-style: normal; |
26 | font-weight: normal; |
26 | font-weight: normal; |
27 | src: url(fonts/HAETTEN0.eot), url(fonts/HAETTENS.ttf); |
27 | src: url(fonts/HAETTEN0.eot), url(fonts/HAETTENS.ttf); |
28 | }
|
28 | }
|
29 | 29 | ||
30 | /*
|
30 | /*
|
31 | @font-face {
|
31 | @font-face {
|
32 | font-family:Webdings;
|
32 | font-family:Webdings;
|
33 | font-style:normal;
|
33 | font-style:normal;
|
34 | font-weight:normal;
|
34 | font-weight:normal;
|
35 | src:url(fonts/WEBDING0.eot);
|
35 | src:url(fonts/WEBDING0.eot);
|
36 | }
|
36 | }
|
37 | */
|
37 | */
|
38 | 38 | ||
39 | @font-face {
|
39 | @font-face {
|
40 | font-family: "Downloadable Zurich XCn BT"; |
40 | font-family: "Downloadable Zurich XCn BT"; |
41 | font-style: normal; |
41 | font-style: normal; |
42 | font-weight: normal; |
42 | font-weight: normal; |
43 | src: url(fonts/ZurichXCn.pfr); |
43 | src: url(fonts/ZurichXCn.pfr); |
44 | }
|
44 | }
|
45 | 45 | ||
46 | /* Basic display */
|
46 | /* Basic display */
|
47 | 47 | ||
48 | * { |
48 | * { |
49 | font-family: "LCARS", |
49 | font-family: "LCARS", |
50 | Haettenschweiler, "Downloadable Haettenschweiler", |
50 | Haettenschweiler, "Downloadable Haettenschweiler", |
51 | "Zurich XCn BT", "Downloadable Zurich XCn BT", |
51 | "Zurich XCn BT", "Downloadable Zurich XCn BT", |
52 | impact, Verdana, Geneva, Arial, Helvetica, sans-serif; |
52 | impact, Verdana, Geneva, Arial, Helvetica, sans-serif; |
53 | font-weight: normal; |
53 | font-weight: normal; |
54 | }
|
54 | }
|
55 | 55 | ||
56 | html {
|
56 | html {
|
57 | background-color: #000; |
57 | background-color: #000; |
58 | color: #99f; |
58 | color: #99f; |
59 | }
|
59 | }
|
60 | 60 | ||
61 | body {
|
61 | body {
|
62 | background-color: #000; |
62 | background-color: #000; |
63 | color: #99f; |
63 | color: #99f; |
64 | font-size: 131%; |
64 | font-size: 131%; |
65 | overflow: auto; |
65 | overflow: auto; |
66 | }
|
66 | }
|
67 | 67 | ||
68 | body.empty { |
68 | body.empty { |
69 | margin-top: 2.4em; |
69 | margin-top: 2.4em; |
70 | margin-left: 0.2em; |
70 | margin-left: 0.2em; |
71 | margin-bottom: 2.5em; |
71 | margin-bottom: 2.5em; |
72 | }
|
72 | }
|
73 | 73 | ||
74 | body.multi { |
- | |
75 | /* TODO from lcars21.css, use `em' instead */
|
- | |
76 | }
|
- | |
77 | - | ||
78 | #content { |
74 | #content { |
79 | margin: 0; |
75 | margin: 0; |
80 | margin-right: 1em; |
76 | margin-right: 1em; |
81 | }
|
77 | }
|
82 | 78 | ||
83 | .empty #content { |
79 | .empty #content { |
84 | margin: 0 2.5em; |
80 | margin: 0 2.5em; |
85 | }
|
81 | }
|
86 | 82 | ||
87 | a {
|
83 | a {
|
88 | text-decoration: none; |
84 | text-decoration: none; |
89 | }
|
85 | }
|
90 | 86 | ||
91 | a:link:hover, |
87 | a:link:hover, |
92 | a:link:focus |
88 | a:link:focus |
93 | {
|
89 | {
|
94 | /* background-color:#000; */
|
90 | /* background-color:#000; */
|
95 | color: #f90; |
91 | color: #f90; |
96 | }
|
92 | }
|
97 | 93 | ||
98 | a:link:active { |
94 | a:link:active { |
99 | /* background-color:#000; */
|
95 | /* background-color:#000; */
|
100 | color: #fff; |
96 | color: #fff; |
101 | }
|
97 | }
|
102 | 98 | ||
103 | a:link { |
99 | a:link { |
104 | /* background-color:#000; */
|
100 | /* background-color:#000; */
|
105 | color: #fc9; |
101 | color: #fc9; |
106 | }
|
102 | }
|
107 | 103 | ||
108 | a:visited:hover, |
104 | a:visited:hover, |
109 | a:visited:focus |
105 | a:visited:focus |
110 | {
|
106 | {
|
111 | /* background-color:#000; */
|
107 | /* background-color:#000; */
|
112 | color: #f90; |
108 | color: #f90; |
113 | }
|
109 | }
|
114 | 110 | ||
115 | a:visited:active { |
111 | a:visited:active { |
116 | /* background-color: #000; */
|
112 | /* background-color: #000; */
|
117 | color: #fff; |
113 | color: #fff; |
118 | }
|
114 | }
|
119 | 115 | ||
120 | a:hover, |
116 | a:hover, |
121 | a:focus, |
117 | a:focus, |
122 | a:active
|
118 | a:active
|
123 | {
|
119 | {
|
124 | text-decoration: underline; |
120 | text-decoration: underline; |
125 | }
|
121 | }
|
126 | 122 | ||
127 | a:visited { |
123 | a:visited { |
128 | /* background-color: #000; */
|
124 | /* background-color: #000; */
|
129 | color: #c9c; |
125 | color: #c9c; |
130 | }
|
126 | }
|
131 | 127 | ||
132 | h2 {
|
128 | h2 {
|
133 | background-color: #000; |
129 | background-color: #000; |
134 | color: #fff; |
130 | color: #fff; |
135 | font-size: 136%; |
131 | font-size: 136%; |
136 | }
|
132 | }
|
137 | 133 | ||
138 | p {
|
134 | p {
|
139 | margin-top: 1em; |
135 | margin-top: 1em; |
140 | margin-bottom: 0; |
136 | margin-bottom: 0; |
141 | line-height: 1.5; |
137 | line-height: 1.5; |
142 | text-align: justify; |
138 | text-align: justify; |
143 | }
|
139 | }
|
144 | 140 | ||
145 | li p {
|
141 | li p {
|
146 | line-height: normal; |
142 | line-height: normal; |
147 | }
|
143 | }
|
148 | 144 | ||
149 | p:first-child { |
145 | p:first-child { |
150 | margin-top: 0; |
146 | margin-top: 0; |
151 | }
|
147 | }
|
152 | 148 | ||
153 | .instruction { |
149 | .instruction { |
154 | background-color: #000; |
150 | background-color: #000; |
155 | color: #f90; |
151 | color: #f90; |
156 | font-size: 136%; |
152 | font-size: 136%; |
157 | }
|
153 | }
|
158 | 154 | ||
159 | [title] |
155 | [title] |
160 | {
|
156 | {
|
161 | cursor: help; |
157 | cursor: help; |
162 | }
|
158 | }
|
163 | 159 | ||
164 | /* Language support */
|
160 | /* Language support */
|
165 | 161 | ||
166 | [lang^="x-vulcan-latin"] { |
162 | [lang^="x-vulcan-latin"] { |
167 | font-family: "URW Chancery L", "Matura MT Script Capitals", |
163 | font-family: "URW Chancery L", "Matura MT Script Capitals", |
168 | Haettenschweiler, Haettens, "Zurich XCn BT", impact, Verdana, |
164 | Haettenschweiler, Haettens, "Zurich XCn BT", impact, Verdana, |
169 | Geneva, Arial, Helvetica, sans-serif; |
165 | Geneva, Arial, Helvetica, sans-serif; |
170 | }
|
- | |
171 | - | ||
172 | /* HTML5 elements */
|
- | |
173 | - | ||
174 | nav |
- | |
175 | {
|
- | |
176 | display: block; |
- | |
177 | }
|
166 | }
|
178 | 167 |