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