style.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. * {
  2. margin: 0;
  3. padding: 0; }
  4. #silly-animated-text {
  5. display: none; }
  6. @-moz-document url-prefix() {
  7. #silly-animated-text {
  8. display: block; } }
  9. html:first-child #silly-animated-text {
  10. display: block; }
  11. @media (-webkit-min-device-pixel-ratio: 0) {
  12. #silly-animated-text {
  13. display: block; } }
  14. @media print {
  15. #silly-animated-text {
  16. display: none; } }
  17. body {
  18. background-image: url("assets/bg.gif");
  19. background-repeat: repeat;
  20. background-color: #000000;
  21. font-family: ui-monospace, Consolas, monospace;
  22. line-height: 1.6;
  23. font-size: 12px;
  24. padding: 0; }
  25. .header {
  26. margin-bottom: 32px;
  27. text-align: center; }
  28. .header h1 {
  29. font-size: 24px;
  30. color: #ffffaa; }
  31. .spoiler-content {
  32. display: none; }
  33. .spoiler-link:focus + .spoiler-content, .spoiler-link:target + .spoiler-content {
  34. display: block; }
  35. .spoiler-link:focus:before, .spoiler-link:target:before {
  36. content: "[-] "; }
  37. .spoiler-link:before {
  38. content: "[+] ";
  39. color: #ffbf00; }
  40. .spoiler:hover > .spoiler-link:before {
  41. content: "[-] "; }
  42. .spoiler:hover > .spoiler-link + .spoiler-content {
  43. display: block; }
  44. .container {
  45. max-width: 720px;
  46. margin: 0 auto;
  47. padding: 16px; }
  48. .section {
  49. background-image: url("/assets/chesstransparent.png");
  50. background-repeat: repeat;
  51. border: 1px solid #7f0000;
  52. padding: 16px;
  53. margin-bottom: 16px;
  54. text-align: left;
  55. color: #ffffaa; }
  56. .section h2, .section h2 a {
  57. font-size: 14px;
  58. font-weight: 500;
  59. margin-bottom: 8px; }
  60. .spoiler-section > .spoiler > .spoiler-link {
  61. font-size: 14px; }
  62. ul {
  63. margin-top: 8px;
  64. margin-left: 12px; }
  65. ul ul {
  66. margin-top: 0; }
  67. ul li {
  68. margin-bottom: 4px;
  69. list-style-type: circle; }
  70. a {
  71. color: #ffbf00;
  72. text-decoration: none; }
  73. a:hover {
  74. text-decoration: underline; }
  75. .navbar {
  76. margin: 0 0 24px 0;
  77. white-space: nowrap;
  78. border-bottom: 1px solid #7f0000; }
  79. .navbar table {
  80. width: 100%; }
  81. .navbar, .basement {
  82. padding: 8px;
  83. font-size: 12px;
  84. background-image: url("/assets/chesstransparent.png");
  85. background-repeat: repeat; }
  86. .navbar .container, .basement .container {
  87. padding-top: 0;
  88. padding-bottom: 0; }
  89. .basement {
  90. border-top: 1px solid #7f0000;
  91. color: #ffffaa;
  92. text-align: center; }
  93. .navbar-right {
  94. text-align: right; }
  95. .navbar-right a {
  96. margin-right: 12px; }
  97. .navbar-right a:last-child {
  98. margin-right: 0; }
  99. .codeblock {
  100. background-color: #000000;
  101. border: 1px solid #7f0000;
  102. padding: 3px;
  103. margin-top: 12px; }
  104. .codeblock p {
  105. color: #cc0000; }
  106. .codeblock pre {
  107. border-top: 1px solid #7f0000;
  108. padding: 3px; }
  109. marquee span {
  110. margin-left: 360px;
  111. margin-right: 360px;
  112. font-size: 14px; }
  113. marquee span:first-child {
  114. margin-left: 0; }
  115. marquee span:last-child {
  116. margin-right: 0; }