1/* 2 * Hacker Style CSS 3 */ 4 5html { 6 overflow-x: auto; 7 overflow-y: scroll; 8} 9 10html, 11body { 12 background-color: __background__; 13 color: __text__; 14 margin: 0; 15 padding: 0; 16} 17 18body { 19 font: 20 'Courier New', 21 Courier, 22 monospace; 23 -webkit-text-size-adjust: 100%; 24} 25 26/*____________ HEADERS ____________*/ 27 28h1, 29h2, 30h3, 31h4, 32h5, 33h6 { 34 font-weight: bold; 35 color: __text_neu__; 36 background-color: inherit; 37 padding: 0; 38 line-height: 1.2; 39 clear: left; 40 text-shadow: 0 0 5px __background_neu__; 41} 42 43[dir="rtl"] h1, 44[dir="rtl"] h2, 45[dir="rtl"] h3, 46[dir="rtl"] h4, 47[dir="rtl"] h5, 48[dir="rtl"] h6 { 49 clear: right; 50} 51 52h1 { 53 font-size: 2.25em; 54 margin: 0 0 0.444em; 55} 56 57h2 { 58 font-size: 1.5em; 59 margin: 0 0 0.666em; 60} 61 62h3 { 63 font-size: 1.125em; 64 margin: 0 0 0.888em; 65} 66 67h4 { 68 font-size: 1em; 69 margin: 0 0 1em; 70} 71 72h5 { 73 font-size: 0.875em; 74 margin: 0 0 1.1428em; 75} 76 77h6 { 78 font-size: 0.75em; 79 margin: 0 0 1.333em; 80} 81 82caption, 83figcaption, 84summary, 85legend { 86 font-style: italic; 87 font-weight: normal; 88 line-height: 1.2; 89 padding: 0; 90 margin: 0 0 0.35em; 91} 92 93/*____________ Basic margins and paddings ____________*/ 94 95p, 96ul, 97ol, 98dl, 99pre, 100table, 101hr, 102blockquote, 103figure, 104details, 105fieldset, 106address { 107 margin: 0 0 1.4em 0; 108 padding: 0; 109} 110 111div { 112 margin: 0; 113 padding: 0; 114} 115 116/*____________ LISTS ____________*/ 117 118ul, 119ol { 120 padding: 0 0 0 1.5em; 121} 122 123[dir="rtl"] ul, 124[dir="rtl"] ol { 125 padding: 0 1.5em 0 0; 126} 127 128li, 129dd { 130 padding: 0; 131 margin: 0 0 0 1.5em; 132} 133 134[dir="rtl"] li, 135[dir="rtl"] dd { 136 margin: 0 1.5em 0 0; 137} 138 139dt { 140 font-weight: bold; 141 margin: 0; 142 padding: 0; 143} 144 145li ul, 146li ol, 147li dl, 148dl ul, 149dl ol, 150dl dl { 151 margin-bottom: 0; 152 padding: 0; 153} 154 155li li { 156 font-size: 100%; 157} 158 159ul { 160 list-style: disc outside; 161} 162 163ol { 164 list-style: decimal outside; 165} 166 167ol ol { 168 list-style-type: lower-alpha; 169} 170 171ol ol ol { 172 list-style-type: upper-roman; 173} 174 175ol ol ol ol { 176 list-style-type: upper-alpha; 177} 178 179ol ol ol ol ol { 180 list-style-type: lower-roman; 181} 182 183/*____________ TABLES ____________*/ 184 185table { 186 border-collapse: collapse; 187 empty-cells: show; 188 border-spacing: 0; 189 color: __border__; 190 box-shadow: 0 0 10px __background_neu__; 191} 192 193caption { 194 caption-side: top; 195 text-align: left; 196} 197 198[dir="rtl"] caption { 199 text-align: right; 200} 201 202th, 203td { 204 padding: 0.3em 0.5em; 205 margin: 0; 206 vertical-align: top; 207 border: 1px solid __border__; 208} 209 210th { 211 font-weight: bold; 212 background-color: __background_alt__; 213 color: inherit; 214 text-align: left; 215} 216 217[dir="rtl"] th { 218 text-align: right; 219} 220 221/*____________ LINKS ____________*/ 222a { 223 text-decoration: underline; 224} 225 226a:link, 227a:visited { 228 color: __link__; 229} 230 231a:link:hover, 232a:visited:hover, 233a:link:focus, 234a:visited:focus, 235a:link:active, 236a:visited:active { 237 text-decoration: underline; 238} 239 240a:link:focus, 241a:visited:focus { 242 outline: 1px dotted; 243} 244 245a:link:active, 246a:visited:active { 247 color: #c00; 248} 249 250/*____________ MISC ____________*/ 251img, 252svg { 253 border-width: 0; 254 vertical-align: middle; 255 color: __text__; 256 background-color: transparent; 257 font-style: italic; 258} 259 260img, 261svg, 262object, 263embed, 264iframe, 265video, 266audio { 267 max-width: 100%; 268} 269 270img, 271svg, 272video { 273 height: auto; 274} 275 276iframe { 277 border-width: 0; 278 background-color: inherit; 279} 280 281button img, 282button svg { 283 max-width: none; 284} 285 286hr { 287 border-style: solid; 288 border-width: 1px 0 0; 289 text-align: center; 290 height: 0; 291 width: 100%; 292 clear: both; 293} 294 295acronym, 296abbr { 297 font-style: normal; 298} 299 300acronym[title], 301abbr[title] { 302 cursor: help; 303 border-bottom: 1px dotted; 304 text-decoration: none; 305} 306 307em acronym, 308em abbr { 309 font-style: italic; 310} 311 312mark { 313 background: __highlight__; 314 color: inherit; 315} 316 317pre, 318code, 319samp, 320kbd { 321 font-family: 'Courier New', Courier, monospace; 322 font-size: 1em; 323 background-color: __background_alt__; 324 color: __text__; 325 direction: ltr; 326 text-align: left; 327 padding: 10px; 328 border: 2px solid __border__; 329 border-radius: 5px; 330 overflow-x: auto; 331 display: block; 332} 333 334pre { 335 border: 2px solid __border__; 336 padding: 10px; 337 overflow: auto; 338 word-wrap: normal; 339} 340 341blockquote { 342 padding: 0 0.5em; 343 border: solid __border__; 344 border-width: 0 0 0 0.25em; 345} 346 347[dir="rtl"] blockquote { 348 border-width: 0 0.25em 0 0; 349} 350 351q:before, 352q:after { 353 content: ""; 354} 355 356sub, 357sup { 358 font-size: 0.8em; 359 line-height: 1; 360} 361 362sub { 363 vertical-align: sub; 364} 365 366sup { 367 vertical-align: super; 368} 369 370small { 371 font-size: 0.8em; 372} 373 374wbr { 375 display: inline-block; 376} 377 378/*____________ FORMS ____________*/ 379 380form { 381 display: inline; 382 margin: 0; 383 padding: 0; 384} 385 386fieldset { 387 padding: 0.7em 1em 0; 388 padding: 0.7rem 1rem; 389 border: 1px solid #999; 390} 391 392fieldset > :last-child { 393 margin-bottom: 0; 394} 395 396legend { 397 padding: 0 0.1em; 398} 399 400label { 401 vertical-align: middle; 402 cursor: pointer; 403} 404 405input, 406textarea, 407button, 408select, 409optgroup, 410option, 411keygen, 412output, 413meter, 414progress { 415 font-family: 'Courier New', Courier, monospace; 416 color: __text__; 417 background-color: __background__; 418 border: 2px solid __border__; 419 line-height: normal; 420 margin: 0; 421 margin-bottom: 15px; 422 vertical-align: middle; 423 -moz-box-sizing: content-box; 424 -webkit-box-sizing: content-box; 425 box-sizing: content-box; 426 border-radius: 5px; 427} 428 429input, 430button, 431select, 432keygen, 433textarea { 434 padding: 0.1em; 435} 436 437input[type="radio"], 438input[type="checkbox"], 439input[type="image"], 440input.check { 441 padding: 0; 442} 443 444input[type="submit"], 445input[type="button"], 446input[type="reset"], 447input.button, 448button { 449 cursor: pointer; 450 overflow: visible; 451 padding: 0.1em 0.4em; 452} 453 454input[disabled], 455button[disabled], 456select[disabled], 457textarea[disabled], 458option[disabled], 459input[readonly], 460button[readonly], 461select[readonly], 462textarea[readonly] { 463 cursor: auto; 464 opacity: 0.5; 465} 466 467input:focus, 468button:focus, 469select:focus, 470keygen:focus, 471textarea:focus { 472 border-color: __text_alt__; 473 box-shadow: 0 0 15px __text_alt__; 474} 475 476input::-moz-focus-inner, 477button::-moz-focus-inner { 478 border: 0; 479 padding: 0; 480} 481 482select { 483 max-width: 100%; 484} 485 486optgroup { 487 font-style: italic; 488 font-weight: bold; 489} 490 491option { 492 font-style: normal; 493 font-weight: normal; 494} 495