Dark Wiki

Turn Torn's wiki dark

安装此脚本
作者推荐脚本

您可能也喜欢LAction

安装此脚本
  1. // ==UserScript==
  2. // @name Dark Wiki
  3. // @namespace Dark Wiki
  4. // @version 2.0
  5. // @description Turn Torn's wiki dark
  6. // @author AfricanChild [3157295]
  7. // @owner Phillip_J_Fry [2184575]
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=torn.com
  9. // @match https://wiki.torn.com/wiki/*
  10. // @grant GM_addStyle
  11. // @license Apache License 2.0
  12. // ==/UserScript==
  13.  
  14. GM_addStyle(`
  15. /* Body */
  16. body, body[class], body[id], body[data-theme] {
  17. background-color: #191919 !important;
  18. }
  19.  
  20. /* Main content */
  21. .col-12.col-md-8.content-area-wrapper {
  22. background-color: #333333 !important;
  23. }
  24.  
  25. /* Headers */
  26. h1, h2, h3, h4 {
  27. color: #efb300;
  28. border-bottom: 1px solid #4d4d4d !important;
  29. }
  30. .firstHeading {
  31. border-bottom: none !important;
  32. }
  33.  
  34. /* Paragraphs */
  35. p {
  36. color: white !important;
  37. }
  38.  
  39. /* List */
  40. li {
  41. color: #a2a9b1 !important;
  42. }
  43.  
  44. /* Link colors */
  45. a, .toctogglelabel {
  46. color: #4cc9ff !important;
  47. }
  48.  
  49. /* Button */
  50. .torn-mass-collapse-control a {
  51. color: white !important;
  52. background-color: #4d4d4d !important;
  53. border: none !important;
  54. }
  55.  
  56. /* Top navigation */
  57. .card.torn-navigation-header {
  58. background-image: none !important;
  59. background-color: #333333 !important;
  60. }
  61. .torn-back-button {
  62. color: white !important;
  63. }
  64.  
  65. /* Bottom navigation */
  66. .card.torn-navigation-panel {
  67. background-color: #333333 !important;
  68. }
  69.  
  70. /* Footer */
  71. .list-inline {
  72. color: #a2a9b1 !important;
  73. }
  74. .catlinks {
  75. border: 0.5px solid #4d4d4d !important;
  76. }
  77.  
  78. /* Misc */
  79. pre {
  80. background-color: #292929 !important;
  81. color: white !important;
  82. border: none !important;
  83. }
  84. th {
  85. background-color: #292929 !important;
  86. color: white !important;
  87. }
  88. .content-area-wrapper #content {
  89. color: #a2a9b1 !important;
  90. }
  91.  
  92. /* Table */
  93. .table th {
  94. border: 2px solid #4d4d4d !important;
  95. }
  96. .table td {
  97. border: 1px solid #4d4d4d !important;
  98. }
  99. td {
  100. background-color: #292929 !important;
  101. color: white !important;
  102. }
  103. .content-area-wrapper #content table.wikitable.mw-collapsible tr:first-child > th,
  104. .content-area-wrapper #content table.wikitable.mw-collapsible tr:first-child > td {
  105. background-color: #333333 !important;
  106. color: white !important;
  107. border-top: 0.5px solid #737373 !important;
  108. }
  109. `);