🏠 Home 

wiki.SuperFamicom.org Dark

Dark mode for wiki.superfamicom.org


Install this script?
Install as user style?
  1. /* ==UserStyle==
  2. @name wiki.SuperFamicom.org Dark
  3. @namespace gitlab.com/Neui/userstyles
  4. @homepageURL https://gitlab.com/Neui/userstyles
  5. @supportURL https://gitlab.com/Neui/userstyles/issues
  6. @version 2.0.2
  7. @license CC-BY-4.0
  8. @description Dark mode for wiki.superfamicom.org
  9. @author Neui
  10. ==/UserStyle== */
  11. @-moz-document domain("wiki.superfamicom.org") {
  12. html, body {
  13. background-color: black;
  14. color: white;
  15. }
  16. a {
  17. color: #D7D7D7;
  18. }
  19. a:hover, a:focus {
  20. color: #EEE;
  21. }
  22. .content a:hover {
  23. color: #FFF;
  24. }
  25. /* Buttons */
  26. .button {
  27. color: white;
  28. border-color: white;
  29. }
  30. /* Tables */
  31. table {
  32. background: unset; /* With border-radius it otherwise show white corners */
  33. }
  34. .content tr td, #content tr {
  35. background: #303030;
  36. }
  37. .content tr:nth-child(2n) td, #content tr:nth-child(2n) {
  38. background: #3F3F3F;
  39. }
  40. .content tbody tr:hover td {
  41. background: #555;
  42. }
  43. .content td, .content th, .content table, .content tbody, .content thead {
  44. border-color: #666;
  45. border-bottom: 1px solid #666;
  46. }
  47. /* Code */
  48. .content table pre, .content table code {
  49. /* Fixes <code> in tables */
  50. background-color: inherit;
  51. color: inherit;
  52. }
  53. /* Fix comments otherwise they are somewhat hard to read */
  54. span.hljs-comment {
  55. color: #554;
  56. }
  57. /* Table of Contents (the box to the right) */
  58. .toc {
  59. background: #252525;
  60. border-color: #111;
  61. }
  62. /* Editing and creating */
  63. form textarea.form-control, form input[type=text] {
  64. background: black;
  65. color: white;
  66. border-color: grey;
  67. }
  68. form textarea.form-control::placeholder, form input[type=text]::placeholder {
  69. color: darkgrey;
  70. }
  71. form#fileupload {
  72. background: black;
  73. color: white;
  74. border-color: grey;
  75. }
  76. .form-control:focus {
  77. border-color: #D7D7D7;
  78. }
  79. /* Footer */
  80. .content-sections .section h2 {
  81. color: #EEE;
  82. }
  83. .content-sections .section ul li a {
  84. color: #EEE;
  85. }
  86. /* Search */
  87. .search .r###lt {
  88. border-bottom-color: rgba(255, 255, 255, 0.25);
  89. }
  90. }