GreasyFork - Dark Theme

Customizable Dark theme For GreasyFork.org

当前为 2020-07-08 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name GreasyFork - Dark Theme
  3. @namespace https://greasyfork.org/en/users/124677-pabli
  4. @version 1.1.1
  5. @description Customizable Dark theme For GreasyFork.org
  6. @author Pabli
  7. @license CC-BY-SA-4.0
  8. @homepageURL https://greasyfork.org/en/scripts/395180-greasyfork-dark-theme
  9. @supportURL https://greasyfork.org/en/scripts/395180-greasyfork-dark-theme/feedback
  10. @preprocessor stylus
  11. @var number maxwidth "Width Site (px)" 960
  12. @var number maxwidthf "Width Forum (px)" 960
  13. @var select theme "Theme syntax" ["Desert", "Sunburst", "Sons-Of-Obsidian", "Doxy"]
  14. @var checkbox wrap "Code wrap" 1
  15. @var checkbox scrollbar "Dark Scroll Bar" 1
  16. @var checkbox sidebar "Forum sidebar to the right" 0
  17. @var color bg-header "Header background" #640000
  18. @var color t-header "Header text" #fafafa
  19. @var color bg "Background" #111
  20. @var color t-1 "Main text" #fafafa
  21. @var color t-2 "Second text" #aeaeae
  22. @var color t-link "Link" #ff7070
  23. @var color bg-sidebar "Sidebar" #1a1a1a
  24. @var color bg-sidebar-btn "Sidebar button" #510909
  25. @var color bg-sidebar-btn-h "Sidebar button hover" #323232
  26. @var color bg-btn "Button" #1a1a1a
  27. @var color bg-btn-h "Button hover" #323232
  28. @var color t-btn "Button text" #fafafa
  29. @var color border-btn "Button border" rgba(255, 255, 255, 0.1)
  30. @var color border-btn-h "Button border hover" rgba(255, 255, 255, 0.2)
  31. @var color bg-textarea "Text area background" #1a1a1a
  32. @var color bg-usercontent "User content background" rgba(0, 0, 0, 0)
  33. ==/UserStyle== */
  34.  
  35. @-moz-document domain("greasyfork.org") {
  36.  
  37. .width-constraint {
  38. max-width: maxwidth px;
  39. }
  40. body, .script-list, .user-list, .text-content,
  41. #script-info,
  42. body:not(.Settings), #Content {
  43. background-color: bg;
  44. color: t-1;
  45. }
  46. .announcement input {
  47. color: t-1;
  48. }
  49. #main-header,
  50. body:not(.Settings) #Head {
  51. background-color: bg-header;
  52. background-image: linear-gradient(rgba(0, 0, 0, 0.3), bg-header);
  53. }
  54. .script-list, .user-list, .text-content,
  55. .list-option-group ul,
  56. #script-info,
  57. #Content {
  58. box-shadow: none;
  59. border: none;
  60. }
  61. a, a:visited, body:not(.Settings) a:not(.Button):not(.ChangePicture) {
  62. color: t-link;
  63. text-decoration: none;
  64. &:hover {
  65. color: t-link;
  66. text-decoration: underline;
  67. }
  68. }
  69. #Head a {
  70. text-decoration: none;
  71. &:hover {
  72. text-decoration: underline;
  73. }
  74. }
  75. #main-header, #main-header a, #main-header a:visited, #main-header a:active,
  76. #site-nav>nav a:hover {
  77. color: t-header;
  78. }
  79. #site-name-text h1 a:hover {
  80. text-decoration: none !important;
  81. }
  82. #home-script-nav {
  83. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  84. }
  85. #language-selector-locale {
  86. background: bg-header;
  87. color: t-header;
  88. border: 1px solid rgba(255, 255, 255, .5);
  89. }
  90. nav nav,
  91. .SiteMenu nav {
  92. background-color: bg-header;
  93. }
  94.  
  95. textarea, textarea:focus, select, input, input.DateBox, input.InputBox, input.SmallInput, .InputBox, .Preview, input.SmallInput:focus, input.InputBox:focus,
  96. form.new_user input[type="text"], form.new_user input[type="email"], form.new_user input[type="password"], input[type="text"] {
  97. color: t-1;
  98. background: bg-textarea;
  99. border: 1px solid rgba(255, 255, 255, .1);
  100. outline: none;
  101. }
  102. .Button, .Button.Active, .ButtonGroup.Open .Button.Handle, .Button:focus, .Button:active, .BigButton, .NewDiscussion,
  103. form.new_user input[type="submit"], button {
  104. background: bg-btn;
  105. color: t-btn !important;
  106. border: 1px solid border-btn;
  107. text-decoration: none;
  108. box-shadow: none;
  109. cursor: pointer;
  110. &:hover {
  111. background: bg-btn-h;
  112. color: t-btn;
  113. border-color: border-btn-h;
  114. text-decoration: none;
  115. }
  116. }
  117. :focus {
  118. outline-style: none;
  119. }
  120. //search
  121. .sidebar-search input[type=submit], .home-search input[type=submit], .search-submit, .SiteSearch .Button {
  122. color: transparent !important;
  123. opacity: 1;
  124. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABYklEQVQ4T5XTu2qVQRTF8d8CMdp7AW9V7MwLaNKo7+ANe1ERK7Hy2oidmOALiMlDKIIS8QEsRLFRYqG9lyBsmThHviMnB7ObGT5m/t9ae6+JQVXVAi6hrbvwFS+xmGR1eHa0T9tU1TY8xIVJh/q3JVxN8mt4ZgR41C9/wz08wSccxDlcx04sJbk8BuiyX6BdPpHk9b8qquoonnbI/NBOqmoFp3Ajyd3NLFTVLdzEcpKzf3tQVWvYh9kkH6YAZvEea0kODAE/sR0zSdanAGbwA+tJ2n6jmoX/VXAY7/A5yf4hYBmnm78kd6YouN36hJUkZ4aA+R6W7ziZ5NWEKRzrU2jSF8am0IPUQnIRDXIfj/ERh3Ae17ADXzCXpK1/ejBI4oMOmeSieqz34E3PywZkAzCqqmpSR29hb7/UQrbYR/gMR4aQMcBmDRz8YDcaZA5vcXxLgG632Rgpeb5lwADSnsCV30xRiAuwE+OqAAAAAElFTkSuQmCC') no-repeat center !important;
  125. border: none !important;
  126. cursor: pointer;
  127. }
  128. .SiteSearch .Button {
  129. top: 6px;
  130. }
  131. .SearchForm .SiteSearch .Button {
  132. top: 10px;
  133. }
  134. #Panel input.InputBox, .AddPeople textarea.MultiComplete {
  135. border-radius: 5px;
  136. }
  137. .sidebar-search input[type=search],
  138. .home-search input[type=search] {
  139. border-radius: 5px;
  140. padding: 5px;
  141. padding-inline-end: 25px;
  142. }
  143. .sidebar-search input[type=submit],
  144. .home-search input[type=submit] {
  145. padding: 5px;
  146. }
  147. .SearchForm .InputBox {
  148. border: 1px solid rgba(255, 255, 255, .1);
  149. }
  150. // sidebar
  151. .list-option-group ul,
  152. #Panel .FilterMenu, #Panel .PanelCategories, #Panel .MeBox,
  153. .list-option-groups .carbon-ad, .list-option-groups .adsense-ad {
  154. border: 1px solid rgba(255, 255, 255, .1);
  155. background-color: bg-sidebar;
  156. box-shadow: none;
  157. }
  158. .list-option-button {
  159. background-color: bg-sidebar;
  160. color: t-1 !important;
  161. border: 1px solid rgba(255, 255, 255, .1);
  162. }
  163. .list-option-group .list-current,
  164. #Panel .FilterMenu .Active a, #Panel .PanelCategories .Active a {
  165. border-left: none;
  166. margin: unset;
  167. background: bg-sidebar-btn !important;
  168. color: t-1;
  169. }
  170. .list-option-button:hover, .list-option-button:focus,
  171. .list-option-group a:hover, .list-option-group a:focus,
  172. #Panel .FilterMenu a:hover, #Panel .PanelCategories a:hover, #Panel .FilterMenu a:focus, #Panel .PanelCategories a:focus {
  173. background: bg-sidebar-btn-h;
  174. color: t-1 !important;
  175. text-decoration: none !important;
  176. box-shadow: none;
  177. }
  178. if sidebar {
  179. #Panel {
  180. float: right;
  181. }
  182. }
  183.  
  184. #user-profile {
  185. border: 1px solid rgba(255, 255, 255, .1);
  186. background-color: rgba(0,0,0,0);
  187. }
  188. .change-script-set section {
  189. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  190. }
  191.  
  192. .install-link, .install-help-link {
  193. color: #fff !important;
  194. }
  195. .script-list li:not(.ad-entry),
  196. .DataList .Item, .NarrowList .Item {
  197. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  198. }
  199. .notice {
  200. background-color: #1c2123;
  201. border-left: 6px solid #204050;
  202. }
  203. .alert {
  204. background-color: #222211;
  205. border-left: 6px solid #a1931a;
  206. }
  207. #version-note {
  208. background-color: #4e4e0e;
  209. border: 2px dotted #bfd314;
  210. }
  211.  
  212. .rating-icon-good {
  213. color: #ccffcc;
  214. }
  215. .rating-icon-ok {
  216. color: #ffffcc;
  217. }
  218. .rating-icon-bad {
  219. color: #ffcccc;
  220. }
  221.  
  222. .badge-author {
  223. background-color: rgba(0,128,0,0.7);
  224. color: white;
  225. }
  226.  
  227. .good-rating-count {
  228. color: #80ff80;
  229. }
  230. .ok-rating-count {
  231. color: #ffff80;
  232. }
  233. .bad-rating-count {
  234. color: #ff8080;
  235. }
  236.  
  237. //pagination buttons
  238. .pagination>*, .script-list+.pagination>*, .user-list+.pagination>*,
  239. .Pager > * {
  240. background-color: transparent;
  241. }
  242. .pagination>a:hover, .pagination>a:focus,
  243. .Pager > a:hover, .Pager > a:focus {
  244. background-color: bg-sidebar-btn-h;
  245. color: t-1 !important;
  246. text-decoration: none !important;
  247. }
  248. body .Pager .Highlight {
  249. color: t-1 !important;
  250. }
  251. // /stats script
  252. canvas {
  253. filter: invert(1) brightness(2);
  254. }
  255. //gallery
  256. .jslghtbx-contentwrapper>img {
  257. background: #000;
  258. }
  259. .jslghtbx-prev.jslghtbx-no-img {
  260. border-right-color: #aaa;
  261. }
  262. .jslghtbx-next.jslghtbx-no-img {
  263. border-left-color: #aaa;
  264. }
  265. // feedback
  266. .discussion-list-item {
  267. border-top: 1px solid rgba(255, 255, 255, .1);
  268. }
  269. .script-discussion-list .discussion-list-item:last-child {
  270. border-bottom: 1px solid rgba(255, 255, 255, .1);
  271. }
  272. .user-content {
  273. border-bottom: 1px solid rgba(255,255,255,0.1);
  274. border-left: none;
  275. background: bg-usercontent;
  276. }
  277. .script-list, .user-list, .text-content, .discussion-list {
  278. box-shadow: none;
  279. background-color: unset;
  280. border: none;
  281. }
  282. // history code
  283. .diff ul {
  284. background: #000;
  285. }
  286. .diff li:hover {
  287. background-color: rgba(255, 255, 255, .2) !important
  288. }
  289. .diff li.del, .diff del strong {
  290. background-color: rgba(255, 0, 0, .2);
  291. color: #fdd;
  292. }
  293. .diff li.ins, .diff ins strong {
  294. background-color: rgba(0, 255, 0, .2);
  295. color: #dfd;
  296. }
  297. .diff li.diff-block-info {
  298. background: none repeat scroll 0 0 #252525;
  299. }
  300.  
  301. .DiscussionForm label {
  302. color: t-2;
  303. }
  304.  
  305. .editor-fullpage #editor-fullpage-candidate,
  306. .editor-fullpage #editor-fullpage-candidate .editor {
  307. background-color: #000;
  308. }
  309.  
  310. code, .Message pre {
  311. background-color: #151515;
  312. }
  313. pre, code, .Message pre {
  314. border: 1px solid rgba(255, 255, 255, .1);
  315. }
  316.  
  317. if theme == Desert {
  318. /* desert scheme ported from vim to google prettify */
  319. pre.prettyprint, pre.prettyprinted, .Message pre ol { display: block; background-color: #333 }
  320. pre .nocode { background-color: none; color: #000 }
  321. pre .str { color: #ffa0a0 } /* string - pink */
  322. pre .kwd { color: #f0e68c; font-weight: bold }
  323. pre .com { color: #87ceeb } /* comment - skyblue */
  324. pre .typ { color: #98fb98 } /* type - lightgreen */
  325. pre .lit { color: #cd5c5c } /* literal - darkred */
  326. pre .pun { color: #fff } /* punctuation */
  327. pre .pln { color: #fff } /* plaintext */
  328. pre .tag { color: #f0e68c; font-weight: bold } /* html/xml tag - lightyellow */
  329. pre .atn { color: #bdb76b; font-weight: bold } /* attribute name - khaki */
  330. pre .atv { color: #ffa0a0 } /* attribute value - pink */
  331. pre .dec { color: #98fb98 } /* decimal - lightgreen */
  332.  
  333. /* Specify class=linenums on a pre to get line numbering */
  334. ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE } /* IE indents via margin-left */
  335. li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
  336. /* Alternate shading for lines */
  337. li.L1,li.L3,li.L5,li.L7,li.L9 { }
  338. }
  339. else if theme == Sunburst {
  340. /* Pretty printing styles. Used with prettify.js. */
  341. /* Vim sunburst theme by David Leibovic */
  342. pre .str, code .str { color: #65B042; } /* string - green */
  343. pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */
  344. pre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */
  345. pre .typ, code .typ { color: #89bdff; } /* type - light blue */
  346. pre .lit, code .lit { color: #3387CC; } /* literal - blue */
  347. pre .pun, code .pun { color: #fff; } /* punctuation - white */
  348. pre .pln, code .pln { color: #fff; } /* plaintext - white */
  349. pre .tag, code .tag { color: #89bdff; } /* html/xml tag - light blue */
  350. pre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name - khaki */
  351. pre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */
  352. pre .dec, code .dec { color: #3387CC; } /* decimal - blue */
  353.  
  354. pre.prettyprint, code.prettyprint, , pre.prettyprinted, .Message pre ol {
  355. background-color: #000;
  356. border-radius: 8px;
  357. }
  358. /* Specify class=linenums on a pre to get line numbering */
  359. ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; } /* IE indents via margin-left */
  360. li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
  361. /* Alternate shading for lines */
  362. li.L1,li.L3,li.L5,li.L7,li.L9 { }
  363. }
  364. else if theme == Sons-Of-Obsidian {
  365. /*
  366. * Derived from einaros's Sons of Obsidian theme at
  367. * http://studiostyl.es/schemes/son-of-obsidian by
  368. * Alex Ford of CodeTunnel:
  369. * http://CodeTunnel.com/blog/post/71/google-code-prettify-obsidian-theme
  370. */
  371. .str { color: #EC7600; }
  372. .kwd { color: #93C763; }
  373. .com { color: #66747B; }
  374. .typ { color: #678CB1; }
  375. .lit { color: #FACD22; }
  376. .pun { color: #F1F2F3; }
  377. .pln { color: #F1F2F3; }
  378. .tag { color: #8AC763; }
  379. .atn { color: #E0E2E4; }
  380. .atv { color: #EC7600; }
  381. .dec { color: purple; }
  382. pre.prettyprint { border: 0px solid #888; }
  383. ol.linenums
  384. {
  385. margin-top: 0;
  386. margin-bottom: 0;
  387. }
  388. .prettyprint, , pre.prettyprinted, .Message pre ol {
  389. background: #000;
  390. }
  391. li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9
  392. {
  393. color: #555;
  394. list-style-type: decimal;
  395. }
  396. li.L1, li.L3, li.L5, li.L7, li.L9 {
  397. background: #111;
  398. }
  399. }
  400. else if theme == Doxy {
  401. /* Doxy pretty-printing styles. Used with prettify.js. */
  402. pre .str, code .str { color: #fec243; } /* string - eggyolk gold */
  403. pre .kwd, code .kwd { color: #8470FF; } /* keyword - light slate blue */
  404. pre .com, code .com { color: #32cd32; font-style: italic; } /* comment - green */
  405. pre .typ, code .typ { color: #6ecbcc; } /* type - turq green */
  406. pre .lit, code .lit { color: #d06; } /* literal - cherry red */
  407. pre .pun, code .pun { color: #8B8970; } /* punctuation - lemon chiffon4 */
  408. pre .pln, code .pln { color: #f0f0f0; } /* plaintext - white */
  409. pre .tag, code .tag { color: #9c9cff; } /* html/xml tag (bluey) */
  410. pre .htm, code .htm { color: #dda0dd; } /* html tag light purply*/
  411. pre .xsl, code .xsl { color: #d0a0d0; } /* xslt tag light purply*/
  412. pre .atn, code .atn { color: #46eeee; font-weight: normal;} /* html/xml attribute name - lt turquoise */
  413. pre .atv, code .atv { color: #EEB4B4; } /* html/xml attribute value - rosy brown2 */
  414. pre .dec, code .dec { color: #3387CC; } /* decimal - blue */
  415. pre.prettyprint, code.prettyprint, pre.prettyprinted, .Message pre ol {
  416. font-family:'Droid Sans Mono','CPMono_v07 Bold','Droid Sans';
  417. font-weight: bold;
  418. font-size: 9pt;
  419. background-color: #0f0f0f;
  420. -moz-border-radius: 8px;
  421. -webkit-border-radius: 8px;
  422. -o-border-radius: 8px;
  423. -ms-border-radius: 8px;
  424. -khtml-border-radius: 8px;
  425. border-radius: 8px;
  426. } /* background is black (well, just a tad less dark ) */
  427. pre.prettyprint a, code.prettyprint a {
  428. text-decoration:none;
  429. }
  430. /* Specify class=linenums on a pre to get line numbering; line numbers themselves are the same color as punctuation */
  431. ol.linenums { margin-top: 0; margin-bottom: 0; color: #8B8970; } /* IE indents via margin-left */
  432. li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
  433. /* Alternate shading for lines */
  434. li.L1,li.L3,li.L5,li.L7,li.L9 { }
  435. }
  436. if wrap {
  437. pre.prettyprint, pre code {
  438. word-break: break-word;
  439. overflow-wrap: break-word;
  440. white-space: pre-wrap;
  441. }
  442. }
  443. // ace theme tomorrow_night_bright
  444. // Enable syntax-highlighting source editor
  445. #ace-editor {
  446. border: 1px solid rgba(255, 255, 255, 0.1);
  447. }
  448. .ace_gutter {
  449. background: #1a1a1a !important;
  450. color: #DEDEDE !important;
  451. }
  452. .ace_print-margin {
  453. width: 1px !important;
  454. background: #1a1a1a !important;
  455. }
  456. .ace_editor {
  457. background-color: #000000 !important;
  458. color: #DEDEDE !important;
  459. }
  460. .ace_cursor {
  461. color: #9F9F9F !important;
  462. }
  463. .ace_marker-layer .ace_selection {
  464. background: #424242 !important;
  465. }
  466. .ace_multiselect .ace_selection.ace_start {
  467. box-shadow: 0 0 3px 0px #000000 !important;
  468. }
  469. .ace_marker-layer .ace_step {
  470. background: rgb(102, 82, 0) !important;
  471. }
  472. .ace_marker-layer .ace_bracket {
  473. margin: -1px 0 0 -1px !important;
  474. border: 1px solid #888888 !important;
  475. }
  476. .ace_marker-layer .ace_highlight {
  477. border: 1px solid rgb(110, 119, 0) !important;
  478. border-bottom: 0 !important;
  479. box-shadow: inset 0 -1px rgb(110, 119, 0) !important;
  480. margin: -1px 0 0 -1px !important;
  481. background: rgba(255, 235, 0, 0.1) !important;
  482. }
  483. .ace_marker-layer .ace_active-line {
  484. background: #2A2A2A !important;
  485. }
  486. .ace_gutter-active-line {
  487. background-color: #2A2A2A !important;
  488. }
  489. .ace_stack {
  490. background-color: rgb(66, 90, 44) !important;
  491. }
  492. .ace_marker-layer .ace_selected-word {
  493. border: 1px solid #888888 !important;
  494. }
  495. .ace_invisible {
  496. color: #343434 !important;
  497. }
  498. .ace_keyword,
  499. .ace_meta,
  500. .ace_storage,
  501. .ace_storage.ace_type,
  502. .ace_support.ace_type {
  503. color: #C397D8 !important;
  504. }
  505. .ace_keyword.ace_operator {
  506. color: #70C0B1 !important;
  507. }
  508. .ace_constant.ace_character,
  509. .ace_constant.ace_language,
  510. .ace_constant.ace_numeric,
  511. .ace_keyword.ace_other.ace_unit,
  512. .ace_support.ace_constant,
  513. .ace_variable.ace_parameter {
  514. color: #E78C45 !important;
  515. }
  516. .ace_constant.ace_other {
  517. color: #EEEEEE !important;
  518. }
  519. .ace_invalid {
  520. color: #CED2CF !important;
  521. background-color: #DF5F5F !important;
  522. }
  523. .ace_invalid.ace_deprecated {
  524. color: #CED2CF !important;
  525. background-color: #B798BF !important;
  526. }
  527.  
  528. .ace_fold {
  529. background-color: #7AA6DA !important;
  530. border-color: #DEDEDE !important;
  531. }
  532. .ace_entity.ace_name.ace_function,
  533. .ace_support.ace_function,
  534. .ace_variable {
  535. color: #7AA6DA !important;
  536. }
  537. .ace_support.ace_class,
  538. .ace_support.ace_type {
  539. color: #E7C547 !important;
  540. }
  541. .ace_heading,
  542. .ace_markup.ace_heading,
  543. .ace_string {
  544. color: #B9CA4A !important;
  545. }
  546. .ace_entity.ace_name.ace_tag,
  547. .ace_entity.ace_other.ace_attribute-name,
  548. .ace_meta.ace_tag,
  549. .ace_string.ace_regexp,
  550. .ace_variable {
  551. color: #D54E53 !important;
  552. }
  553. .ace_comment {
  554. color: #969896 !important;
  555. }
  556. .ace_c9searchresults.ace_keyword {
  557. color: #C2C280 !important;
  558. }
  559. .ace_indent-guide {
  560. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC') right repeat-y !important;
  561. }
  562.  
  563.  
  564. form.external-login-form,
  565. form.new_user {
  566. background-color: bg;
  567. border: none;
  568. }
  569. form.new_user input[type="text"], form.new_user input[type="email"], form.new_user input[type="password"] {
  570. color: texxt-color;
  571. background-color: textarea-color;
  572. border: 1px solid rgba(255, 255, 255, .1);
  573. box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  574. }
  575.  
  576. .external-login {
  577. border: 1px solid border-btn;
  578. background-repeat: no-repeat !important;
  579. background-size: 16px 16px !important;;
  580. background-position: 5px 2px !important;;
  581. }
  582.  
  583.  
  584. //forum
  585. .ItemDiscussion .Meta, .DataList .Meta,
  586. dl.About dt {
  587. color: t-2;
  588. }
  589. .Item.Read {
  590. background: rgba(255, 255, 255, 0.02);
  591. }
  592. .MenuItems, .FlyoutMenu {
  593. border: 1px solid rgba(255, 255, 255, 0.1);
  594. background: bg-sidebar;
  595. color: t-1;
  596. }
  597. .Flyout:after {
  598. border-bottom: 7px solid bg-sidebar;
  599. }
  600. .MenuItems a, .MenuItems a:link, .MenuItems a:visited, .MenuItems a:active {
  601. color: t-1 !important;
  602. }
  603. .MenuItems a:hover {
  604. color: t-1 !important;
  605. text-decoration: none !important;
  606. background-color: bg-sidebar-btn-h !important;
  607. }
  608. .MenuItems hr {
  609. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  610. }
  611. .PopList .Meta {
  612. color: t-2;
  613. }
  614. .FlyoutMenu a {
  615. color: t-link;
  616. }
  617. blockquote.Quote, blockquote.UserQuote {
  618. background: rgba(255, 255, 255, 0.05);
  619. border-left: 4px solid rgba(255, 255, 255, 0.1);
  620. }
  621. .OptionsTitle {
  622. filter: invert(1);
  623. }
  624. .ReactSprite, .SpEditProfile {
  625. background-image: url(https://i.imgur.com/HbaKg8l.png);
  626. }
  627. .SpNotifications, .SpGlobe {
  628. background-position: -32px -212px;
  629. }
  630. .SpInbox, .SpEnvelope {
  631. background-position: 0 -228px;
  632. }
  633. .SpBookmarks, .SpStar {
  634. background-position: -80px -245px;
  635. }
  636. .SpDashboard, .SpOptions, .SpCog {
  637. background-position: 0 -211px;
  638. }
  639. table.PreferenceGroup tbody tr:hover td {
  640. background: rgba(255, 255, 255, 0.05);
  641. }
  642. .DismissMessage {
  643. color: t-1;
  644. }
  645. .WarningMessage {
  646. background: #19100f;
  647. border: 1px solid #4c2825;
  648. }
  649. span.Warning, div.Warning {
  650. background: #19100f;
  651. border: 2px solid #4c2825;
  652. color: #ffffff;
  653. }
  654. div.Popup .Body {
  655. background: bg;
  656. }
  657. .NavButton, .NavButton:hover, .ButtonGroup.Open .NavButton.Handle {
  658. border: 1px solid rgba(255, 255, 255, 0.1);
  659. background-color: bg-sidebar;
  660. color: t-1!important;
  661. text-decoration: none!important;
  662. }
  663.  
  664. .PoweredByVanilla {
  665. display: none;
  666. }
  667.  
  668. #Panel {
  669. margin: unset;
  670. }
  671. #Body {
  672. max-width: none;
  673. }
  674. #Body .Row {
  675. width: max-content;
  676. }
  677. #Content {
  678. width: maxwidthf - 200 px;
  679. }
  680.  
  681. //
  682. .tabs>*:not(.current) a {
  683. margin-top: unset;
  684. padding-top: unset;
  685. }
  686. .tabs .current {
  687. border-top: none;
  688. }
  689. .tabs>*>* {
  690. padding: 0.25em .5em .5em!important;
  691. }
  692. .current {
  693. font-weight: bold;
  694. }
  695.  
  696. .PageControls {
  697. margin: 0px;
  698. }
  699.  
  700. #Content .HomepageTitle {
  701. border-top: none;
  702. margin: 0px;
  703. padding: 0px;
  704. }
  705.  
  706. img[src*="images/defaulticon.png"] {
  707. opacity: 0.5;
  708. }
  709.  
  710. if scrollbar {
  711. //chrome
  712. ::-webkit-scrollbar {
  713. width: 8px;
  714. background-color: rgba(0, 0, 0, 0);
  715. }
  716. ::-webkit-scrollbar-thumb {
  717. background-color: #444;
  718. }
  719. ::-webkit-scrollbar-thumb:hover {
  720. background: #777 !important;
  721. }
  722. ::-webkit-scrollbar-corner {
  723. background: #444;
  724. }
  725. //firefox
  726. html {
  727. scrollbar-color: #444 bg !important;
  728. scrollbar-width: thin !important;
  729. }
  730. }
  731.  
  732.  
  733. //ads
  734. div#cf, div#cf span.cf-wrapper {
  735. background-color: rgba(255, 255, 255, .03) !important;
  736. }
  737. div#cf span.cf-wrapper span.cf-text,
  738. div#cf span.cf-wrapper a.cf-text,
  739. div#cf span.cf-wrapper a.cf-powered-by {
  740. color: hsla(0,0%,100%,.7) !important;
  741. }
  742. div#cf span.cf-wrapper a.cf-text span.cf-cta {
  743. color: #fff !important;
  744. }
  745. #script-show-info-ad #carbonads {
  746. background-color: unset;
  747. }
  748.  
  749. }