ShadeRoot WP

Eye-friendly magic in your browser for Wikipedia

当前为 2014-12-17 提交的版本,查看 最新版本

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