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