ShadeRoot WP

Eye-friendly magic in your browser for Wikipedia

  1. //
  2. // Written by Glenn Wiking
  3. // Script Version: 1.3.0a
  4. // Date of issue: 09/12/14
  5. // Date of resolution: 11/12/14
  6. //
  7. // ==UserScript==
  8. // @name ShadeRoot WP
  9. // @namespace WP
  10. // @description Eye-friendly magic in your browser for Wikipedia
  11. // @version 1.3.0a
  12. // @icon https://i.imgur.com/ZPsnNvA.png
  13.  
  14. // @include http://*.wikipedia.org*
  15. // @include https://*.wikipedia.org*
  16. // @include *.wiktionary.org*
  17. // @include http://*.wikiquote.org*
  18. // @include https://*.wikiquote.org*
  19. // @include http://*.wikibooks.org*
  20. // @include https://*.wikibooks.org*
  21. // @include http://*.wikisource.org*
  22. // @include https://*.wikisource.org*
  23. // @include http://*.wikinews.org*
  24. // @include https://*.wikinews.org*
  25. // @include http://*.wikiversity.org*
  26. // @include https://*.wikiversity.org*
  27. // @include http://*species.wikimedia.org*
  28. // @include https://*species.wikimedia.org*
  29. // @include http://*.mediawiki.org*
  30. // @include https://*.mediawiki.org*
  31. // @include http://*.wikidata.org*
  32. // @include https://*.wikidata.org*
  33. // @include http://*.wikipedia.org*
  34. // @include https://*.wikipedia.org*
  35. // @include http://*commons.wikimedia.org*
  36. // @include https://*commons.wikimedia.org*
  37. // @include http://*.wikivoyage.org*
  38. // @include https://*.wikivoyage.org*
  39. // @include http://*meta.wikimedia.org*
  40. // @include https://*meta.wikimedia.org*
  41. // @include http://*incubator.wikimedia.org*
  42. // @include https://*incubator.wikimedia.org*
  43. // @include http://*wikitech.wikimedia.org*
  44. // @include https://*wikitech.wikimedia.org*
  45. // @include http://*.wikimedia.org*
  46. // @include https://*.wikimedia.org*
  47. // @include http://*commons.wikimedia.org*
  48. // @include https://*commons.wikimedia.org*
  49. // @include *wikimediafoundation.org*
  50. // @include *wikimedia.myshopify.*
  51.  
  52. // ==/UserScript==
  53.  
  54. function ShadeRootWP(css) {
  55. var head, style;
  56. head = document.getElementsByTagName('head')[0];
  57. if (!head) { return; }
  58. style = document.createElement('style');
  59. style.type = 'text/css';
  60. style.innerHTML = css;
  61. head.appendChild(style);
  62. }
  63.  
  64. ShadeRootWP(
  65. // ABSOLUTES
  66. 'html, iframe html, body {background: rgba(63, 33, 33, 1) !important;}'
  67. +
  68. '*::-moz-selection {background-color: #6E170C;}'
  69. // MOBILE
  70. +
  71. '.mw-ui-button {background: #6C2222 !important; border: 1px solid #871D1D !important;}'
  72. +
  73. '.last-modified-bar #mw-mf-last-modified {background-color: #4B1313 !important;}'
  74. +
  75. '#content {border-top: 1px solid #531414 !important;}'
  76. +
  77. '.client-use-basic-search .header .search, .client-nojs .header .search {border: 1px solid #6B1B1B !important;}'
  78. // WIKIPEDIA
  79. +
  80. '.trreq, .trreq i, dd span i {background: #5C1111 !important;}'
  81. +
  82. 'div#mw-head {background: rgba(63, 33, 33, 1) !important;}'
  83. +
  84. 'div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {color: rgba(198, 170, 170, 1); background: rgba(138, 59, 59, 1) !important;}'
  85. +
  86. 'div.vectorTabs ul li {background-image: none; background-color: rgba(138, 59, 59, 1) !important;}'
  87. +
  88. 'div.vectorTabs ul li {background: #870A1D !important; background: -moz-linear-gradient(top, #870a1d 0%, #490f0e 100%) !important; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#870a1d), color-stop(100%,#490f0e)) !important; background: -o-linear-gradient(top, #870a1d 0%, #490f0e 100%);}'
  89. +
  90. 'div.vectorTabs span {opacity: 1;}'
  91. +
  92. 'div.vectorTabs li a, div#simpleSearch, #p-search form, #p-search input, .mw-body {color: #EDD !important;}'
  93. +
  94. 'div#simpleSearch {border: 1px solid rgba(128, 21, 21, 1); color: #000; background-color: rgba(120, 16, 16, 1);}'
  95. +
  96. 'div#simpleSearch {background-image: none !important;}'
  97. +
  98. 'div#mw-panel div.portal {background-image: none !important; border-top: 1px solid #600;}'
  99. +
  100. 'div#mw-panel div.portal div.body ul li a {color: rgba(173, 38, 16, 1);}'
  101. +
  102. '.mw-body a {color: #BC412D;}'
  103. +
  104. 'span i, .trreq i {rgb(62, 28, 23) !important;}'
  105. +
  106. '#mp-topbanner {background: none repeat scroll 0% 0% rgba(75, 61, 61, 1); border: 1px solid rgba(113, 53, 53, 1);}'
  107. +
  108. '#mp-left {background: none repeat scroll 0% 0% #4B3D3D !important;}'
  109. +
  110. '#mp-right {background: none repeat scroll 0% 0% rgba(60, 50, 49, 1) !important;}'
  111. +
  112. '#mp-bottom {background: none repeat scroll 0% 0% #392724 !important;}'
  113. +
  114. '.MainPageBG {border: 1px solid #411711; background: none repeat scroll 0% 0% #411711;}'
  115. +
  116. '.mw-body {background-color: rgba(39, 30, 30, 1); border-color: rgba(86, 30, 21, 1);}'
  117. +
  118. '#mp-tfp-h2 {background: none repeat scroll 0% 0% #4B221B; border: 1px solid #602319; color: #EDD;}'
  119. +
  120. 'h1, h2, h3, h4, h5, h6 {border-bottom: 1px solid rgba(69, 12, 12, 1) !important; color: #EDD;}'
  121. +
  122. '.MainPageBG {border: 1px solid rgba(113, 23, 8, 1) !important; background: none repeat scroll 0% 0% rgba(72, 20, 11, 1) !important;}'
  123. +
  124. '#mp-topbanner {background: none repeat scroll 0% 0% #3F2121 !important; border: 1px solid rgba(87, 41, 41, 1) !important;}'
  125. +
  126. '#mp-tfa-h2, #mp-itn-h2, #mp-dyk-h2, #mp-otd-h2, #mp-tfp-h2 {background: none repeat scroll 0% 0% rgba(95, 23, 8, 1) !important; border: 1px solid rgba(63, 24, 17, 1) !important; color: #EDD !important;}'
  127. +
  128. '#autonym, .mw-body a.external, #footer-info a, #footer-places a, .mw-body a.extiw, .mw-body a.extiw:active, #metalink {color: rgba(177, 45, 23, 1) !important;}'
  129. +
  130. '#footer-info-copyright, #mp-dyk ul li, .mw-body p, .mw-body-content ul, .noprint, #mp-topbanner div, small, #mw-panel h3, .mw-search-formheader div.search-types ul li.current a {color: #EDD !important;}'
  131. +
  132. '.mw-ui-input {border: 1px solid rgba(92, 25, 25, 1) !important;}'
  133. +
  134. '.mw-ui-button.mw-ui-progressive:hover, .mw-ui-button.mw-ui-progressive:focus, .mw-ui-button.mw-ui-primary:hover, .mw-ui-button.mw-ui-primary:focus {border-bottom-color: rgba(204, 59, 42, 1) !important;}'
  135. +
  136. '.mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-primary {background: none repeat scroll 0% 0% rgba(164, 47, 21, 1) !important; border: 1px solid rgba(114, 30, 16, 1) !important;}'
  137. +
  138. '.mw-search-formheader {background-color: rgba(57, 24, 24, 1); border: 1px solid rgba(81, 10, 10, 1);}'
  139. +
  140. '.mw-search-result-data {color: rgba(128, 18, 0, 1) !important;}'
  141. +
  142. '.mw-ui-input:focus {box-shadow: 0.45em 0px 0px rgba(141, 36, 14, 1) inset !important;}'
  143. +
  144. 'table.dmbox {border-top: 1px solid #450C0C !important; border-bottom: 1px solid #450C0C !important;}'
  145. +
  146. '#pt-createaccount a, #pt-login a, #bodyContent div.mw-number-text h3 {color: #EDD !important;}'
  147. +
  148. '.fancycaptcha-image-container {background: #271E1E !important;}'
  149. +
  150. '.fancycaptcha-wrapper {background-color: #271E1E !important;}'
  151. +
  152. '.fancycaptcha-image-container img, .bookshelf-container .bookend {opacity: .8;}'
  153. +
  154. '.mw-ui-button.mw-ui-constructive {background: none repeat scroll 0% 0% rgba(150, 39, 15, 1); border: 1px solid rgba(164, 53, 35, 1);}'
  155. +
  156. '#mw-page-base {background-image: linear-gradient(#3F2121 50%, #3F2121 100%); background-color: #3F2121;}'
  157. +
  158. '.mw-ui-checkbox:not(#noop) input[type="checkbox"] + label:before {background-color: #96270F; border: 1px solid rgba(66, 14, 14, 1);}'
  159. +
  160. '.link-box, .langlist div a, .langlist-large div a, .langlist a, .otherprojects-item a, #www-wikipedia-org div a {color: rgba(168, 24, 16, 1) !important;}'
  161. +
  162. 'a:visited {color: rgba(148, 68, 58, 1) !important;}'
  163. +
  164. '.link-box em, .search-container label .language-search label {color: #EDD !important;}'
  165. +
  166. '.search-form fieldset {background-color: rgba(0, 0, 0, 0) !important; border: 1px solid rgba(104, 16, 16, 1) !important;}'
  167. +
  168. 'hr {color: rgba(104, 17, 17, 1) !important; background-color: #681111 !important;}'
  169. +
  170. 'div.thumbinner, #toc, .toc, .mw-warning, .mbox-small {border: 1px solid rgba(86, 16, 16, 1) !important; background-color: rgba(68, 27, 27, 1) !important;}'
  171. +
  172. 'div.thumb .thumbimage {background-color: rgba(93, 9, 9, 1) !important;}'
  173. +
  174. '.noprint.portal.tright table {background: none repeat scroll 0% 0% #441B1B !important;}'
  175. +
  176. '.noprint.portal.tright {border: 1px solid #561010 !important;}'
  177. +
  178. '.thumbimage {border: 1px solid rgba(36, 11, 11, 1) !important; opacity: .85;}'
  179. +
  180. '.catlinks {border: 1px solid #561010 !important; background-color: #441B1B !important;}'
  181. +
  182. '.catlinks li {border-left: 1px solid rgba(119, 15, 15, 1) !important;}'
  183. +
  184. '.navbox, .navbox-subgroup {background: none repeat scroll 0% 0% #441B1B;}'
  185. +
  186. '.navbox {border: 1px solid #561010;}'
  187. +
  188. '.navbox th, .navbox-title, .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title {background: none repeat scroll 0% 0% rgba(102, 25, 12, 1) !important;}'
  189. +
  190. '.navbox-list, .navbox-odd, .hlist {border-left-width: 0px !important;}'
  191. +
  192. '.navbox-even {background: none repeat scroll 0% 0% rgba(62, 51, 51, 1) !important;}'
  193. +
  194. '.navbox-title {background: none repeat scroll 0% 0% rgba(39, 24, 22, 1) !important;}'
  195. +
  196. 'fieldset {border: 1px solid rgba(69, 15, 6, 1);}'
  197. +
  198. '.help-intro-sidetab, .help-intro-sidetab-active {border-left: 1em solid rgba(98, 24, 12, 1) !important;}'
  199. +
  200. '#mw-content-text.mw-content-ltr div table tbody tr td {border-right: 1px solid #450C0C !important;}'
  201. +
  202. '#mw-content-text.mw-content-ltr div table tbody {border: 1px solid rgba(44, 6, 6, 1) !important; box-shadow: 2px 2px 2px rgba(27, 9, 9, 1) !important;}'
  203. +
  204. '#pagehistory li {border: 1px solid rgba(56, 12, 12, 0.2) !important;}'
  205. +
  206. '#feedHeaderContainer {border: 1px solid rgba(113, 23, 23, 1); background-color: rgba(90, 34, 25, 1);}'
  207. +
  208. '.feedBackground {background-color: #5A2219 !important;}'
  209. +
  210. '#feedHeader, #feedBody {color: #EDD;}'
  211. +
  212. '#feedBody {background: none repeat scroll 0% 0% rgba(45, 17, 17, 1); border: 1px solid rgba(95, 8, 8, 1);}'
  213. +
  214. '.entry h3 a, .entry h3 a, a.new, .mw-redirect {color: rgba(143, 17, 17, 1);}'
  215. +
  216. '.mw-changeslist-legend {border: 1px solid #681111 !important;}'
  217. +
  218. '.wb-claimgrouplistview .wb-claimgrouplistview-groupname {background: none repeat scroll 0% 0% #441B1B;}'
  219. +
  220. '.wb-claimlistview > .wikibase-toolbar-wrapper {border-top: 1px dashed rgba(141, 18, 18, 1);}'
  221. +
  222. '.wb-claims .wb-claimlistview {background-color: rgba(108, 28, 28, 1) !important; border: 1px solid rgba(92, 13, 13, 1) !important;}'
  223. +
  224. '.wikibase-sitelinklistview .wikibase-sitelinkview-sitename {border-left: 1px solid rgba(96, 17, 17, 1) !important;}'
  225. +
  226. '.wikibase-sitelinklistview th {background-color: rgba(86, 26, 26, 1);}'
  227. +
  228. '.wikibase-sitelinklistview tbody td {background: none repeat scroll 0% 0% #452D2D;}'
  229. +
  230. '.wikibase-sitelinklistview td {border-top: 1px solid rgba(86, 17, 17, 1);}'
  231. +
  232. '.wikibase-sitelinklistview tbody tr:nth-child(2n) td {background: none repeat scroll 0% 0% rgba(56, 33, 33, 1);}'
  233. +
  234. '.wikibase-sitelinklistview tbody td.wikibase-sitelinkview-siteid {background: none repeat scroll 0% 0% #452D2D;}'
  235. +
  236. '.wikibase-sitelinklistview tbody tr:nth-child(2n) td.wikibase-sitelinkview-siteid {background: none repeat scroll 0% 0% #382121;}'
  237. +
  238. '.wikibase-sitelinklistview tfoot td.wikibase-sitelinklistview-placeholder {border-left: 1px solid rgba(92, 13, 13, 1);}'
  239. +
  240. '.wikibase-sitelinklistview td:last-child {border-right: 1px solid #5C0D0D;}'
  241. +
  242. '.wikibase-sitelinklistview {border-bottom: 1px solid #5C0D0D;}'
  243. +
  244. 'pre, .mw-code {background-color: rgba(56, 18, 18, 1); border: 1px solid rgba(83, 8, 8, 1); color: #EDD;}'
  245. +
  246. '#donate-form-wrapper {background-color: rgba(47, 33, 31, 1) !important; border: 1px solid rgba(101, 23, 14, 1) !important;}'
  247. +
  248. '.dividing-line, #appeal-head {border-bottom: 1px solid rgba(110, 25, 11, 1) !important;}'
  249. +
  250. '#main_page_mp-mp tbody tr td div {background-color: rgba(42, 21, 21, 1) !important;}'
  251. +
  252. '#main_page_mp-mp tbody tr td table {background-color: rgba(56, 42, 40, 1) !important; border: 3px solid rgba(78, 22, 13, 1) !important;}'
  253. +
  254. '.bodySearchWrap input {background: none repeat scroll 0% 0% #433 !important; border: 1px solid #511 !important; color: #EDD !important;}'
  255. +
  256. '#mf-wotd table, .mp-index {border: 3px solid #4E160D !important; background: none repeat scroll 0% 0% #382A28 !important;}'
  257. +
  258. '#main_page_mp-mp tbody tr td {border: 1px solid rgba(86, 20, 20, 1) !important; background-color: rgba(63, 45, 45, 1) !important;}'
  259. +
  260. '#mf-wotd table tbody tr td div, #main_page_mp-mp tbody tr td table tbody tr td div div, .mp-index div:nth-of-type(1) {border-bottom: 1px solid rgba(35, 11, 11, 1) !important;}'
  261. +
  262. 'table.prettytable th {background: none repeat scroll 0% 0% rgba(47, 23, 23, 1) !important;}'
  263. +
  264. 'table.prettytable {background: none repeat scroll 0% 0% rgba(59, 44, 44, 1) !important; border: 1px solid rgba(78, 23, 23, 1) !important;}'
  265. +
  266. 'table.prettytable th, table.prettytable td {border: 1px solid rgba(84, 17, 17, 1) !important;}'
  267. +
  268. '.editOptions {background-color: rgba(47, 30, 30, 1) !important; border-color: -moz-use-text-color rgba(108, 15, 15, 1) rgba(92, 13, 13, 1) !important; -webkit-use-text-color rgba(108, 15, 15, 1) rgba(92, 13, 13, 1) !important; -o-use-text-color rgba(108, 15, 15, 1) rgba(92, 13, 13, 1) !important;}'
  269. +
  270. '.plainlinks {border-color: #6C0F0F !important;}'
  271. +
  272. '#mw-content-text div:nth-of-type(1) {background: rgba(61, 36, 36, 1) !important; color: #EDD !important;}'
  273. +
  274. '.msgfornewbies {border: 2px solid rgba(83, 22, 12, 1) !important;}'
  275. +
  276. '#wpTextbox1, #wpSummary, .searchboxInput {background: rgba(68, 46, 46, 1) !important; color: #EDD !important;}'
  277. +
  278. '#mw-content-text table {border: 1px solid rgba(87, 26, 26, 1) !important; background: none repeat scroll 0% 0% rgba(59, 29, 24, 1) !important;}'
  279. +
  280. 'ul.mw-allpages-chunk li {border-top: 1px solid rgba(59, 14, 14, 1);}'
  281. +
  282. '.searchboxInput {border: 1px solid rgba(94, 26, 26, 1) !important;}'
  283. +
  284. 'code {color: #EDD !important; background-color: rgba(95, 77, 77, 1) !important; border: 1px solid rgba(123, 22, 22, 1) !important;}'
  285. +
  286. '#mf-intro {background: none repeat scroll 0% 0% rgba(59, 45, 43, 1) !important; border: 1px solid rgba(87, 14, 14, 1) !important;}'
  287. +
  288. '.plainlinks table, .plainlinks table tbody tr td {border: 1px solid #570E0E !important; background: none repeat scroll 0% 0% #3B2D2B !important;}'
  289. +
  290. '.plainlinks div {border: 1px solid #571A1A !important; background: none repeat scroll 0% 0% #3D2424 !important;}'
  291. +
  292. 'table.wikitable > tr > th, table.wikitable > * > tr > th {background-color: rgba(72, 19, 19, 1) !important;}'
  293. +
  294. 'table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {border: 1px solid rgba(105, 24, 24, 1) !important;}'
  295. +
  296. '.wikitable {color: #EDD !important;}'
  297. +
  298. '.mw-charinsert-buttons a {background-color: rgba(0, 0, 0, 0) !important; border: 0px none #000;}'
  299. +
  300. '.mbox-small tbody tr td {border-bottom: 1px solid #571A1A !important;}'
  301. +
  302. '.infobox.geography td, .infobox.geography th {border-top: 1px solid #571A1A !important;}'
  303. +
  304. '.vcard tbody tr td, .geography tbody tr td, .infobox tbody tr td {background-color: rgba(111, 30, 17, 1) !important;}'
  305. +
  306. '.infobox.geography .mergedtoprow th {border-top: 1px solid rgba(45, 13, 13, 1) !important;}'
  307. +
  308. '.infobox, .geography, .vcard {color: #EDD !important;}'
  309. +
  310. '.image img, #footer-copyrightico a img, #footer-icons li, #main_page_mp-mp tbody tr td table tbody tr td div span a img, #main_page_mp-mp tbody tr td p span a img {opacity: .8;}'
  311. +
  312. '.infobox.geography .mergedbottomrow td, .infobox.geography .mergedbottomrow th {border-bottom: 1px solid #571A1A !important;}'
  313. +
  314. '.quotebox {background-color: #3D2424 !important; border: 1px solid #500B0B !important;}'
  315. +
  316. '.navbox-columns-table tbody tr td {border-left: 2px solid rgba(72, 13, 13, 1) !important;}'
  317. +
  318. '#mw-content-text table tbody tr td {border: 1px solid rgba(54, 24, 24, 1) !important;}'
  319. +
  320. '#mf-sow {background: none repeat scroll 0% 0% rgba(48, 33, 30, 1) !important; border: 1px solid rgba(51, 15, 15, 1) !important;}'
  321. +
  322. '#filetoc {border: 1px solid rgba(132, 19, 19, 1) !important; background-color: rgba(101, 7, 7, 1) !important;}'
  323. +
  324. '#file a img, .fullImageLink a img, .filehistory tbody tr td a img {opacity: .8;}'
  325. +
  326. '.fileinfo-paramfield {background: none repeat scroll 0% 0% rgba(87, 35, 27, 1) !important;}'
  327. +
  328. 'table.mw_metadata th {background-color: rgba(62, 32, 32, 1) !important;}'
  329. +
  330. 'table.mw_metadata td {background-color: rgba(78, 20, 20, 1) !important;}'
  331. +
  332. 'table.mw_metadata td, table.mw_metadata th {border: 1px solid rgba(87, 11, 11, 1) !important;}'
  333. +
  334. 'img.thumbborder {border: 1px solid rgba(104, 11, 11, 1) !important;}'
  335. +
  336. '#mw-content table tbody tr td {border: 1px solid rgba(89, 28, 18, 1) !important; background-color: rgba(47, 34, 32, 1) !important;}'
  337. +
  338. '#mw-content table tbody tr td div {border-bottom: 1px solid rgba(83, 28, 20, 1) !important;}'
  339. +
  340. '.wikitable tbody tr td {background-color: #2F2220; opacity: .65 !important; color: #200 !important;}'
  341. +
  342. '#mw-content-text table tbody tr td div {border-bottom: 1px solid #531C14 !important;}'
  343. +
  344. '#mw-searchoptions {background-color: rgba(47, 28, 28, 1) !important; border-color: rgba(81, 19, 19, 1) !important;}'
  345. +
  346. '.divider {border-bottom: 1px solid #660000 !important;}'
  347. +
  348. 'li.gallerybox div.thumb {border: 1px solid rgba(93, 4, 4, 1) !important;}'
  349. +
  350. '#footer ul li, .plainlinks {color: #EDD !important;}'
  351. +
  352. '.mw-content-ltr center div {border-top: 3px double rgba(104, 16, 16, 1) !important;}'
  353. +
  354. '.mw-content-ltr div p img {opacity: .75;}'
  355. +
  356. '.sharedUploadNotice {background-color: rgba(71, 26, 19, 1) !important; border: 1px solid rgba(96, 23, 23, 1) !important;}'
  357. +
  358. '.mw-content-ltr table tbody tr td table tbody tr td div, .mw-content-ltr table tbody tr td table tbody tr td div {background-color: #3D2424 !important;}'
  359. +
  360. '.banner-box-welcome {width: 580px;}'
  361. +
  362. '.floatright img, footer-poweredbyico a img {opacity: .8;}'
  363. +
  364. '.mainpage_boxcontents, .mainpage_boxcontents_small {background: none repeat scroll 0% 0% rgba(51, 31, 31, 1) !important;}'
  365. +
  366. '#mainpage_sitelinks {background-color: rgba(39, 23, 23, 1) !important;}'
  367. +
  368. '#mainpage_topbox {border: 1px solid rgba(92, 23, 23, 1) !important;}'
  369. +
  370. '.mainpage_boxcontents_title {border-bottom: 1px solid rgba(95, 28, 28, 1) !important;}'
  371. +
  372. '.mainpage_boxcontents_small div div {border: 2px outset rgba(93, 12, 12, 1) !important;}'
  373. +
  374. '.mbox-image {border-right: 1px solid rgba(122, 19, 19, 1) !important; background: rgba(81, 25, 25, 1) !important;}'
  375. +
  376. '.mw-charinsert-buttons, .divlang {border: 1px solid #6C0F0F !important;}'
  377. +
  378. 'div i, .mw-content-ltr table tbody tr td div div div, .mw-content-ltr table tbody tr td span {color: #EDD !important;}'
  379. +
  380. '.mw-content-ltr {border: 2px dotted rgba(111, 15, 15, 1) !important;}'
  381. +
  382. '.mw-content-ltr div p {text-shadow: 1px 1px 1px rgba(36, 10, 10, 1) !important;}'
  383. +
  384. '.mw-content-ltr div {background: none repeat scroll 0% 0% #5C1111 !important;}'
  385. +
  386. '.createboxInput {background: rgba(51, 25, 25, 1) !important; border: 1px solid rgba(128, 19, 19, 1) !important; color: #EDD !important;}'
  387. +
  388. '#mw-content-text div:nth-of-type(1) {border: 3px solid #5C1111 !important;}'
  389. +
  390. '#content_wrapper .top-bar {background-color: rgba(95, 10, 10, 1) !important; color: #EDD !important;}'
  391. +
  392. '#mw-mf-page-center .header {border-bottom: 1px solid #770E0E !important;}'
  393. +
  394. '.header .search {background-color: #3F2121 !important; color: #EDD !important;}'
  395. +
  396. '.content table td, .content table th {border: 1px solid rgba(113, 11, 11, 1) !important;}'
  397. +
  398. '.mbox-text {background: none repeat scroll 0% 0% rgba(75, 60, 60, 1) !important;}'
  399. +
  400. '.mbox-image b, .selflink, .content div center b, .content p, .content b, .content div ol li, .content div dl dd dl dd ul li, dd, .mediawiki li {color: #EDD !important;}'
  401. +
  402. '.content div div {background-color: rgba(45, 29, 29, 1) !important; border: 3px solid #6C271C !important; color: #EDD;}'
  403. +
  404. '.content div p a, .extiw, .mediawiki a, .page-list .title h3, .page-list .title .mw-mf-user {color: rgba(164, 41, 20, 1) !important;}'
  405. +
  406. '#footer {border-top: 1px solid rgba(51, 11, 11, 1) !important;}'
  407. +
  408. '.list-header {background-color: rgba(99, 12, 12, 1); color: #EDD !important;}'
  409. +
  410. '.page-list li, .topic-title-list li, .language-list li {border-bottom: 1px solid rgba(98, 13, 13, 1); color: #EDD !important;}'
  411. +
  412. '.page-list.side-list .list-thumb .timestamp, .topic-title-list.side-list .list-thumb .timestamp, .language-list.side-list .list-thumb .timestamp, .mw-content-ltr div div ul li ul li a span {color: #EDD !important;}'
  413. +
  414. '.active {background: none repeat scroll 0% 0% rgba(72, 37, 32, 1) !important;}'
  415. +
  416. '#hover-magic li:hover {background: none repeat scroll 0% 0% rgba(63, 19, 19, 1) !important;}'
  417. +
  418. '#viewerContainer .page, #footer-poweredbyico a img, .thumbborder {opacity: .8;}'
  419. +
  420. '.mobile-width-reset {border: 3px solid rgba(125, 31, 16, 1) !important;}'
  421. +
  422. '.nomobile div div div a span, #content big {color: #EDD !important;}'
  423. +
  424. '.mobile-float-reset {border: 1px solid rgba(134, 47, 33, 1) !important;}'
  425. +
  426. '#specialCiteThisPage label input {background: none repeat scroll 0% 0% rgba(59, 45, 45, 1) !important; border: 1px solid #600 !important; color: #EDD !important;}'
  427. +
  428. '.mw-content-ltr div div h2, .mw-content-ltr h2, #mf-explore-wikisource center {background-color: rgba(110, 31, 18, 1) !important;}'
  429. +
  430. '#mf-highlights p {background-color: rgba(66, 39, 35, 1) !important;}'
  431. +
  432. '#mf-explore-wikisource center {background-color: rgba(53, 32, 29, 1) !important;}'
  433. +
  434. '.mbox-image {border: 1px solid rgba(102, 17, 17, 1) !important;}'
  435. +
  436. '.infobox tbody tr th, .vcard tbody tr th, .plainlist tbody tr th {background-color: rgba(101, 24, 11, 1) !important;}'
  437. +
  438. '.wrapper, #nav {background: none repeat scroll 0% 0% rgba(33, 15, 15, 1) !important;}'
  439. +
  440. '.logo a img, .flexslider .slides img, .credit-cards img {opacity: .75;}'
  441. +
  442. 'nav.main {border-bottom: 1px solid #3F0606 !important; border-top: 1px solid #3F0606 !important;}'
  443. +
  444. '.span12 {background: rgba(45, 15, 15, 1) !important;}'
  445. +
  446. 'nav > ul > li > a, .span8.shop-notices a, .span12.details ul ul li a, .s2, .p1 a, #customer_login a {color: rgba(177, 33, 9, 1) !important;}'
  447. +
  448. '.details .item-count {color: #EDD !important;}'
  449. +
  450. '#mc_embed_signup {background: none repeat scroll 0% 0% #2D0F0F !important;}'
  451. +
  452. '#mc-embedded-subscribe.button, #mce-EMAIL.email {border: 1px solid rgba(125, 20, 20, 1); background: #843330 !important; color: #EDD !important;}'
  453. +
  454. 'nav > ul > li.dropdown > .dropdown, nav > ul > li.dropdown > .dropdown a {background: none repeat scroll 0% 0% rgba(102, 14, 14, 1) !important; border-color: rgba(120, 16, 16, 1) rgba(138, 11, 11, 1) rgba(102, 4, 4, 1) !important; color: #EDD !important;}'
  455. +
  456. '.p1, .product .title {color: #EDD !important;}'
  457. +
  458. '.product {border-bottom: 1px solid rgba(83, 14, 14, 1) !important;}'
  459. +
  460. '.plainlinks table tbody tr td div div a img {opacity: .8 !important;}'
  461. +
  462. '.central-featured-lang .link-box em, .central-featured-lang .link-box small, .central-featured-lang strong {text-shadow: 0 0 0 #000;}'
  463. +
  464. '.formBtn, #searchLanguage {background-color: rgba(161, 30, 8, 1) !important;}'
  465. +
  466. '.mw-content-ltr div {border: 1px solid rgba(57, 18, 12, 1) !important;}'
  467. +
  468. '.mw-content-ltr div, .shop__name {color: #EDD !important;}'
  469. +
  470. '#mw-htmlform-skin {display: none !important;}'
  471. +
  472. '#mw-prefsection-rendering-skin legend:after {content: "s are not available with the use of ShadeRoot Wikimedia" !important;}'
  473. +
  474. '.successbox {border-color: rgba(144, 30, 12, 1) !important; background-color: rgba(105, 28, 16, 1) !important;}'
  475. +
  476. '.mw-search-results li {background: none repeat scroll 0% 0% rgba(42, 25, 22, 1) !important; border-bottom: 1px solid rgba(35, 12, 9, 1) !important;}'
  477. +
  478. 'fieldset#mw-searchoptions {border-color: rgba(75, 16, 16, 1) !important;}'
  479. +
  480. '.centralauth-logout-box p img {border: 1px solid #3D2424 !important;}'
  481. +
  482. '.MainPageBG table tbody tr th h2 {border: 1px solid rgba(57, 27, 22, 1) !important;}'
  483. +
  484. '.span12 table tr td {border-top: 1px solid rgba(95, 21, 21, 1) !important;}'
  485. +
  486. '.span12 .item a, .span12 .item a strong {color: rgba(180, 32, 9, 1) !important;}'
  487. +
  488. '.header {background: none repeat scroll 0% 0% rgba(29, 12, 12, 1) !important;}'
  489. +
  490. '.alternative-payment-methods {border-bottom: 1px solid rgba(48, 18, 18, 1) !important;}'
  491. +
  492. '.alternative-payment-methods .or {background-color: rgba(137, 15, 15, 1) !important; border: 1px solid rgba(104, 14, 14, 1) !important;}'
  493. +
  494. '.main .wrap .fieldset {border: 1px solid rgba(119, 13, 13, 1) !important; background: none repeat scroll 0% 0% rgba(47, 30, 30, 1) !important;}'
  495. +
  496. '.order-summary {background: none repeat scroll 0% 0% #2F1E1E !important; border: 1px solid #770D0D !important;}'
  497. +
  498. '.summary-body, .order-summary__section, .total-line--total, .main .wrap .field {border-top: 1px solid #770D0D !important;}'
  499. +
  500. '.footer {border-top: 1px solid rgba(74, 10, 10, 1); background: none repeat scroll 0% 0% rgba(35, 20, 20, 1);}'
  501. +
  502. '.alternative-payment-methods__btn {border: 1px solid #770D0D !important;}'
  503. +
  504. '.btn {background-color: #801D0D !important;}'
  505. +
  506. '.btn:hover, .btn:focus {background-color: #942D26 !important;}'
  507. +
  508. '.mw-content-ltr {border: none !important;}'
  509. +
  510. '.mw-content-ltr div div h2, .mw-content-ltr h2, #mf-explore-wikisource center {background-color: #3D2424 !important;}'
  511. +
  512. '.phabricator-nav-column-background {background: none repeat scroll 0% 0% rgba(35, 27, 25, 1) !important; border-right: 1px solid rgba(95, 25, 14, 1) !important;}'
  513. +
  514. 'a.phabricator-application-launch-container, div.phabricator-application-launch-container {border-bottom: 1px solid rgba(68, 18, 10, 1) !important;}'
  515. +
  516. '.phabricator-application-launch-name {color: rgba(150, 38, 20, 1) !important; text-shadow: 0px 1px 1px rgba(89, 25, 25, 0.9) !important;}'
  517. +
  518. '.phabricator-application-launch-description {color: rgba(189, 172, 169, 1) !important; text-shadow: 0px 1px 1px rgba(110, 36, 36, 0.9) !important;}'
  519. +
  520. '.device-desktop a.phabricator-application-launch-container:hover, .device-desktop .phabricator-side-menu a.phui-list-item-href:hover {background-color: rgba(68, 27, 21, 1) !important;}'
  521. +
  522. '.phui-list-item-name, .phui-box p, .dashboard-view p, .remarkup-list-item, .phabricator-standard-page-footer a, .remarkup-important, .remarkup-important strong, .phui-property-list-text-content {color: #EDD !important;}'
  523. +
  524. '.dashboard-panel .phui-action-header.gradient-grey-header, .dashboard-panel .phui-action-header.gradient-lightblue-header, .dashboard-panel .phui-property-list-section {border-color: rgba(141, 34, 16, 1) rgba(144, 34, 16, 1) rgba(119, 24, 9, 1) !important;}'
  525. +
  526. '.sprite-gradient {background-image: none !important; background: none repeat scroll 0% 0% rgba(35, 27, 25, 1) !important;}'
  527. +
  528. '.phui-property-list-text-content {background: none repeat scroll 0% 0% rgba(56, 43, 43, 1) !important;}'
  529. +
  530. '.dashboard-panel .sprite-gradient .phui-action-header-title, .remarkup-link, .phui-object-item-link, .phui-handle, .phui-link-person, .phui-object-item-attribute a, .phabricator-nav-content a, .mlb a {color: rgba(168, 17, 17, 1) !important;}'
  531. +
  532. '.phabricator-standard-page-footer {border-top: 1px solid rgba(95, 23, 12, 1) !important; color: #EDD !important;}'
  533. +
  534. '.phabricator-remarkup .remarkup-important {background: none repeat scroll 0% 0% rgba(39, 24, 23, 1) !important;}'
  535. +
  536. '.phui-list-item-href {background: none repeat scroll 0% 0% rgba(104, 40, 29, 1) !important;}'
  537. +
  538. '.dashboard-panel .phui-list-view.phui-list-navbar {border-left: 1px solid rgba(146, 42, 25, 1) !important; border-right: 1px solid rgba(153, 34, 14, 1) !important; border-bottom: 1px solid rgba(78, 32, 24, 1) !important;}'
  539. +
  540. '.phui-list-view.phui-list-navbar > li {border-right: 1px solid rgba(126, 18, 18, 1) !important; background: rgba(74, 40, 40, 1) !important;}'
  541. +
  542. '.phui-list-view.phui-list-navbar {background: none repeat scroll 0% 0% #382B2B !important;}'
  543. +
  544. '.phui-object-item-bar-color-violet {border-left-color: rgba(167, 74, 58, 1) !important;}'
  545. +
  546. '.dashboard-panel .phui-object-item-list-view .phui-object-item {background-color: #231B19 !important; border-color: #892616 #892616 #892616 #A44D3F !important;}'
  547. +
  548. '.dashboard-panel .maniphest-task-group-header {background: none repeat scroll 0% 0% rgba(86, 41, 41, 1) !important;}'
  549. +
  550. '.dashboard-panel .phui-object-item-frame, .dashboard-panel .phui-object-item-list-view, .maniphest-task-group-header {border-color: rgba(83, 24, 14, 1) !important;}'
  551. +
  552. '.phui-tag-shade-violet .phui-tag-core {background-color: rgba(160, 124, 182, 1) !important; border-color: rgba(114, 56, 141, 1) !important; color: #EDD !important;}'
  553. +
  554. '.phui-tag-shade-yellow .phui-tag-core {background-color: rgba(201, 156, 43, 1) !important; border-color: rgba(168, 108, 48, 1) !important; color: #EDD !important;}'
  555. +
  556. '.phui-tag-shade-blue .phui-tag-core {background-color: rgba(53, 101, 192, 1) !important; border-color: rgba(25, 115, 176, 1) !important; color: #EDD !important;}'
  557. +
  558. '.phui-tag-shade-green .phui-tag-core {background-color: rgba(19, 147, 19, 1) !important; border-color: rgba(29, 174, 34, 1) !important; color: #EDD !important;}'
  559. +
  560. '.phui-tag-shade-disabled .phui-tag-core, .aphront-dialog-view {background-color: rgba(140, 140, 140, 1) !important; border-color: rgba(74, 74, 74, 1) !important; color: #EDD !important;}'
  561. +
  562. '.phui-object-item-image, .phui-pinboard-item-image-link img {opacity: .8 !important;}'
  563. +
  564. '.UQ0_8 {color: #EDD !important;}'
  565. +
  566. '.dashboard-panel .phui-pinboard-view {background: none repeat scroll 0% 0% #382B2B !important; border-color: rgba(83, 24, 14, 1) !important;}'
  567. +
  568. '.phui-pinboard-item-view {background: none repeat scroll 0% 0% rgba(69, 29, 29, 1) !important; border-color: rgba(83, 24, 14, 1) !important;}'
  569. +
  570. '.phui-pinboard-item-content + .phui-pinboard-icons, .phui-pinboard-item-image-link + .phui-pinboard-icons {border-top: 1px solid rgba(111, 36, 24, 1) !important;}'
  571. +
  572. '.phui-pinboard-item-header {border-bottom: 1px solid rgba(92, 26, 15, 1) !important;}'
  573. +
  574. '.phabricator-crumbs-view {border-bottom: 1px solid rgba(90, 36, 28, 1) !important;}'
  575. +
  576. '.aphront-dialog-body {background: none repeat scroll 0% 0% rgba(80, 25, 25, 1) !important;}'
  577. +
  578. '.aphront-dialog-head .phui-action-header {border-bottom: 1px solid rgba(123, 39, 25, 1) !important;}'
  579. +
  580. '.aphront-dialog-tail {background: none repeat scroll 0% 0% rgba(36, 25, 25, 1) !important; border-color: rgba(107, 37, 25, 1) -moz-use-text-color -moz-use-text-color !important;}'
  581. +
  582. '.aphront-dialog-head .phui-action-header .phui-action-header-title {color: rgba(153, 33, 13, 1) !important; text-shadow: 0px 1px 2px rgba(29, 7, 7, 1) !important;}'
  583. +
  584. '.phui-form-view label.aphront-form-label {color: #EDD !important;}'
  585. +
  586. '#base-page button, #base-page a.button, #base-page a.button:visited, #base-page input[type="submit"] {background-color: rgba(155, 41, 22, 1) !important; background-image: linear-gradient(to bottom, rgba(150, 39, 21, 1), rgba(99, 25, 13, 1)) !important; border: 1px solid rgba(141, 41, 25, 1) !important; color: #EDD !important;}'
  587. +
  588. '#base-page textarea, #base-page input[type="text"], #base-page input[type="password"], #base-page input[type="datetime"], #base-page input[type="datetime-local"], #base-page input[type="date"], #base-page input[type="month"], #base-page input[type="time"], #base-page input[type="week"], #base-page input[type="number"], #base-page input[type="email"], #base-page input[type="url"], #base-page input[type="search"], #base-page input[type="tel"], #base-page input[type="color"], div.jx-tokenizer-container {background-color: rgba(56, 28, 28, 1) !important; border: 1px solid rgba(102, 29, 17, 1) !important; color: #EDD !important; box-shadow: none !important;}'
  589. +
  590. '.phabricator-nav-content {color: #EDD !important;}'
  591. +
  592. '.phabricator-crumbs-view, .phabricator-crumbs-view a.phabricator-crumb-view, .phabricator-crumbs-view a.phabricator-crumbs-action {color: rgba(179, 40, 17, 1) !important; text-shadow: 0px 1px 1px rgba(81, 46, 46, 0.9) !important;}'
  593. +
  594. '.mw-search-profile-tabs {background-color: #2A1916 !important; border: 1px solid rgba(59, 8, 8, 1) !important;}'
  595. +
  596. '.mw-special-Search .searchmatch {background-color: rgba(152, 53, 42, 1) !important;}'
  597. +
  598. '.translations tbody tr td {background-color: rgba(62, 28, 23, 1) !important;}'
  599. +
  600. '.related tbody tr td, .terms tbody tr td {background: #3B1D18 !important;}'
  601. +
  602. '.ttbc {background-color: #2F0C0C !important;}'
  603. // DARKEN OVERRIDE
  604. +
  605. '.mw-content-ltr div {background: none repeat scroll 0% 0% rgba(33, 22, 22, 1) !important;}'
  606. +
  607. '#mw-content-text div:nth-of-type(1) {background: none repeat scroll 0% 0% rgba(27, 17, 17, 1) !important;}'
  608. +
  609. '.wikitable tbody tr td {color: rgba(255, 255, 255, 1) !important; text-shadow: 0px 0px 2px #000 !important;}'
  610. +
  611. 'input, textarea .oo-ui-textInputWidget.oo-ui-widget-enabled input, .oo-ui-textInputWidget.oo-ui-widget-enabled textarea {background: #471212 !important; color: #EDD !important;}'
  612. +
  613. 'div#mw-panel div.portal div.body {background-image: none !important; border-bottom: 1px solid #3e2525 !important;}'
  614. +
  615. '.mw-searchresults-has-iw .iw-resultset {background-color: #351d19 !important;}'
  616. +
  617. '.mw-special-Search .searchmatch {background-color: rgb(69, 29, 25) !important;}'
  618. +
  619. '#mw-content-text div:nth-of-type(1) {background: none repeat scroll 0% 0% rgba(27, 17, 17, 0) !important;}'
  620. );