| @@ -1,81 +1,295 @@ |
| 1 | :root { |
| 2 | --bg: #0a0b10; |
| 3 | --green: #00ff9d; |
| 4 | --green-dim: rgba(0, 255, 157, 0.2); |
| 5 | --glass: rgba(0, 255, 157, 0.03); |
| 6 | --text: #c0fce6; |
| 7 | --font: "Lucida Console", "Monaco", "Consolas", monospace; |
| 8 | --emacs-blue: #51afef; |
| 9 | --emacs-bg: #1c1f24; |
| 10 | } |
| 11 | |
| 12 | /* Base Terminal Environment */ |
| 13 | html, body { |
| 14 | height: 100%; |
| 15 | margin: 0; |
| 16 | padding: 0; |
| 17 | background-color: var(--bg); |
| 18 | } |
| 19 | |
| 1 | 20 | body { |
| 2 | | font-family: Menlo, Consolas, Monaco, Adwaita Mono, Liberation Mono, Lucida Console, monospace; |
| 3 | | font-size: 0.85rem; |
| 21 | color: var(--text); |
| 22 | font-family: var(--font); |
| 4 | 23 | line-height: 1.5; |
| 5 | | margin: 0 auto; |
| 6 | | max-width: 50em; |
| 24 | display: flex; |
| 25 | flex-direction: column; |
| 26 | align-items: center; |
| 27 | overflow: hidden; /* Desktop keeps terminal-shell fixed */ |
| 7 | 28 | } |
| 8 | 29 | |
| 9 | | body { |
| 10 | | padding: 1rem; |
| 30 | img { |
| 31 | max-width: 100%; |
| 11 | 32 | } |
| 12 | 33 | |
| 13 | | footer { |
| 14 | | margin: 1rem 0; |
| 34 | /* CRT Scanline Effect */ |
| 35 | .scanlines { |
| 36 | position: fixed; |
| 37 | top: 0; left: 0; width: 100%; height: 100%; |
| 38 | background: linear-gradient( |
| 39 | rgba(18, 16, 16, 0) 50%, |
| 40 | rgba(0, 0, 0, 0.15) 50% |
| 41 | ); |
| 42 | background-size: 100% 4px; |
| 43 | z-index: 9999; |
| 44 | pointer-events: none; |
| 15 | 45 | } |
| 16 | 46 | |
| 17 | | nav { |
| 18 | | align-items: center; |
| 47 | .terminal-shell { |
| 48 | width: 95%; |
| 49 | max-width: 1000px; |
| 50 | height: 98vh; |
| 19 | 51 | display: flex; |
| 20 | | justify-content: space-around; |
| 21 | | margin: 1rem 0; |
| 52 | flex-direction: column; |
| 53 | padding: 10px 0; |
| 54 | } |
| 55 | |
| 56 | main { |
| 57 | flex: 1; |
| 58 | overflow-y: auto; |
| 59 | margin: 10px 0; |
| 60 | scrollbar-width: thin; |
| 61 | scrollbar-color: var(--green) transparent; |
| 62 | } |
| 63 | |
| 64 | /* Navigation & Header */ |
| 65 | .system-header { |
| 66 | border-bottom: 1px solid var(--green-dim); |
| 67 | padding-bottom: 0.5rem; |
| 68 | margin-bottom: 1.5rem; |
| 69 | display: flex; |
| 70 | justify-content: space-between; |
| 71 | align-items: center; |
| 72 | font-size: 0.8rem; |
| 22 | 73 | } |
| 23 | 74 | |
| 24 | 75 | nav ul { |
| 76 | list-style: none; |
| 25 | 77 | display: flex; |
| 26 | | list-style-type: none; |
| 78 | gap: 1.5rem; |
| 27 | 79 | margin: 0; |
| 28 | 80 | padding: 0; |
| 29 | | width: 100%; |
| 30 | 81 | } |
| 31 | 82 | |
| 32 | | nav ul li { |
| 33 | | height: 100%; |
| 34 | | margin-bottom: 0.5rem; |
| 83 | nav a { |
| 84 | color: var(--green); |
| 85 | text-decoration: none; |
| 86 | text-transform: uppercase; |
| 87 | } |
| 88 | |
| 89 | nav a:hover { |
| 90 | text-shadow: 0 0 8px var(--green); |
| 91 | background: var(--green-dim); |
| 92 | } |
| 93 | |
| 94 | /* Content Pane (The Glass) */ |
| 95 | .glass-pane { |
| 96 | background: var(--glass); |
| 97 | backdrop-filter: blur(4px); |
| 98 | border: 1px solid var(--green-dim); |
| 99 | padding: 1.5rem; |
| 100 | min-height: 100%; |
| 101 | box-sizing: border-box; |
| 102 | } |
| 103 | |
| 104 | /* Stylized Data Blocks */ |
| 105 | .sys-readout { |
| 106 | border: 1px solid var(--green-dim); |
| 107 | background: rgba(0, 0, 0, 0.3); |
| 108 | padding: 1rem; |
| 109 | margin-bottom: 2rem; |
| 110 | font-size: 0.85rem; |
| 111 | display: grid; |
| 112 | grid-template-columns: auto 1fr; |
| 113 | gap: 0.5rem 1rem; |
| 114 | } |
| 115 | |
| 116 | .sys-readout b { |
| 117 | color: var(--green); |
| 118 | text-transform: uppercase; |
| 119 | opacity: 0.7; |
| 120 | } |
| 121 | |
| 122 | /* Typography & Elements */ |
| 123 | h1, h2, h3 { |
| 124 | color: var(--green); |
| 125 | text-transform: uppercase; |
| 126 | letter-spacing: 2px; |
| 127 | } |
| 128 | |
| 129 | a { |
| 130 | color: var(--green); |
| 131 | transition: 0.2s; |
| 132 | text-decoration-thickness: 1px; |
| 133 | text-underline-offset: 3px; |
| 134 | } |
| 135 | |
| 136 | a:hover { |
| 137 | color: #fff; |
| 138 | text-shadow: 0 0 5px var(--green); |
| 139 | } |
| 140 | |
| 141 | code { |
| 142 | background: var(--green-dim); |
| 143 | padding: 2px 4px; |
| 144 | color: #fff; |
| 145 | } |
| 146 | |
| 147 | /* Blockquotes: Emacs Style */ |
| 148 | blockquote { |
| 149 | background: var(--emacs-bg); |
| 150 | border-left: 4px solid var(--emacs-blue); |
| 151 | margin: 1.5rem 0; |
| 152 | padding: 1rem; |
| 153 | color: #bbc2cf; |
| 154 | font-style: italic; |
| 155 | position: relative; |
| 156 | } |
| 157 | |
| 158 | blockquote::before { |
| 159 | content: "/* COMMENT */"; |
| 160 | position: absolute; |
| 161 | top: -10px; |
| 162 | right: 10px; |
| 163 | font-size: 0.6rem; |
| 164 | color: var(--emacs-blue); |
| 165 | background: var(--bg); |
| 166 | padding: 0 5px; |
| 167 | } |
| 168 | |
| 169 | /* Blog List */ |
| 170 | .post { |
| 171 | margin: 0.5rem 0; |
| 172 | padding: 5px; |
| 173 | border-bottom: 1px dashed rgba(0, 255, 157, 0.1); |
| 174 | } |
| 175 | |
| 176 | .post time { |
| 177 | color: var(--green); |
| 178 | opacity: 0.6; |
| 179 | font-size: 0.8rem; |
| 35 | 180 | margin-right: 1rem; |
| 36 | | text-align: center; |
| 37 | 181 | } |
| 38 | 182 | |
| 39 | | img { |
| 40 | | max-width: 100%; |
| 183 | .post a::before { |
| 184 | content: "DIR_ "; |
| 185 | font-size: 0.7rem; |
| 186 | opacity: 0.5; |
| 41 | 187 | } |
| 42 | 188 | |
| 189 | /* Code Blocks */ |
| 43 | 190 | pre { |
| 44 | | border: 1px solid black; |
| 45 | | overflow: scroll; |
| 46 | | padding: 0.5rem; |
| 191 | background: var(--emacs-bg); |
| 192 | border: 1px solid #3e4451; |
| 193 | border-left: 4px solid var(--emacs-blue); |
| 194 | padding: 1rem; |
| 195 | overflow-x: auto; |
| 196 | position: relative; |
| 197 | margin: 1.5rem 0; |
| 47 | 198 | } |
| 48 | 199 | |
| 49 | | :not(pre) > code { |
| 50 | | color: red; |
| 200 | pre::before { |
| 201 | content: "-uuu:--- F1 buffer.txt All (1,0)"; |
| 202 | display: block; |
| 203 | background: #282c34; |
| 204 | color: #bbc2cf; |
| 205 | font-size: 0.7rem; |
| 206 | margin: -1rem -1rem 1rem -1rem; |
| 207 | padding: 4px 10px; |
| 208 | border-bottom: 1px solid #3e4451; |
| 209 | opacity: 0.7; |
| 51 | 210 | } |
| 52 | 211 | |
| 53 | | .skip-link { |
| 54 | | height: 1px; |
| 55 | | left: -10000px; |
| 56 | | overflow: hidden; |
| 57 | | position: absolute; |
| 58 | | top: auto; |
| 59 | | width: 1px; |
| 212 | /* Tables */ |
| 213 | .table-wrapper { |
| 214 | width: 100%; |
| 215 | overflow-x: auto; |
| 216 | margin: 2rem 0; |
| 60 | 217 | } |
| 61 | 218 | |
| 62 | | .skip-link:focus { |
| 63 | | height: auto; |
| 64 | | position: static; |
| 65 | | width: auto; |
| 219 | table { |
| 220 | width: 100%; |
| 221 | border-collapse: collapse; |
| 222 | font-size: 0.85rem; |
| 223 | background: rgba(0, 0, 0, 0.2); |
| 66 | 224 | } |
| 67 | 225 | |
| 68 | | @media (prefers-color-scheme: dark) { |
| 69 | | body { |
| 70 | | background-color: #000000; |
| 71 | | color: #dfdfdf; |
| 72 | | } |
| 226 | th { |
| 227 | background: var(--green-dim); |
| 228 | color: var(--green); |
| 229 | text-transform: uppercase; |
| 230 | text-align: left; |
| 231 | padding: 12px; |
| 232 | border-bottom: 1px solid var(--green); |
| 233 | } |
| 234 | |
| 235 | td { |
| 236 | padding: 10px; |
| 237 | border-bottom: 1px solid rgba(0, 255, 157, 0.1); |
| 238 | color: var(--text); |
| 239 | border-right: 1px solid rgba(0, 255, 157, 0.05); |
| 240 | } |
| 241 | |
| 242 | table, thead, tbody, th, tr, td { |
| 243 | border: 1px solid var(--green-dim); |
| 244 | } |
| 73 | 245 | |
| 74 | | a { |
| 75 | | color: #67c0ff; |
| 76 | | } |
| 246 | td:last-child { border-right: none; } |
| 77 | 247 | |
| 78 | | pre { |
| 79 | | border-color: white; |
| 80 | | } |
| 248 | /* Footer & Status Bar */ |
| 249 | footer { |
| 250 | margin-top: auto; |
| 251 | font-size: 0.7rem; |
| 252 | } |
| 253 | |
| 254 | .system-log { |
| 255 | border-top: 2px solid var(--green); |
| 256 | background: linear-gradient(to bottom, rgba(0,255,157,0.05), transparent); |
| 257 | padding: 10px; |
| 81 | 258 | } |
| 259 | |
| 260 | .log-entry { font-size: 0.7rem; line-height: 1.4; color: var(--green); } |
| 261 | |
| 262 | .status-bar { |
| 263 | background: var(--green); |
| 264 | color: var(--bg); |
| 265 | padding: 4px 12px; |
| 266 | display: flex; |
| 267 | justify-content: space-between; |
| 268 | font-weight: bold; |
| 269 | } |
| 270 | |
| 271 | /* Fix for Footer Link Visibility */ |
| 272 | .status-bar a { |
| 273 | color: #000; /* High contrast black on green bar */ |
| 274 | text-decoration: underline; |
| 275 | font-weight: 900; |
| 276 | } |
| 277 | |
| 278 | .status-bar a:hover { |
| 279 | background: #000; |
| 280 | color: var(--green); |
| 281 | } |
| 282 | |
| 283 | .status-node::before { |
| 284 | content: "● NORMAL "; |
| 285 | background: #000; |
| 286 | color: var(--green); |
| 287 | padding: 0 8px; |
| 288 | margin-right: 10px; |
| 289 | } |
| 290 | |
| 291 | @media (max-width: 600px) { |
| 292 | body { overflow-y: auto; } |
| 293 | .terminal-shell { height: auto; } |
| 294 | .system-header { flex-direction: column; gap: 1rem; } |
| 295 | } |
| \ No newline at end of file |