GreasyFork Dark

12/17/2023, 6:12:59 PM

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

  1. // ==UserScript==
  2. // @name GreasyFork Dark
  3. // @namespace Violentmonkey Scripts
  4. // @match https://gf.qytechs.cn/*
  5. // @match https://sleazyfork.org/*
  6. // @grant none
  7. // @version 0.1.22
  8. // @author CY Fung
  9. // @description 12/17/2023, 6:12:59 PM
  10. // @run-at document-start
  11. // @unwrap
  12. // @inject-into page
  13. // @license MIT
  14. // ==/UserScript==
  15.  
  16. if(!localStorage.darkMode) localStorage.darkMode = 'true';
  17.  
  18. (() => {
  19.  
  20. const cssTextFn = () => `
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28. html {
  29. overflow-y: scroll
  30. }
  31.  
  32. body {
  33. margin: 0;
  34. background-color: #24272d;
  35. color: #e9e9e9;
  36. }
  37.  
  38. body,select,input {
  39. font-family: Open Sans,sans-serif,"Segoe UI Emoji"
  40. }
  41.  
  42. input, select {
  43. color: #dadada;
  44. background-color: #1e1e1e;
  45. outline:0;
  46. }
  47.  
  48. input {
  49. border: 1px solid #575757;
  50. }
  51.  
  52. textarea {
  53. background-color: #1e1e1e;
  54. color: #fff;
  55. outline: 0;
  56. }
  57. body .preview-results{
  58. border: 1px solid #565c70;
  59. }
  60.  
  61. body:lang(zh-CN),select:lang(zh-CN),input:lang(zh-CN) {
  62. font-family: Open Sans,Microsoft YaHei UI,sans-serif,"Segoe UI Emoji"
  63. }
  64.  
  65. body:lang(zh-TW),select:lang(zh-TW),input:lang(zh-TW) {
  66. font-family: Open Sans,Microsoft JHengHei UI,sans-serif,"Segoe UI Emoji"
  67. }
  68.  
  69. pre,code {
  70. direction: ltr!important
  71. }
  72.  
  73. textarea {
  74. resize: vertical
  75. }
  76.  
  77. a {
  78. color: #f7c67f;/*#f65e5e;*/
  79. }
  80.  
  81. a:visited {
  82. color: #c9a573; /*#e97575;*/
  83. }
  84.  
  85. input[type=checkbox],input[type=radio] {
  86. vertical-align: middle
  87. }
  88.  
  89. #main-header {
  90. background-color: #967474;
  91. background-image: linear-gradient(#b93030,#891b1b);
  92. box-shadow: 0 0 15px 2px #00000080;
  93. padding: .25em 0
  94. }
  95.  
  96. .width-constraint {
  97. margin: auto;
  98. max-width: 1200px
  99. }
  100.  
  101. @media screen and (max-width: 1228px) {
  102. .width-constraint {
  103. margin:auto 1.2vw
  104. }
  105. }
  106.  
  107. #main-header .width-constraint {
  108. padding: 0 0 .25em;
  109. position: relative
  110. }
  111.  
  112. #site-name img {
  113. vertical-align: bottom
  114. }
  115.  
  116. #site-name-text {
  117. display: inline-block;
  118. vertical-align: top
  119. }
  120.  
  121. #site-name-text h1 {
  122. line-height: 1.1em
  123. }
  124.  
  125. #main-header,#main-header a,#main-header a:visited,#main-header a:active {
  126. color: #fff;
  127. }
  128.  
  129. #main-header h1 {
  130. font-size: 72px;
  131. margin: 0;
  132. letter-spacing: -2px
  133. }
  134.  
  135. #main-header h1 a {
  136. text-decoration: none
  137. }
  138.  
  139. #main-header .subtitle {
  140. margin: -8px 0 0 10px;
  141. font-size: .7em;
  142. text-shadow: -1px -1px 0px #670000,1px -1px 0px #670000,-1px 1px 0px #670000,1px 1px 0px #670000
  143. }
  144.  
  145. #site-nav>nav,#nav-user-info {
  146. text-align: right;
  147. position: absolute;
  148. right: 0
  149. }
  150.  
  151. #site-nav>nav {
  152. bottom: 0
  153. }
  154.  
  155. #nav-user-info {
  156. top: 0
  157. }
  158.  
  159. #site-nav>nav a:hover {
  160. color: #fff
  161. }
  162.  
  163. #site-nav>nav {
  164. padding: 0
  165. }
  166.  
  167. #site-nav>nav>li {
  168. list-style-type: none;
  169. display: inline-block
  170. }
  171.  
  172. #site-nav>nav>li+li {
  173. margin-left: .5em
  174. }
  175.  
  176. #script-search,#language-selector {
  177. display: inline
  178. }
  179.  
  180. #nav-user-info {
  181. font-size: small
  182. }
  183.  
  184. #nav-user-info select,#nav-user-info input {
  185. font-size: 11px
  186. }
  187.  
  188. nav nav {
  189. position: absolute;
  190. right: 0;
  191. background-color: #900;
  192. min-width: 100%;
  193. display: none;
  194. padding: 5px 0;
  195. z-index: 10
  196. }
  197.  
  198. nav nav li {
  199. white-space: nowrap;
  200. margin: 0
  201. }
  202.  
  203. nav nav li a {
  204. display: block;
  205. padding: 5px 15px
  206. }
  207.  
  208. nav a:hover+nav,nav nav:hover,nav a:focus+nav {
  209. display: block
  210. }
  211.  
  212. .with-submenu {
  213. position: relative;
  214. padding-right: 15px
  215. }
  216.  
  217. nav .with-submenu>a:after {
  218. content: " ▾"
  219. }
  220.  
  221. @media screen and (max-width: 920px) {
  222. #site-name img {
  223. max-width:96px;
  224. max-height: 96px;
  225. width: 12%;
  226. height: 12%
  227. }
  228.  
  229. #site-name-text {
  230. margin-top: 2.3vw
  231. }
  232.  
  233. #main-header h1 {
  234. font-size: 8.3vw
  235. }
  236.  
  237. #main-header .subtitle {
  238. margin: -.8em 0 0 10px;
  239. font-size: 2vw
  240. }
  241.  
  242. #site-nav {
  243. margin-top: -1vw
  244. }
  245.  
  246. #site-nav>nav,#nav-user-info {
  247. display: block;
  248. position: unset;
  249. right: unset;
  250. padding-top: .3em
  251. }
  252.  
  253. #site-nav>nav {
  254. bottom: unset
  255. }
  256.  
  257. #nav-user-info {
  258. top: unset;
  259. font-size: unset;
  260. width: 100%
  261. }
  262.  
  263. #nav-user-info .sign-in-link {
  264. padding-right: .7em
  265. }
  266.  
  267. #script-search,#language-selector {
  268. display: unset
  269. }
  270. }
  271.  
  272. #script-info {
  273. border: 1px solid #000000;
  274. border-radius: 5px;
  275. clear: left;
  276. background-color: #2e3037;
  277. margin: 1em 0;
  278. box-shadow: 0 0 5px #282828;
  279. }
  280.  
  281. #script-content {
  282. margin-top: 1.5em
  283. }
  284.  
  285. #script-content>*:first-child {
  286. margin-top: 0
  287. }
  288.  
  289. #script-info header h2 {
  290. margin: .25em 0 0;
  291. font-size: 2em;
  292. overflow-wrap: anywhere
  293. }
  294.  
  295. #script-description {
  296. margin: 0
  297. }
  298.  
  299. #version-note,#reported-note,#deleted-note {
  300. font-style: italic;
  301. background-color: #ff9;
  302. border: 2px dotted #CC9999;
  303. padding: .5em
  304. }
  305.  
  306. #script-feedback-suggestion {
  307. margin: .75em 0
  308. }
  309.  
  310. #script-content h3 {
  311. margin-top: 30px
  312. }
  313.  
  314. #install-area {
  315. margin-bottom: 1em
  316. }
  317.  
  318. #install-area .install-link:hover,#install-area .install-link:focus,#install-area .install-help-link:hover,#install-area .install-help-link:focus {
  319. transition: box-shadow .2s;
  320. box-shadow: 0 8px 16px #0003,0 6px 20px #00000030
  321. }
  322.  
  323. .install-link,.install-link:visited,.install-link:active,.install-link:hover,.install-help-link {
  324. transition: box-shadow .2s;
  325. display: inline-block;
  326. background-color: #005200;
  327. padding: .5em 1em;
  328. color: #fff;
  329. text-decoration: none
  330. }
  331.  
  332. .install-help-link,.install-help-link:visited,.install-help-link:active,.install-help-link:hover {
  333. background-color: #1e971e;
  334. color: #fff
  335. }
  336.  
  337. .inline-list,.block-list {
  338. padding-left: 0;
  339. padding-right: 0;
  340. list-style: none
  341. }
  342.  
  343. .inline-list {
  344. display: inline
  345. }
  346.  
  347. .block-list {
  348. display: block;
  349. margin: 0
  350. }
  351.  
  352. .inline-list li,.block-list li {
  353. display: inline
  354. }
  355.  
  356. .inline-list li:after,.block-list li:after {
  357. content: ", "
  358. }
  359.  
  360. body:lang(he) .inline-list li:after,body:lang(he) .block-list li:after,body:lang(ar) .inline-list li:after,body:lang(ar) .block-list li:after,body:lang(ug) .inline-list li:after,body:lang(ug) .block-list li:after,body:lang(ckb) .inline-list li:after,body:lang(ckb) .block-list li:after {
  361. content: "،"
  362. }
  363.  
  364. .inline-list li:last-child:after,.block-list li:last-child:after {
  365. content: ""
  366. }
  367.  
  368. dt[title]>span {
  369. border-bottom: 1px dotted black
  370. }
  371.  
  372. .form-section {
  373. margin-bottom: 2em
  374. }
  375.  
  376. .form-control {
  377. margin-bottom: 1em
  378. }
  379.  
  380. .form-control textarea,#ace-editor {
  381. width: 100%;
  382. box-sizing: border-box;
  383. margin-top: 1px;
  384. margin-bottom: 1px
  385. }
  386.  
  387. .form-control textarea:not([rows]),#ace-editor {
  388. height: 20em
  389. }
  390.  
  391. #ace-editor {
  392. border: 1px solid #BBB;
  393. border-style: inset;
  394. resize: both
  395. }
  396.  
  397. .form-control input:not([type=radio]):not([type=file]):not([type=checkbox]):not([type=search]):not([type=submit]):not([size]) {
  398. box-sizing: border-box;
  399. width: 100%
  400. }
  401.  
  402. .radio-group input[type=radio] {
  403. margin-left: 1em
  404. }
  405.  
  406. .form-control label {
  407. font-weight: 700
  408. }
  409.  
  410. .form-control label.radio-label,.form-control label.checkbox-label {
  411. font-weight: 400
  412. }
  413.  
  414. label.subselection-radio-title {
  415. font-weight: 400;
  416. font-size: small;
  417. display: block;
  418. margin-left: 3px
  419. }
  420.  
  421. .field_with_errors textarea {
  422. background-color: #fee
  423. }
  424.  
  425. .label-note {
  426. font-size: smaller
  427. }
  428.  
  429. .screenshots-controls>*:not(label) {
  430. padding-left: 1em
  431. }
  432.  
  433. .add-screenshot-control,.screenshot-control {
  434. clear: left
  435. }
  436.  
  437. .screenshot-control>* {
  438. vertical-align: middle
  439. }
  440.  
  441. .screenshot-control a {
  442. float: left;
  443. min-width: 150px;
  444. text-align: center
  445. }
  446.  
  447. #script-info,.user-list,.text-content,.discussion-list {
  448. padding: 0 1em 1em
  449. }
  450.  
  451. #script-info>*:last-child,.user-list>*:last-child,.text-content>*:last-child,.discussion-list>*:last-child {
  452. margin-bottom: 0
  453. }
  454.  
  455. .script-list {
  456. padding: 0
  457. }
  458.  
  459. .script-list,.user-list,.text-content,.discussion-list {
  460. list-style-type: none;
  461. box-shadow: 0 0 5px #101011;
  462. background-color: #313c51;
  463. color: #e0e0e0;
  464. border: 1px solid #27282c;
  465. border-radius: 5px;
  466. box-sizing: border-box;
  467. margin: 14px 0
  468. }
  469.  
  470. .user-list {
  471. padding: 1em;
  472. margin: 1em 0
  473. }
  474.  
  475. .script-link,.script-description,.user-link {
  476. unicode-bidi: isolate
  477. }
  478.  
  479. .list-option-groups~ol {
  480. width: calc(960px - 14em)
  481. }
  482.  
  483. .text-content .list-option-groups~ol {
  484. width: calc(960px - 16em)
  485. }
  486.  
  487. @media screen and (max-width: 960px) {
  488. #script-info,.user-list,.text-content {
  489. padding:0 1.2vw 1.2vw
  490. }
  491. }
  492.  
  493. .script-list li:not(.ad-entry) {
  494. border-bottom: 1px solid #000000;
  495. padding: 1em
  496. }
  497.  
  498. .script-list .cf-wrapper {
  499. margin: 0!important
  500. }
  501.  
  502. @media screen and (max-width: 960px) {
  503. .script-list li {
  504. padding:1.2vw
  505. }
  506. }
  507.  
  508. .script-list h2 {
  509. margin: 0;
  510. font-size: 18px
  511. }
  512.  
  513. .script-list p {
  514. margin: 0
  515. }
  516.  
  517. .script-list footer {
  518. margin-top: .25em
  519. }
  520.  
  521. .list-current,.script-list h2 {
  522. font-weight: 700
  523. }
  524.  
  525. .script-list .description {
  526. font-weight: 400;
  527. display: block;
  528. margin: .5em 0;
  529. font-size: smaller
  530. }
  531.  
  532. .script-list .name-description-separator {
  533. display: none
  534. }
  535.  
  536. #script-description,.script-list h2>a,.script-list .description {
  537. word-wrap: break-word
  538. }
  539.  
  540. @media screen and (max-width: 720px) {
  541. .script-list,#script-content {
  542. margin-left:unset
  543. }
  544. }
  545.  
  546. .pagination,.script-list+.pagination,.user-list+.pagination {
  547. font-size: 18px;
  548. display: block;
  549. background-color: transparent;
  550. padding: 0;
  551. margin: 0;
  552. border-radius: 5px
  553. }
  554.  
  555. .pagination>*,.script-list+.pagination>*,.user-list+.pagination>* {
  556. display: inline-block;
  557. background-color: #1b1b1e;
  558. padding: .5em;
  559. border-radius: 5px;
  560. text-decoration: none
  561. }
  562.  
  563. .pagination .disabled {
  564. display: none
  565. }
  566.  
  567. .pagination .current {
  568. font-style: normal;
  569. font-weight: 700
  570. }
  571.  
  572. .pagination .current,.pagination .gap {
  573. background-color: transparent
  574. }
  575.  
  576. .pagination>a:hover,.pagination>a:focus {
  577. background-color: #100f0b
  578. }
  579.  
  580. .good-rating-count,.ok-rating-count,.bad-rating-count {
  581. display: inline-block;
  582. min-width: 1em;
  583. text-align: center;
  584. padding: 0 .25em;
  585. border: 1px solid #DDDDDD;
  586. border-radius: 10px
  587. }
  588.  
  589. .good-rating-count {
  590. background-color: #d8fff8;
  591. border-color: #339b334d;
  592. color: #1f7c1f
  593. }
  594.  
  595. .ok-rating-count {
  596. background-color: #f9fec1;
  597. border-color: #9b9b004d;
  598. color: #626221
  599. }
  600.  
  601. .bad-rating-count {
  602. background-color: #ffdada;
  603. border-color: #9b33334d;
  604. color: #7a1f1f
  605. }
  606.  
  607. .select-all,.select-none {
  608. display: none
  609. }
  610.  
  611. .diff {
  612. border: 2px solid black
  613. }
  614.  
  615. #help-allowed-elements,#help-allowed-styles {
  616. -moz-column-width: 20em;
  617. -webkit-column-width: 20em;
  618. column-width: 20em
  619. }
  620.  
  621. #help-allowed-elements li,#help-allowed-styles li {
  622. padding-right: 1em
  623. }
  624.  
  625. #by-site-list {
  626. list-style-type: none;
  627. padding: 0
  628. }
  629.  
  630. #by-site-list li {
  631. display: inline;
  632. vertical-align: middle
  633. }
  634.  
  635. #user_profile {
  636. width: 100%;
  637. height: 10em
  638. }
  639.  
  640. .preview-result {
  641. display: none;
  642. background-color: #ffa;
  643. padding: .5em
  644. }
  645.  
  646. .failed-sync {
  647. background-color: #fcc
  648. }
  649.  
  650. .alert {
  651. font-style: italic;
  652. background-color: #ffc;
  653. border: none;
  654. border-left: 6px solid #FFEB3B;
  655. padding: .5em
  656. }
  657.  
  658. .notice {
  659. background-color: #2b556a;
  660. border: none;
  661. border-left: 6px solid #5aa5cb;
  662. padding: .5em
  663. }
  664.  
  665. .validation-errors {
  666. background-color: #626240;
  667. border: none;
  668. border-left: 6px solid #FFEB3B;
  669. padding: .5em;
  670. margin: .5em 0
  671. }
  672.  
  673. .validation-errors>p:first-child {
  674. margin-top: 0
  675. }
  676.  
  677. .validation-errors>p:last-child {
  678. margin-bottom: 0
  679. }
  680.  
  681. #install-stats-chart {
  682. width: 100%;
  683. height: 400px
  684. }
  685.  
  686. .stats-table {
  687. border-collapse: collapse
  688. }
  689.  
  690. .stats-table th,.stats-table td {
  691. border: 1px solid gray;
  692. padding: 0 .5em
  693. }
  694.  
  695. td.numeric,th.numeric {
  696. text-align: right
  697. }
  698.  
  699. .translation_missing {
  700. outline: dashed red
  701. }
  702.  
  703. #edit_user>div {
  704. margin-bottom: .5em
  705. }
  706.  
  707. #edit_user>div>label:first-child {
  708. font-weight: 700
  709. }
  710.  
  711. .inline-form {
  712. display: inline
  713. }
  714.  
  715. a.self-link,a.self-link:visited {
  716. text-decoration: none;
  717. color: #000;
  718. opacity: .2
  719. }
  720.  
  721. .indented {
  722. padding-left: 1em
  723. }
  724.  
  725. .external-login {
  726. padding: 2px 2px 3px 25px;
  727. border: 1px solid black;
  728. border-radius: 2px;
  729. background-repeat: no-repeat;
  730. background-size: 16px 16px;
  731. background-position: 5px 2px
  732. }
  733.  
  734. .external-login-container {
  735. display: inline-block;
  736. vertical-align: top
  737. }
  738.  
  739. .external-login-container * {
  740. text-align: center;
  741. display: block
  742. }
  743.  
  744. .external-login-container>*:not(button) {
  745. font-size: smaller
  746. }
  747.  
  748. .external-login-container:not(:last-child) {
  749. margin-right: 5px
  750. }
  751.  
  752. .external-login-container .github-login {
  753. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpFNTE3OEEyQTk5QTAxMUUyOUExNUJDMTA0NkE4OTA0RCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpFNTE3OEEyQjk5QTAxMUUyOUExNUJDMTA0NkE4OTA0RCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkU1MTc4QTI4OTlBMDExRTI5QTE1QkMxMDQ2QTg5MDREIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkU1MTc4QTI5OTlBMDExRTI5QTE1QkMxMDQ2QTg5MDREIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+m4QGuQAAAyRJREFUeNrEl21ojWEYx895TDPbMNlBK46IUiNmPvHBSUjaqc0H8pF5+aDUKPEBqU2NhRQpX5Rv5jWlDIWlMCv7MMSWsWwmb3tpXub4XXWdPHvc9/Gc41nu+nedc7/8r/99PffLdYdDPsvkwsgkTBwsA/PADJCnzX2gHTwBt8Hl7p537/3whn04XoDZDcpBlk+9P8AFcAghzRkJwPF4zGGw0Y9QS0mAM2AnQj77FqCzrtcwB1Hk81SYojHK4DyGuQ6mhIIrBWB9Xm7ug/6B/nZrBHBegrkFxoVGpnwBMSLR9EcEcC4qb8pP14BWcBcUgewMnF3T34VqhWMFkThLJAalwnENOAKiHpJq1FZgI2AT6HZtuxZwR9GidSHtI30jOrbawxlVX78/AbNfhHlomEUJJI89O2MqeE79T8/nk8nMBm/dK576hZgmA3cp/R4l9/UeSxiHLVIlNm4nFfT0bxyuIj7LHRTKai+zdJobwMKzcZSJb0ePV5PKN+BqAAKE47UlMnERELMM3EdYP/yrd+XYb2mOiYBiQ8OQnoRBlXrl9JZix7D1pHTazu4MoyBcnYamqAjIMTR8G4FT8LuhLsexXYYjICBiqhQBvYb6fLZIJCjPypVvaOoVAW2WcasCnL2Nq82xHJNSqlCeFcDshaPK0twkAhosjZL31QYw+1rlMpWGMArl23SBsZZO58F2tlJXmjOXS+s4WGvpMiBJT/I2PInZ6lIs9/hBsNS1hS6BG0DSqmYEDRlCXQrmy50P1oDRKTSegmNbUsA0zDMwRhPJXeCE3vWLPQMvan6X8AgIa1vcR4AkGZkDR4ejJ1UHpsaVI0g2LInpOsNFUud1rhxSV+fzC9Woz2EZkWQuja7/B+jUrgtIMpy9YCW4n4K41YfzRneW5E1KJTe4B2Zq1Q5EHEtj4U3AfEzR5SVY4l7QYQPJdN2as7RKBF0BPZqqH4VgMAMBL8Byxr7y8zCZiDlnOcEKIPmUpgB5Z2ww5RdOiiRiNajUmWda5IG6WbhsyY2fx6m8gLcoJDJFkH219M3We1+cnda93pfycZpIJEL/s/wSYADmOAwAQgdpBAAAAABJRU5ErkJggg==)
  754. }
  755.  
  756. .external-login-container .gitlab-login {
  757. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAACoUlEQVRYhc3WzW+UVRQG8N/MtKKYsEFMmpo27DUEFgSiSIHSsDAxsYr6L4Cs+AMkMWiMCwgB2lQMhIWJ0Rip7owbXbhjhekGTFBQkC9rTCxBWxb3vpkzb2Y6H+00PsnN3Hve8zznzL3nfvA/xQRm8Qk2rUBnU9aYxf5OSevxF5ZyO7eCBM4Fnb/xVCekyUBawl0M9BB8EPdLWq92Qvy0RFrCvh4SmGiic7EdaZ3G6S/aVA8JzDTR+RNPLEd6JTi/h19z/zZqXQQfwB+Zex3Hg+6B5Yjng+MWnAzjl7tIYE/gncDWMP64FSkWzVVUsCsQT3WRwOnAeylr/ZzHd7Qo6v2B9GG21XAr226i2kHwKn7LnN8D56Ogv6cZcTo4bA/2qWDf2UECLwb/s8G+I9jPFMZK/q3lrJ+VCm80O8I4vs39RRxtk8CJ0B/Hd7lfxS8YlmbmuawHxjQWTcSgdBiVt1S71uwAOxW+7yqygteD05cl0iNcaPl/W+MC/i3Zvgj9g6QlqOIGhqSCGxamJqOKbXiyw+ALuNxEpyYt8ZB0tgyTCqtZ0fQLcRn2VqXLp0B5+vuBz0L/TbiWs7knFVy/UVU/4u9QP7Pn5crsM8bVl+AfeDcY/svjXu7/dhjAMY1b9Trpejxf+vA9RlYx+Ah+KMX4HBui09vSMhQO9/HaKgSfxIOgO4+3Wjlvxo+lTKeld2K3WK/xflnK2pvbEQelB8RiIF7B810EfwE/Bf5i1uxql+1Vv1aLij2kfoE1QwWHpZOw4N3MWj3hGXytcRq/wsYmvhtxqeQ7mzVWhAqO4GEQvoHdwWcs24rvC3jH8rPVNbZgTuO6vo8PNNbLXPbtC56WHpWt3gAz2afveEN64xeBH2h8U6wJRvFNbqNrHXzV8BjO7vx8x02KpQAAAABJRU5ErkJggg==)
  758. }
  759.  
  760. .external-login-container .google_oauth2-login {
  761. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAnFJREFUOI2FU11Ik1EYfs75zvZ9c35buAKpaWaSSVZoiheBKVmYdWF1ERi7kMhFUeqNFxLURRAhFKvhTcHMioQiCBG8iOgH8QfFKZj4M81ES0fONfe5tW87XcQncw17rs7znud5f87LIUgCn8u1jQaWL2MtWMTBGZGkKUgpLvPVxolELYkn3if3ZP38ytvQ8EAZCa6RzUoK4WDBrJiXey61rtH9T4LVx86cWF/PsPp1OjVZVxpo+q6wpfSUTOz2CAAwAIg5HOJqf89QvFnI3KNQa6ab6vTB2Ir3QGRsdCeMqVw8WmbTzBsJFPNSmzo7bfpbgkI6UeWSm25dIgDXhAHn/YtgRJWvNLza1BLnIOHPWZFwVyVfrizhvjvNXVuNkAimTjVV0PADBnEBpuYiVRnfXRMvaOkMOaOcpyUz7zDgJiPRtRKtTyrBn2a3++NFg7NqnTcAXbIE1UWsjwJkY07ON6/1v4hBYlxn6tP4SHS7yTH5zFS/z/ZLix3OEDrDUVg0PjSjlioRQgBA1GGSsb1334cXsyMd5Liudd7HKuB9CeC0Zmg+azivnR92h6qVCDkGAAYd53pB7KaEgLeJ1147F1YQ4xzv5nurbvc/eoqEcZwfh0r7PWqHxvOtwlhtOQkRAHBMOsQBz9zShH/OrAky5PT1LKN1lDG6/nPdnzPu81gPyeWYGbkAA2P8zBF9YV256N6o0jr6IvvT4qB7evWbvNW75Znzo8VCU8ONk0YnkPCZWtztRp+y/Kb3x0hF4LdC4+8oIci37P9eYMmtuV5g+6DFk66txd1uRFStDarBYnAuiYLkSREMz+sLbV8StX8AjxDtgxiuzNwAAAAASUVORK5CYII=)
  762. }
  763.  
  764. .centered-sections h2,.centered-sections h3 {
  765. text-align: center
  766. }
  767.  
  768. form.external-login-form {
  769. position: relative;
  770. display: table;
  771. margin: 0 auto;
  772. padding: 1em;
  773. background-color: #fff;
  774. border: 1px solid #d8dee2;
  775. border-radius: 5px;
  776. text-align: center
  777. }
  778.  
  779. form.external-login-form .remember-me {
  780. margin-top: 12px
  781. }
  782.  
  783. form.new_user {
  784. position: relative;
  785. width: 340px;
  786. margin: 0 auto;
  787. padding: 1em;
  788. background-color: #fff;
  789. border: 1px solid #d8dee2;
  790. border-radius: 5px;
  791. text-align: start
  792. }
  793.  
  794. @media screen and (max-width: 440px) {
  795. form.new_user {
  796. width:unset
  797. }
  798. }
  799.  
  800. form.new_user label,form.new_user em {
  801. display: block;
  802. font-size: small
  803. }
  804.  
  805. form.new_user br {
  806. display: none
  807. }
  808.  
  809. form.new_user input[type=text],form.new_user input[type=email],form.new_user input[type=password] {
  810. display: block;
  811. width: 100%;
  812. min-height: 34px;
  813. box-sizing: border-box;
  814. margin-top: .2em;
  815. margin-bottom: .5em;
  816. padding: 6px 8px;
  817. font-size: 14px;
  818. line-height: 20px;
  819. vertical-align: middle;
  820. color: #333;
  821. background-color: #fff;
  822. border: 1px solid #ddd;
  823. border-radius: 3px;
  824. outline: none;
  825. box-shadow: inset 0 1px 2px #0000001a
  826. }
  827.  
  828. form input[type=checkbox],form input[type=checkbox]+label,form input[type=radio],form input[type=radio]+label {
  829. display: inline-block;
  830. font-size: small
  831. }
  832.  
  833. .radio-note {
  834. font-size: small;
  835. margin-top: 5px
  836. }
  837.  
  838. @media screen and (max-width: 440px) {
  839. form input[type=checkbox]+label {
  840. display:unset;
  841. word-wrap: break-word
  842. }
  843. }
  844.  
  845. form.new_user input[type=submit] {
  846. display: block;
  847. width: 100%;
  848. min-height: 34px;
  849. box-sizing: border-box;
  850. margin: .5em 0 0;
  851. padding: 6px 8px;
  852. font-size: 14px;
  853. font-weight: 700;
  854. line-height: 20px;
  855. text-align: center;
  856. vertical-align: middle;
  857. color: #fff;
  858. background-color: #670000;
  859. background-image: linear-gradient(#990000,#670000);
  860. border: 0px solid #ddd;
  861. box-shadow: 0 4px 8px #0003,0 6px 20px #00000030;
  862. border-radius: 3px;
  863. white-space: normal
  864. }
  865.  
  866. form.new_user~br {
  867. display: none
  868. }
  869.  
  870. form.new_user~a {
  871. width: 340px;
  872. display: block;
  873. margin: 0 auto 2em;
  874. font-size: small
  875. }
  876.  
  877. form.new_user+a {
  878. width: 340px;
  879. display: block;
  880. margin: 0 auto
  881. }
  882.  
  883. .sidebar-search,.home-search {
  884. position: relative;
  885. vertical-align: middle
  886. }
  887.  
  888. .sidebar-search input[type=search],.home-search input[type=search] {
  889. padding-inline-end:20px}
  890.  
  891. .sidebar-search input[type=search] {
  892. width: 100%;
  893. margin: 0 0 1em
  894. }
  895.  
  896. .sidebar-search input[type=submit],.home-search input[type=submit] {
  897. position: absolute;
  898. -moz-appearance: none;
  899. -webkit-appearance: none;
  900. inset-inline-end: 0;
  901. top: 0;
  902. border-color: transparent;
  903. padding-inline-start:0;padding-inline-end:6px;margin-left: 0;
  904. margin-right: 0;
  905. background: none;
  906. opacity: .5
  907. }
  908.  
  909. @media screen and (max-width: 680px) {
  910. .sidebar-search input[type=search],.home-search input[type=search] {
  911. font-size:unset
  912. }
  913. }
  914.  
  915. figure {
  916. padding: 5px;
  917. box-shadow: 0 4px 8px #00000026,0 6px 10px #00000026;
  918. border-radius: 5px
  919. }
  920.  
  921. figcaption {
  922. font-size: smaller;
  923. text-align: center
  924. }
  925.  
  926. .multiform-page:not(:first-child) {
  927. margin-top: 30px
  928. }
  929.  
  930. .multiform-page:not(:last-child) {
  931. padding-bottom: 30px;
  932. border-bottom: 1px solid lightgray
  933. }
  934.  
  935. summary {
  936. cursor: pointer
  937. }
  938.  
  939. .blocked-script-codes {
  940. font-size: smaller;
  941. border-collapse: collapse;
  942. width: 100%;
  943. text-align: left
  944. }
  945.  
  946. .blocked-script-codes .pattern-row {
  947. font-size: medium
  948. }
  949.  
  950. .blocked-script-codes .pattern-row {
  951. border-top: 1px solid gray
  952. }
  953.  
  954. .blocked-script-codes .info-row td:first-child {
  955. width: 2em
  956. }
  957.  
  958. .ad {
  959. margin-top: 1em;
  960. margin-bottom: 1em
  961. }
  962.  
  963. .after-radio-chosen {
  964. display: none;
  965. margin-left: 29px
  966. }
  967.  
  968. input[type=radio]:checked~.after-radio-chosen {
  969. display: block
  970. }
  971.  
  972. .announcement {
  973. margin: 14px 0;
  974. text-align: center;
  975. font-size: smaller
  976. }
  977.  
  978. .announcement form {
  979. display: inline
  980. }
  981.  
  982. .announcement input {
  983. appearance: none;
  984. -moz-appearance: none;
  985. -webkit-appearance: none;
  986. border: 0;
  987. background: none;
  988. margin: 0 0 0 4px;
  989. padding: 0;
  990. cursor: pointer
  991. }
  992.  
  993. .announcement,.announcement input {
  994. font-size: 12px
  995. }
  996.  
  997. .badge {
  998. margin-left: 1ex;
  999. border-radius: 10%/25%;
  1000. font-size: 70%;
  1001. padding: 0 .5ex;
  1002. text-transform: uppercase;
  1003. position: relative;
  1004. top: -.2ex
  1005. }
  1006.  
  1007. .badge-banned,.badge-deleted {
  1008. background-color: #ff0000e6;
  1009. color: #fff
  1010. }
  1011.  
  1012. .badge-deleted {
  1013. margin-left: 0;
  1014. border-color: #ff0000e6
  1015. }
  1016.  
  1017. .badge-moderator {
  1018. background-color: #1a1da8e6;
  1019. color: #fff
  1020. }
  1021.  
  1022. .badge-author {
  1023. background-color: #1e971ee6;
  1024. color: #fff
  1025. }
  1026.  
  1027. .badge-js {
  1028. background-color: #efd81d;
  1029. color: #000
  1030. }
  1031.  
  1032. .badge-css {
  1033. background-color: #254bdd;
  1034. color: #fff
  1035. }
  1036.  
  1037. .badge-js,.badge-css {
  1038. display: none
  1039. }
  1040.  
  1041. .showing-all-languages .badge-js,.showing-all-languages .badge-css {
  1042. display: inline
  1043. }
  1044.  
  1045. .list-option-groups .carbon-ad,.list-option-groups .adsense-ad {
  1046. display: block;
  1047. overflow: hidden;
  1048. margin-bottom: 1em;
  1049. padding: 1em;
  1050. border: 1px solid hsl(0,0%,73%);
  1051. border-radius: 5px;
  1052. background-color: #fff;
  1053. box-shadow: 0 0 5px #ddd;
  1054. text-align: center;
  1055. line-height: 1.5;
  1056. min-height: 203px
  1057. }
  1058.  
  1059. .list-option-groups .carbon-ad a {
  1060. text-decoration: none
  1061. }
  1062.  
  1063. .list-option-groups .carbon-ad span {
  1064. display: block;
  1065. overflow: hidden
  1066. }
  1067.  
  1068. .list-option-groups .carbon-img {
  1069. display: block;
  1070. margin: 0 auto 1em
  1071. }
  1072.  
  1073. .list-option-groups .carbon-text {
  1074. display: block;
  1075. margin-bottom: 1em
  1076. }
  1077.  
  1078. .list-option-groups .carbon-poweredby {
  1079. display: block;
  1080. text-transform: uppercase;
  1081. letter-spacing: 1px;
  1082. font-size: 9px
  1083. }
  1084.  
  1085. #script-show-info-ad .carbon-wrap {
  1086. display: flex
  1087. }
  1088.  
  1089. #script-show-info-ad .carbon-text {
  1090. padding: 10px
  1091. }
  1092.  
  1093. #script-show-info-ad .carbon-text,#script-show-info-ad .carbon-poweredby {
  1094. width: 200px;
  1095. text-align: center
  1096. }
  1097.  
  1098. #script-show-info-ad a {
  1099. text-decoration: none
  1100. }
  1101.  
  1102. #script-show-info-ad #carbonads {
  1103. background-color: #fff;
  1104. font-size: smaller
  1105. }
  1106.  
  1107. #script-show-info-ad .carbon-poweredby {
  1108. font-size: 9px;
  1109. text-transform: uppercase;
  1110. margin-top: -13px;
  1111. display: block;
  1112. margin-left: 140px;
  1113. letter-spacing: 1px
  1114. }
  1115.  
  1116. #script-show-info-ad #carbonads img {
  1117. vertical-align: bottom
  1118. }
  1119.  
  1120. #script-show-info-ad.ad-ca,#script-show-info-ad.ad-c2 {
  1121. width: 350px;
  1122. margin: 1em 0
  1123. }
  1124.  
  1125. #script-show-info-ad.ad-ca .ad-content,#script-show-info-ad.ad-c2 .ad-content {
  1126. min-height: 100px
  1127. }
  1128.  
  1129. code {
  1130. background-color: #5c4b5e
  1131. }
  1132.  
  1133. pre code {
  1134. background: none;
  1135. border: 0
  1136. }
  1137.  
  1138. pre,code {
  1139. border-radius: 2px;
  1140. border: 1px solid #685c71
  1141. }
  1142.  
  1143. pre {
  1144. padding: 1em
  1145. }
  1146.  
  1147. .prettyprint {
  1148. width: max-content;
  1149. min-width: calc(100% - 6px)
  1150. }
  1151.  
  1152. .code-container {
  1153. max-height: calc(100vh - 54px);
  1154. overflow-x: auto;
  1155. border-radius: 2px;
  1156. border: 1px solid #E6DDD6
  1157. }
  1158.  
  1159. .code-container pre {
  1160. border: 0;
  1161. margin: 0
  1162. }
  1163.  
  1164. li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9 {
  1165. list-style-type: decimal!important
  1166. }
  1167.  
  1168. @media screen and (max-width: 440px) {
  1169. #code-container {
  1170. font-size:small
  1171. }
  1172. }
  1173.  
  1174. .diff_options input[type=number] {
  1175. width: 10ch
  1176. }
  1177.  
  1178. .diff {
  1179. overflow: auto
  1180. }
  1181.  
  1182. .diff ul {
  1183. background: #fff;
  1184. overflow: auto;
  1185. font-size: 13px;
  1186. list-style: none;
  1187. margin: 0;
  1188. padding: 0;
  1189. display: table;
  1190. width: 100%
  1191. }
  1192.  
  1193. .diff del,.diff ins {
  1194. display: block;
  1195. text-decoration: none
  1196. }
  1197.  
  1198. .diff li {
  1199. padding: 0;
  1200. display: table-row;
  1201. margin: 0;
  1202. height: 1em
  1203. }
  1204.  
  1205. .diff li.ins {
  1206. background: #dfd;
  1207. color: #080
  1208. }
  1209.  
  1210. .diff li.del {
  1211. background: #fee;
  1212. color: #b00
  1213. }
  1214.  
  1215. .diff li:hover {
  1216. background: #ffc
  1217. }
  1218.  
  1219. .diff del,.diff ins,.diff span {
  1220. white-space: pre;
  1221. font-family: courier
  1222. }
  1223.  
  1224. .diff del strong {
  1225. font-weight: 400;
  1226. background: #fcc
  1227. }
  1228.  
  1229. .diff ins strong {
  1230. font-weight: 400;
  1231. background: #9f9
  1232. }
  1233.  
  1234. .diff li.diff-comment {
  1235. display: none
  1236. }
  1237.  
  1238. .diff li.diff-block-info {
  1239. background: none repeat scroll 0 0 gray
  1240. }
  1241.  
  1242. .diff del,.diff ins,.diff span {
  1243. font-family: monospace
  1244. }
  1245.  
  1246. .diff {
  1247. max-height: calc(100vh - 54px);
  1248. overflow-y: auto
  1249. }
  1250.  
  1251. .report-diff .diff {
  1252. max-height: 75vh
  1253. }
  1254.  
  1255. .report-diff form {
  1256. display: inline
  1257. }
  1258.  
  1259. .ea-content,.ea-callout {
  1260. margin: 0!important
  1261. }
  1262.  
  1263. .expander {
  1264. cursor: pointer;
  1265. display: block;
  1266. color: #670000;
  1267. border-radius: 3px;
  1268. background-color: #1b1b1e;
  1269. position: absolute;
  1270. width: 20px;
  1271. height: 20px;
  1272. text-align: center;
  1273. inset-inline-end: -22px;
  1274. bottom: 0
  1275. }
  1276.  
  1277. .expanded {
  1278. overflow: auto
  1279. }
  1280.  
  1281. .collapsed {
  1282. overflow: hidden
  1283. }
  1284.  
  1285. .comment {
  1286. margin-bottom: 20px
  1287. }
  1288.  
  1289. .comment-entry {
  1290. width: 100%;
  1291. height: 10em
  1292. }
  1293.  
  1294. .discussion-meta,.comment-meta {
  1295. display: flex;
  1296. align-items: flex-end
  1297. }
  1298.  
  1299. .discussion-meta {
  1300. font-size: 11px
  1301. }
  1302.  
  1303. .comment-meta {
  1304. font-size: smaller;
  1305. margin-bottom: 2px
  1306. }
  1307.  
  1308. .comment-meta-item-main {
  1309. font-size: medium;
  1310. font-weight: 700
  1311. }
  1312.  
  1313. .comment-meta-item+.comment-meta-item {
  1314. margin-left: 15px
  1315. }
  1316.  
  1317. .discussion-meta-item {
  1318. flex: 1;
  1319. text-align: left
  1320. }
  1321.  
  1322. .discussion-meta-item:not(:first-child) {
  1323. margin-left: 8px
  1324. }
  1325.  
  1326. .discussion-meta-item:not(:last-child) {
  1327. margin-right: 8px
  1328. }
  1329.  
  1330. .discussion-meta-item:last-child {
  1331. text-align: right
  1332. }
  1333.  
  1334. .comment-meta-spacer {
  1335. flex: 1
  1336. }
  1337.  
  1338. .post-reply {
  1339. margin-top: 20px
  1340. }
  1341.  
  1342. .post-reply h3,.edit-comment-form h3 {
  1343. margin-bottom: 0
  1344. }
  1345.  
  1346. .post-reply input[type=submit],.edit-comment-form input[type=submit] {
  1347. margin-top: 5px
  1348. }
  1349.  
  1350. .discussion-up-level {
  1351. font-size: smaller;
  1352. margin-top: 0
  1353. }
  1354.  
  1355. .edit-comment-form {
  1356. display: none
  1357. }
  1358.  
  1359. .edit-comment-mode .edit-comment-form {
  1360. display: block
  1361. }
  1362.  
  1363. .edit-comment-mode .user-content,.edit-comment-mode .comment-meta {
  1364. display: none
  1365. }
  1366.  
  1367. .discussion-rating {
  1368. margin-top: 10px
  1369. }
  1370.  
  1371. .discussion-list {
  1372. padding-bottom: 0
  1373. }
  1374.  
  1375. .discussion-list-item {
  1376. padding-top: 10px;
  1377. border-top: 1px solid #CCC
  1378. }
  1379.  
  1380. .discussion-list-container:first-child .discussion-list-item {
  1381. border-top: 0
  1382. }
  1383.  
  1384. .discussion-list-logged-in .discussion-read {
  1385. background-color: #2d3341;
  1386. margin-left: -16px;
  1387. margin-right: -16px;
  1388. padding-left: 16px;
  1389. padding-right: 16px
  1390. }
  1391.  
  1392. .script-discussion-list .discussion-list-item:last-child {
  1393. border-bottom: 1px solid #CCC
  1394. }
  1395.  
  1396. a.discussion-title {
  1397. display: block;
  1398. text-decoration: none;
  1399. color: #d0d0d0;
  1400. padding: 4px 0 14px;
  1401. white-space: nowrap;
  1402. overflow: hidden;
  1403. text-overflow: ellipsis
  1404. }
  1405.  
  1406. .discussion-title {
  1407. vertical-align: middle
  1408. }
  1409.  
  1410. .discussion-title:hover {
  1411. color: #f6f6f6;
  1412. }
  1413.  
  1414. .rating-icon,.badge-deleted {
  1415. border: 2px solid black;
  1416. border-radius: 5px;
  1417. font-size: 12px;
  1418. text-transform: uppercase;
  1419. font-weight: 800;
  1420. padding: 2px 5px;
  1421. margin-right: 5px;
  1422. display: inline-block;
  1423. text-align: center;
  1424. min-width: 45px;
  1425. position: relative;
  1426. top: -1px
  1427. }
  1428.  
  1429. .rating-icon-good {
  1430. border-color: #258925;
  1431. background-color: #cce9cc;
  1432. color: #0f4d0f
  1433. }
  1434.  
  1435. .rating-icon-ok {
  1436. border-color: #a7a71e;
  1437. background-color: #ffffd4;
  1438. color: #4f4f12
  1439. }
  1440.  
  1441. .rating-icon-bad {
  1442. border-color: #cf2929;
  1443. background-color: #f2c7c7;
  1444. color: #440d0d
  1445. }
  1446.  
  1447. .discussion-list-main-content {
  1448. overflow-x: hidden
  1449. }
  1450.  
  1451. .discussion-meta-item-script-name {
  1452. overflow: hidden
  1453. }
  1454.  
  1455. .discussion-meta-item-script-name a {
  1456. white-space: nowrap;
  1457. text-overflow: ellipsis;
  1458. overflow: hidden;
  1459. display: block
  1460. }
  1461.  
  1462. .comment .user-content>*:first-child {
  1463. margin-top: 0
  1464. }
  1465.  
  1466. .comment-screenshot-control {
  1467. font-size: smaller;
  1468. padding: .5em 0
  1469. }
  1470.  
  1471. .discussion-header,.discussion-list-header {
  1472. display: flex;
  1473. margin-top: 30px;
  1474. margin-bottom: 20px
  1475. }
  1476.  
  1477. .discussion-header-no-script {
  1478. margin-top: 16px
  1479. }
  1480.  
  1481. .discussion-header>*:first-child,.discussion-list-header h2 {
  1482. flex: 1;
  1483. margin: 0!important
  1484. }
  1485.  
  1486. .discussion-header h2,.discussion-header .discussion-up-level {
  1487. margin: 0
  1488. }
  1489.  
  1490. .discussion-header .badge {
  1491. vertical-align: middle
  1492. }
  1493.  
  1494. .discussion-actions {
  1495. font-size: smaller
  1496. }
  1497.  
  1498. .discussion-subscribed .discussion-subscribe,.discussion-not-subscribed .discussion-unsubscribe {
  1499. display: none
  1500. }
  1501.  
  1502. .post-discussion label:not(.radio-label),.post-reply label:not(.radio-label),.post-discussion .form-note,.post-reply .form-note {
  1503. font-size: smaller
  1504. }
  1505.  
  1506. #test-require-result-ok,#test-require-result-not-ok {
  1507. display: none;
  1508. font-weight: 700
  1509. }
  1510.  
  1511. #test-require-result-ok {
  1512. color: green
  1513. }
  1514.  
  1515. #test-require-result-not-ok {
  1516. color: red
  1517. }
  1518.  
  1519. #home-script-nav {
  1520. max-width: 700px;
  1521. margin: 0 auto 15px;
  1522. padding-bottom: 20px;
  1523. border-bottom: 1px solid #BBBBBB
  1524. }
  1525.  
  1526. .home-search input {
  1527. font-size: large
  1528. }
  1529.  
  1530. .home-search input[type=search] {
  1531. width: 100%
  1532. }
  1533.  
  1534. #home-top-sites {
  1535. overflow: hidden;
  1536. margin-top: 5px
  1537. }
  1538.  
  1539. #home-top-sites a {
  1540. margin: 0 5px
  1541. }
  1542.  
  1543. #home-step-1,#home-step-2,#home-step-3 {
  1544. overflow: auto
  1545. }
  1546.  
  1547. #home-step-1 figure {
  1548. float: right;
  1549. max-width: 50%;
  1550. margin-inline-end:10px;margin-top: 0
  1551. }
  1552.  
  1553. #home-step-2 figure {
  1554. float: left;
  1555. max-width: 50%;
  1556. margin-inline-start:7px;margin-top: 0
  1557. }
  1558.  
  1559. #home-step-2 li {
  1560. overflow: hidden;
  1561. white-space: nowrap;
  1562. text-overflow: ellipsis
  1563. }
  1564.  
  1565. @media screen and (max-width: 680px) {
  1566. #home-step-1 figure,#home-step-2 figure,#home-step-3 figure {
  1567. float:unset;
  1568. max-width: unset;
  1569. width: fit-content;
  1570. margin: 0 auto
  1571. }
  1572.  
  1573. [id^=home-step-] figure img {
  1574. width: 100%;
  1575. height: auto
  1576. }
  1577. }
  1578.  
  1579. .super-title {
  1580. text-align: center
  1581. }
  1582.  
  1583. .browser-list {
  1584. display: none
  1585. }
  1586.  
  1587. #desktop-browser-list {
  1588. display: block
  1589. }
  1590.  
  1591. .browser-list-selector:not(.browser-list-selector-active) {
  1592. text-decoration: underline;
  1593. cursor: pointer
  1594. }
  1595.  
  1596. .browser-list-selector-active {
  1597. font-weight: 700
  1598. }
  1599.  
  1600. .browser-list-selector:not(:last-child) {
  1601. margin-right: 1em
  1602. }
  1603.  
  1604. .highlight {
  1605. background-color: #ff0
  1606. }
  1607.  
  1608. .installation-instructions-modal-content-firefox,.installation-instructions-modal-content-chrome,.installation-instructions-modal-content-opera,.installation-instructions-modal-content-safari,.installation-instructions-modal-content-other {
  1609. display: none
  1610. }
  1611.  
  1612. .installation-instructions-modal-firefox .installation-instructions-modal-content-firefox,.installation-instructions-modal-chrome .installation-instructions-modal-content-chrome,.installation-instructions-modal-opera .installation-instructions-modal-content-opera,.installation-instructions-modal-safari .installation-instructions-modal-content-safari,.installation-instructions-modal-other .installation-instructions-modal-content-other {
  1613. display: block
  1614. }
  1615.  
  1616. .installation-instructions-modal-content-bypass,.list-option-groups {
  1617. font-size: smaller
  1618. }
  1619.  
  1620. .list-option-group {
  1621. margin-bottom: 1em
  1622. }
  1623.  
  1624. .list-option-group ul {
  1625. margin: .5em 0 0;
  1626. list-style-type: none;
  1627. padding: 1em 0;
  1628. box-shadow: 0 0 5px #17181b;
  1629. border: 1px solid #1b1c1f;
  1630. border-radius: 5px;
  1631. background-color: #2b2f38;
  1632. }
  1633.  
  1634. .list-option-group a {
  1635. padding: .35em 1em;
  1636. display: block
  1637. }
  1638.  
  1639. .list-option-group a:hover,.list-option-group a:focus {
  1640. background: linear-gradient(#081014,#121d1f);
  1641. text-decoration: none;
  1642. box-shadow: inset 0 -1px #282828, inset 0 1px #1c1c1c;
  1643. }
  1644.  
  1645. .list-option-group .list-current {
  1646. border-left: 7px solid #d63535;
  1647. box-shadow: inset 0 1px #0000001a,inset 0 -1px #0000001a;
  1648. margin: 0 0 0 -4px;
  1649. padding: .4em 1em .4em calc(1em - 3px);
  1650. background: linear-gradient(#484848,#444444);
  1651. }
  1652.  
  1653. @media screen and (min-width: 440px) and (max-width: 960px) {
  1654. .list-option-group a,.list-option-group .list-current {
  1655. padding-left:1.2vw;
  1656. padding-right: 1.2vw
  1657. }
  1658. }
  1659.  
  1660. .list-option-button {
  1661. display: block;
  1662. background-color: #3c3e45;
  1663. text-align: center;
  1664. text-decoration: none;
  1665. color: #d7d7d7!important;
  1666. border: 1px solid #BBBBBB;
  1667. padding: .5em;
  1668. font-weight: 700
  1669. }
  1670.  
  1671. .list-option-button:hover,.list-option-button:focus {
  1672. background: linear-gradient(#46464f,#3b424a);
  1673. text-decoration: none
  1674. }
  1675.  
  1676. .list-option:not(.list-current) select {
  1677. width: calc(100% - 1.4em + 3px);
  1678. margin: .4em 1em .4em calc(1em - 3px)
  1679. }
  1680.  
  1681. .list-option.list-current select,.log-table {
  1682. width: 100%
  1683. }
  1684.  
  1685. .log-table th {
  1686. text-align: left
  1687. }
  1688.  
  1689. .log-table td,.log-table th {
  1690. padding: 0 5px
  1691. }
  1692.  
  1693. .log-table td .possibly-long-text {
  1694. max-width: 500px;
  1695. overflow-wrap: break-word
  1696. }
  1697.  
  1698. .modal__overlay {
  1699. position: fixed;
  1700. top: 0;
  1701. left: 0;
  1702. right: 0;
  1703. bottom: 0;
  1704. background: rgba(0,0,0,.6);
  1705. display: flex;
  1706. justify-content: center;
  1707. align-items: center;
  1708. z-index: 100
  1709. }
  1710.  
  1711. .modal__container {
  1712. background-color: #fff;
  1713. padding: 30px;
  1714. max-width: 500px;
  1715. max-height: 100vh;
  1716. border-radius: 4px;
  1717. overflow-y: auto;
  1718. box-sizing: border-box
  1719. }
  1720.  
  1721. .modal__header {
  1722. display: flex;
  1723. justify-content: space-between;
  1724. align-items: center
  1725. }
  1726.  
  1727. .modal__title {
  1728. margin-top: 0!important;
  1729. margin-bottom: 0;
  1730. font-weight: 600;
  1731. font-size: 1rem;
  1732. line-height: 1.25;
  1733. box-sizing: border-box
  1734. }
  1735.  
  1736. .modal__close {
  1737. background: transparent;
  1738. border: 0
  1739. }
  1740.  
  1741. .modal__header .modal__close:before {
  1742. content: "✕"
  1743. }
  1744.  
  1745. .modal__content {
  1746. margin-bottom: 2rem
  1747. }
  1748.  
  1749. .modal__content q {
  1750. font-style: italic
  1751. }
  1752.  
  1753. .modal__btn {
  1754. font-size: .875rem;
  1755. padding: .5rem 1rem;
  1756. background-color: #e6e6e6;
  1757. color: #000c;
  1758. border-radius: .25rem;
  1759. border-style: none;
  1760. border-width: 0;
  1761. cursor: pointer;
  1762. -webkit-appearance: button;
  1763. text-transform: none;
  1764. overflow: visible;
  1765. line-height: 1.15;
  1766. margin: 0 0 0 .5rem;
  1767. will-change: transform;
  1768. -moz-osx-font-smoothing: grayscale;
  1769. -webkit-backface-visibility: hidden;
  1770. backface-visibility: hidden;
  1771. -webkit-transform: translateZ(0);
  1772. transform: translateZ(0);
  1773. transition: -webkit-transform .25s ease-out;
  1774. transition: transform .25s ease-out;
  1775. transition: transform .25s ease-out,-webkit-transform .25s ease-out
  1776. }
  1777.  
  1778. .modal__btn:focus,.modal__btn:hover {
  1779. -webkit-transform: scale(1.05);
  1780. transform: scale(1.05)
  1781. }
  1782.  
  1783. .modal__btn-primary {
  1784. background-color: #005200;
  1785. color: #fff
  1786. }
  1787.  
  1788. .modal__footer {
  1789. text-align: right
  1790. }
  1791.  
  1792. @keyframes mmfadeIn {
  1793. 0% {
  1794. opacity: 0
  1795. }
  1796.  
  1797. to {
  1798. opacity: 1
  1799. }
  1800. }
  1801.  
  1802. @keyframes mmfadeOut {
  1803. 0% {
  1804. opacity: 1
  1805. }
  1806.  
  1807. to {
  1808. opacity: 0
  1809. }
  1810. }
  1811.  
  1812. @keyframes mmslideIn {
  1813. 0% {
  1814. transform: translateY(15%)
  1815. }
  1816.  
  1817. to {
  1818. transform: translateY(0)
  1819. }
  1820. }
  1821.  
  1822. @keyframes mmslideOut {
  1823. 0% {
  1824. transform: translateY(0)
  1825. }
  1826.  
  1827. to {
  1828. transform: translateY(-10%)
  1829. }
  1830. }
  1831.  
  1832. .micromodal-slide {
  1833. display: none
  1834. }
  1835.  
  1836. .micromodal-slide.is-open {
  1837. display: block
  1838. }
  1839.  
  1840. .micromodal-slide[aria-hidden=false] .modal__overlay {
  1841. animation: mmfadeIn .3s cubic-bezier(0,0,.2,1)
  1842. }
  1843.  
  1844. .micromodal-slide[aria-hidden=false] .modal__container {
  1845. animation: mmslideIn .3s cubic-bezier(0,0,.2,1)
  1846. }
  1847.  
  1848. .micromodal-slide[aria-hidden=true] .modal__overlay {
  1849. animation: mmfadeOut .3s cubic-bezier(0,0,.2,1)
  1850. }
  1851.  
  1852. .micromodal-slide[aria-hidden=true] .modal__container {
  1853. animation: mmslideOut .3s cubic-bezier(0,0,.2,1)
  1854. }
  1855.  
  1856. .micromodal-slide .modal__container,.micromodal-slide .modal__overlay {
  1857. will-change: transform
  1858. }
  1859.  
  1860. .post-install {
  1861. margin: 1em 0;
  1862. border-radius: 2px;
  1863. padding: 5px;
  1864. max-width: 600px;
  1865. display: none;
  1866. align-items: center;
  1867. background-color: #c4e3ed;
  1868. border: 1px solid #c4e3ed;
  1869. position: relative
  1870. }
  1871.  
  1872. .post-install-label {
  1873. font-size: xx-small;
  1874. position: absolute;
  1875. top: -2px;
  1876. left: 2px;
  1877. opacity: .5
  1878. }
  1879.  
  1880. .post-install-text {
  1881. text-align: center;
  1882. align-items: center;
  1883. flex: 1
  1884. }
  1885.  
  1886. .post-install-text p {
  1887. margin: 0;
  1888. padding: 0
  1889. }
  1890.  
  1891. .post-install-button {
  1892. text-align: center;
  1893. margin-left: 10px;
  1894. white-space: nowrap
  1895. }
  1896.  
  1897. .preview-results {
  1898. border: 1px solid gray;
  1899. overflow: auto;
  1900. box-sizing: border-box;
  1901. margin: 0;
  1902. padding: 16px
  1903. }
  1904.  
  1905. .preview-results>p:first-child {
  1906. margin-top: 0
  1907. }
  1908.  
  1909. .preview-results>p:last-child {
  1910. margin-bottom: 0
  1911. }
  1912.  
  1913. .previewable textarea {
  1914. margin: 0
  1915. }
  1916.  
  1917. .previewable .tabs {
  1918. margin-top: 10px;
  1919. margin-bottom: -4px
  1920. }
  1921.  
  1922. #report_explanation {
  1923. width: 100%;
  1924. height: 10em
  1925. }
  1926.  
  1927. .reportable {
  1928. position: relative
  1929. }
  1930.  
  1931. .report-link-abs {
  1932. position: absolute;
  1933. top: 0;
  1934. right: 0;
  1935. font-size: smaller;
  1936. margin-right: 16px;
  1937. margin-top: 8px
  1938. }
  1939.  
  1940. .report-list-item:not(:last-child) {
  1941. padding-bottom: 20px;
  1942. border-bottom: 1px solid gray;
  1943. margin-bottom: 20px
  1944. }
  1945.  
  1946. .report-list-item .inline-form {
  1947. margin-right: 5px
  1948. }
  1949.  
  1950. .report-resolution-options {
  1951. display: inline-block;
  1952. vertical-align: top;
  1953. min-width: 30%
  1954. }
  1955.  
  1956. .report-resolution-options+.report-resolution-options {
  1957. margin-left: 1em
  1958. }
  1959.  
  1960. .report-resolution-options input[type=submit] {
  1961. margin-top: .5em
  1962. }
  1963.  
  1964. .report-resolution-options textarea {
  1965. width: 100%
  1966. }
  1967.  
  1968. .report-screenshot-control {
  1969. font-size: smaller;
  1970. padding: .5em 0
  1971. }
  1972.  
  1973. .unauthorized-code-comparison th {
  1974. text-align: left
  1975. }
  1976.  
  1977. .unauthorized-code-comparison th,.unauthorized-code-comparison td {
  1978. padding-right: 1em
  1979. }
  1980.  
  1981. body:lang(he),body:lang(ar),body:lang(ug),body:lang(ckb) {
  1982. direction: rtl
  1983. }
  1984.  
  1985. :not(:lang(he)):not(:lang(ar)):not(:lang(ug)):not(:lang(ckb)) {
  1986. direction: ltr
  1987. }
  1988.  
  1989. body:lang(he) #main-header,body:lang(ar) #main-header,body:lang(ug) #main-header,body:lang(ckb) #main-header {
  1990. direction: ltr
  1991. }
  1992.  
  1993. :lang(ar) #home-step-1 figure,:lang(he) #home-step-1 figure,:lang(ug) #home-step-1 figure,:lang(ckb) #home-step-1 figure {
  1994. float: left
  1995. }
  1996.  
  1997. :lang(ar) #home-step-2 figure,:lang(he) #home-step-2 figure,:lang(ug) #home-step-2 figure,:lang(ckb) #home-step-2 figure {
  1998. float: right
  1999. }
  2000.  
  2001. .checkup-list {
  2002. padding-inline-start:1em}
  2003.  
  2004. .checkup-list li {
  2005. list-style-type: "✗";
  2006. padding-inline-start:.5em}
  2007.  
  2008. .checkup-list li::marker {
  2009. color: red
  2010. }
  2011.  
  2012. .checkup-list li.good-check {
  2013. list-style-type: "✓"
  2014. }
  2015.  
  2016. .checkup-list li.good-check::marker {
  2017. color: green
  2018. }
  2019.  
  2020. .script-meta-block {
  2021. max-width: 600px;
  2022. column-count: 2
  2023. }
  2024.  
  2025. .script-meta-block>*:last-child {
  2026. margin-bottom: 1em
  2027. }
  2028.  
  2029. .inline-script-stats {
  2030. display: grid;
  2031. grid-template-columns: max-content auto;
  2032. margin: 0 22px 0 0
  2033. }
  2034.  
  2035. .inline-script-stats,.inline-script-stats dt,.inline-script-stats dd {
  2036. vertical-align: top;
  2037. padding: 0;
  2038. font-size: small
  2039. }
  2040.  
  2041. .inline-script-stats dt,.inline-script-stats dd {
  2042. box-sizing: border-box;
  2043. overflow-wrap: break-word;
  2044. margin: 1px 0
  2045. }
  2046.  
  2047. .inline-script-stats dt {
  2048. font-weight: 700;
  2049. text-align: end;
  2050. padding-inline-end:1em}
  2051.  
  2052. dd.script-list-ratings {
  2053. margin-top: 0;
  2054. margin-bottom: 0
  2055. }
  2056.  
  2057. @media screen and (max-width: 600px) {
  2058. .script-meta-block {
  2059. column-count:1
  2060. }
  2061. }
  2062.  
  2063. .script-antifeatures span[title] {
  2064. text-decoration: underline;
  2065. text-decoration-style: dotted
  2066. }
  2067.  
  2068. .script-show-compatibility {
  2069. vertical-align: bottom
  2070. }
  2071.  
  2072. .browser-compatible,.browser-incompatible,.browser-incompatible-marker {
  2073. width: 16px;
  2074. height: 16px
  2075. }
  2076.  
  2077. .browser-incompatible {
  2078. opacity: .5
  2079. }
  2080.  
  2081. .browser-incompatible-marker {
  2082. position: absolute
  2083. }
  2084.  
  2085. .script-lock-appeal-actions form {
  2086. display: inline-block;
  2087. margin-top: 1em
  2088. }
  2089.  
  2090. .change-script-set section {
  2091. border-bottom: 1px solid #DDDDDD;
  2092. padding-bottom: 1em
  2093. }
  2094.  
  2095. .change-script-set textarea {
  2096. height: 5em
  2097. }
  2098.  
  2099. .change-script-set .selection-box {
  2100. width: 45%;
  2101. display: inline-block;
  2102. vertical-align: top;
  2103. margin-bottom: 1em
  2104. }
  2105.  
  2106. @media screen and (max-width: 720px) {
  2107. .change-script-set .selection-box {
  2108. width:100%
  2109. }
  2110. }
  2111.  
  2112. .change-script-set select[multiple] {
  2113. width: 100%
  2114. }
  2115.  
  2116. .add-script-set label {
  2117. font-weight: 700;
  2118. display: block
  2119. }
  2120.  
  2121. .add-automatic-script-set-4>* {
  2122. vertical-align: top
  2123. }
  2124.  
  2125. .history_versions {
  2126. display: table;
  2127. padding: 0
  2128. }
  2129.  
  2130. .history_versions li {
  2131. display: table-row
  2132. }
  2133.  
  2134. .diff-controls,.version-number,.version-date,.version-changelog {
  2135. display: table-cell;
  2136. padding-bottom: .5em
  2137. }
  2138.  
  2139. .diff-controls,.version-number,.version-date {
  2140. white-space: nowrap;
  2141. padding-right: 1em
  2142. }
  2143.  
  2144. .version-changelog {
  2145. overflow-wrap: anywhere
  2146. }
  2147.  
  2148. .version-changelog img {
  2149. max-width: 100%
  2150. }
  2151.  
  2152. .version-changelog p:first-child {
  2153. margin-top: 0
  2154. }
  2155.  
  2156. .version-changelog p:last-child {
  2157. margin-bottom: 0
  2158. }
  2159.  
  2160. .remove-attachment {
  2161. margin-top: 20px
  2162. }
  2163.  
  2164. .remove-attachment input {
  2165. margin-left: 0
  2166. }
  2167.  
  2168. .sidebarred {
  2169. display: flex
  2170. }
  2171.  
  2172. .sidebarred-main-content {
  2173. flex: 1
  2174. }
  2175.  
  2176. .sidebar {
  2177. width: 200px;
  2178. padding-top: 1.75em;
  2179. padding-bottom: .75em;
  2180. margin-inline-start:1.5em;flex: none
  2181. }
  2182.  
  2183. .close-sidebar,.open-sidebar {
  2184. display: none;
  2185. cursor: pointer
  2186. }
  2187.  
  2188. .open-sidebar {
  2189. float: right;
  2190. background-color: #fff;
  2191. padding: 2px 1.2vw;
  2192. margin-right: -1.2vw;
  2193. border-radius: 3px 0 0 3px;
  2194. border-width: 1px 0 1px 1px;
  2195. border-style: solid;
  2196. border-color: gray
  2197. }
  2198.  
  2199. .sidebar-title {
  2200. flex: 1
  2201. }
  2202.  
  2203. @media screen and (max-width: 800px) {
  2204. .sidebarred {
  2205. display:block;
  2206. position: relative
  2207. }
  2208.  
  2209. .sidebar {
  2210. position: absolute;
  2211. right: -1.2vw;
  2212. top: 0;
  2213. background: white;
  2214. padding-top: 0;
  2215. padding-left: 1em;
  2216. padding-right: 1em;
  2217. border-width: 1px 0 1px 1px;
  2218. border-style: solid;
  2219. border-color: gray;
  2220. border-radius: 3px 0 0 3px
  2221. }
  2222.  
  2223. .sidebar.collapsed {
  2224. display: none
  2225. }
  2226.  
  2227. .close-sidebar {
  2228. display: flex;
  2229. margin-bottom: 1.5em;
  2230. background-color: #eee;
  2231. border-bottom: 1px solid black;
  2232. margin-left: -16px;
  2233. margin-right: -16px;
  2234. padding: .25em 1.2vw .25em 16px
  2235. }
  2236.  
  2237. .open-sidebar.sidebar-collapsed {
  2238. display: block
  2239. }
  2240. }
  2241.  
  2242. @media screen and (min-width: 800px) {
  2243. .sidebarred-main-content {
  2244. max-width:calc(100% - 224px)
  2245. }
  2246. }
  2247.  
  2248. .tabs {
  2249. list-style: none;
  2250. padding: 0 1em;
  2251. margin: 0 -1em;
  2252. display: flex;
  2253. position: relative;
  2254. top: -3.5px;
  2255. flex-wrap: wrap
  2256. }
  2257.  
  2258. .tabs>* {
  2259. align-items: stretch
  2260. }
  2261.  
  2262. .tabs>*>* {
  2263. padding: .25em .5em .5em;
  2264. display: block
  2265. }
  2266.  
  2267. .tabs a {
  2268. text-decoration: none;
  2269. cursor: pointer
  2270. }
  2271.  
  2272. .tabs .current,.tabs>*:not(.current) a:hover,.tabs>*:not(.current) a:focus {
  2273. background: #ffffff08;
  2274. box-shadow: inset 1px 0 #0000001a,inset -1px 0 #0000001a,inset 0 -1px #0000001a
  2275. }
  2276.  
  2277. .tabs .current {
  2278. box-shadow: inset 1px 0 #ffffff1a, inset -1px 0 #ffffff1a, inset 0 -1px #ffffff1a;
  2279. border-top: 7px solid #d63535
  2280. }
  2281.  
  2282. .tabs>*:not(.current) a {
  2283. margin-top: 3.5px;
  2284. padding-top: calc(.25em + 3.5px)
  2285. }
  2286.  
  2287. .user-content {
  2288. outline: 1px solid transparent;
  2289. background: linear-gradient(to right,transparent,transparent 1em);
  2290. border-left: 2px solid #70767d;
  2291. padding: .5em 1em;
  2292. overflow-x: auto
  2293. }
  2294.  
  2295. .user-content>p:first-child {
  2296. margin-top: 0
  2297. }
  2298.  
  2299. .user-content>p:last-child {
  2300. margin-bottom: 0
  2301. }
  2302.  
  2303. .user-content img {
  2304. max-width: 100%
  2305. }
  2306.  
  2307. .user-screenshots * {
  2308. vertical-align: middle
  2309. }
  2310.  
  2311. .user-screenshots a {
  2312. text-decoration: none
  2313. }
  2314.  
  2315. .comment-screenshot-control {
  2316. margin: 10px 0
  2317. }
  2318.  
  2319. .remove-images {
  2320. display: flex;
  2321. margin-top: 5px
  2322. }
  2323.  
  2324. .remove-image {
  2325. border: 2px solid black;
  2326. padding: 5px;
  2327. display: flex;
  2328. justify-content: space-between;
  2329. flex-direction: column
  2330. }
  2331.  
  2332. .remove-image:not(:first-child) {
  2333. margin-left: 5px
  2334. }
  2335.  
  2336. .remove-image img {
  2337. display: block
  2338. }
  2339.  
  2340. .remove-image-selecter,.comment .user-content .user-screenshots {
  2341. margin-top: 10px
  2342. }
  2343.  
  2344. #additional-info .user-screenshots {
  2345. margin-top: 1em
  2346. }
  2347.  
  2348. .user-content blockquote {
  2349. margin-left: 10px;
  2350. padding-left: 10px;
  2351. border-left: 2px solid #CCC
  2352. }
  2353.  
  2354. @keyframes lum-fade {
  2355. 0% {
  2356. opacity: 0
  2357. }
  2358.  
  2359. to {
  2360. opacity: 1
  2361. }
  2362. }
  2363.  
  2364. @keyframes lum-fadeZoom {
  2365. 0% {
  2366. transform: scale(.5);
  2367. opacity: 0
  2368. }
  2369.  
  2370. to {
  2371. transform: scale(1);
  2372. opacity: 1
  2373. }
  2374. }
  2375.  
  2376. @keyframes lum-loader-rotate {
  2377. 0% {
  2378. transform: translate(-50%,-50%) rotate(0)
  2379. }
  2380.  
  2381. 50% {
  2382. transform: translate(-50%,-50%) rotate(-180deg)
  2383. }
  2384.  
  2385. to {
  2386. transform: translate(-50%,-50%) rotate(-360deg)
  2387. }
  2388. }
  2389.  
  2390. @keyframes lum-loader-before {
  2391. 0% {
  2392. transform: scale(1)
  2393. }
  2394.  
  2395. 10% {
  2396. transform: scale(1.2) translate(6px)
  2397. }
  2398.  
  2399. 25% {
  2400. transform: scale(1.3) translate(8px)
  2401. }
  2402.  
  2403. 40% {
  2404. transform: scale(1.2) translate(6px)
  2405. }
  2406.  
  2407. 50% {
  2408. transform: scale(1)
  2409. }
  2410.  
  2411. 60% {
  2412. transform: scale(.8) translate(6px)
  2413. }
  2414.  
  2415. 75% {
  2416. transform: scale(.7) translate(8px)
  2417. }
  2418.  
  2419. 90% {
  2420. transform: scale(.8) translate(6px)
  2421. }
  2422.  
  2423. to {
  2424. transform: scale(1)
  2425. }
  2426. }
  2427.  
  2428. @keyframes lum-loader-after {
  2429. 0% {
  2430. transform: scale(1)
  2431. }
  2432.  
  2433. 10% {
  2434. transform: scale(1.2) translate(-6px)
  2435. }
  2436.  
  2437. 25% {
  2438. transform: scale(1.3) translate(-8px)
  2439. }
  2440.  
  2441. 40% {
  2442. transform: scale(1.2) translate(-6px)
  2443. }
  2444.  
  2445. 50% {
  2446. transform: scale(1)
  2447. }
  2448.  
  2449. 60% {
  2450. transform: scale(.8) translate(-6px)
  2451. }
  2452.  
  2453. 75% {
  2454. transform: scale(.7) translate(-8px)
  2455. }
  2456.  
  2457. 90% {
  2458. transform: scale(.8) translate(-6px)
  2459. }
  2460.  
  2461. to {
  2462. transform: scale(1)
  2463. }
  2464. }
  2465.  
  2466. .lum-lightbox {
  2467. background: rgba(0,0,0,.6)
  2468. }
  2469.  
  2470. .lum-lightbox-inner {
  2471. top: 2.5%;
  2472. right: 2.5%;
  2473. bottom: 2.5%;
  2474. left: 2.5%
  2475. }
  2476.  
  2477. .lum-lightbox-inner img {
  2478. position: relative
  2479. }
  2480.  
  2481. .lum-lightbox-inner .lum-lightbox-caption {
  2482. margin: 0 auto;
  2483. color: #fff;
  2484. max-width: 700px;
  2485. text-align: center
  2486. }
  2487.  
  2488. .lum-loading .lum-lightbox-loader {
  2489. display: block;
  2490. position: absolute;
  2491. top: 50%;
  2492. left: 50%;
  2493. transform: translate(-50%,-50%);
  2494. width: 66px;
  2495. height: 20px;
  2496. animation: lum-loader-rotate 1.8s infinite linear
  2497. }
  2498.  
  2499. .lum-lightbox-loader:before,.lum-lightbox-loader:after {
  2500. content: "";
  2501. display: block;
  2502. width: 20px;
  2503. height: 20px;
  2504. position: absolute;
  2505. top: 50%;
  2506. margin-top: -10px;
  2507. border-radius: 20px;
  2508. background: rgba(255,255,255,.9)
  2509. }
  2510.  
  2511. .lum-lightbox-loader:before {
  2512. left: 0;
  2513. animation: lum-loader-before 1.8s infinite linear
  2514. }
  2515.  
  2516. .lum-lightbox-loader:after {
  2517. right: 0;
  2518. animation: lum-loader-after 1.8s infinite linear;
  2519. animation-delay: -.9s
  2520. }
  2521.  
  2522. .lum-lightbox.lum-opening {
  2523. animation: lum-fade .18s ease-out
  2524. }
  2525.  
  2526. .lum-lightbox.lum-opening .lum-lightbox-inner {
  2527. animation: lum-fadeZoom .18s ease-out
  2528. }
  2529.  
  2530. .lum-lightbox.lum-closing {
  2531. animation: lum-fade .3s ease-in;
  2532. animation-direction: reverse
  2533. }
  2534.  
  2535. .lum-lightbox.lum-closing .lum-lightbox-inner {
  2536. animation: lum-fadeZoom .3s ease-in;
  2537. animation-direction: reverse
  2538. }
  2539.  
  2540. .lum-img {
  2541. transition: opacity .12s ease-out
  2542. }
  2543.  
  2544. .lum-loading .lum-img {
  2545. opacity: 0
  2546. }
  2547.  
  2548. .lum-gallery-button {
  2549. overflow: hidden;
  2550. text-indent: 150%;
  2551. white-space: nowrap;
  2552. background: transparent;
  2553. border: 0;
  2554. margin: 0;
  2555. padding: 0;
  2556. outline: 0;
  2557. position: absolute;
  2558. top: 50%;
  2559. transform: translateY(-50%);
  2560. height: 100px;
  2561. max-height: 100%;
  2562. width: 60px;
  2563. cursor: pointer
  2564. }
  2565.  
  2566. .lum-close-button {
  2567. position: absolute;
  2568. right: 5px;
  2569. top: 5px;
  2570. width: 32px;
  2571. height: 32px;
  2572. opacity: .3
  2573. }
  2574.  
  2575. .lum-close-button:hover {
  2576. opacity: 1
  2577. }
  2578.  
  2579. .lum-close-button:before,.lum-close-button:after {
  2580. position: absolute;
  2581. left: 15px;
  2582. content: " ";
  2583. height: 33px;
  2584. width: 2px;
  2585. background-color: #fff
  2586. }
  2587.  
  2588. .lum-close-button:before {
  2589. transform: rotate(45deg)
  2590. }
  2591.  
  2592. .lum-close-button:after {
  2593. transform: rotate(-45deg)
  2594. }
  2595.  
  2596. .lum-previous-button {
  2597. left: 12px
  2598. }
  2599.  
  2600. .lum-next-button {
  2601. right: 12px
  2602. }
  2603.  
  2604. .lum-gallery-button:after {
  2605. content: "";
  2606. display: block;
  2607. position: absolute;
  2608. top: 50%;
  2609. width: 36px;
  2610. height: 36px;
  2611. border-top: 4px solid rgba(255,255,255,.8)
  2612. }
  2613.  
  2614. .lum-previous-button:after {
  2615. transform: translateY(-50%) rotate(-45deg);
  2616. border-left: 4px solid rgba(255,255,255,.8);
  2617. box-shadow: -2px 0 #0003;
  2618. left: 12%;
  2619. border-radius: 3px 0 0
  2620. }
  2621.  
  2622. .lum-next-button:after {
  2623. transform: translateY(-50%) rotate(45deg);
  2624. border-right: 4px solid rgba(255,255,255,.8);
  2625. box-shadow: 2px 0 #0003;
  2626. right: 12%;
  2627. border-radius: 0 3px 0 0
  2628. }
  2629.  
  2630. @media (max-width: 460px) {
  2631. .lum-lightbox-image-wrapper {
  2632. display:flex;
  2633. overflow: auto;
  2634. -webkit-overflow-scrolling: touch
  2635. }
  2636.  
  2637. .lum-lightbox-caption {
  2638. width: 100%;
  2639. position: absolute;
  2640. bottom: 0
  2641. }
  2642.  
  2643. .lum-lightbox-position-helper {
  2644. margin: auto
  2645. }
  2646.  
  2647. .lum-lightbox-inner img {
  2648. max-width: none;
  2649. max-height: none
  2650. }
  2651. }
  2652.  
  2653.  
  2654. [style~="color:#21c"] {
  2655. color: #35deff !important;
  2656. }
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662.  
  2663. `
  2664.  
  2665.  
  2666. const mo = new MutationObserver(() => {
  2667. const head = document.head;
  2668. if (!head) return;
  2669. const css = head.querySelector('link[rel="stylesheet"][href*="/vite/assets/application-"][href*=".css"][media="screen"]');
  2670. if (!css || css.parentNode !== head) return;
  2671. mo.disconnect();
  2672. mo.takeRecords();
  2673.  
  2674. const text = cssTextFn();
  2675. const blob = new Blob([text], { type: 'text/css; charset=UTF-8' });
  2676. const blobURL = URL.createObjectURL(blob);
  2677. const newLinkElm = document.createElement('link');
  2678. newLinkElm.rel = 'stylesheet'
  2679. newLinkElm.media = 'screen'
  2680. newLinkElm.href = blobURL;
  2681. newLinkElm.disabled = true;
  2682. head.insertBefore(newLinkElm, css.nextSibling);
  2683.  
  2684. const aoChange = () => {
  2685. if (document.documentElement.hasAttribute('dark')) {
  2686. newLinkElm.disabled = false;
  2687. } else {
  2688. newLinkElm.disabled = true;
  2689. }
  2690. }
  2691.  
  2692. if (localStorage.darkMode === 'true') {
  2693. document.documentElement.setAttribute('dark', '');
  2694. }
  2695. aoChange();
  2696. let ao = new MutationObserver(aoChange);
  2697. ao.observe(document.documentElement, { attributes: true, attributeFilter: ['dark'] });
  2698.  
  2699.  
  2700. });
  2701. mo.observe(document, { subtree: true, childList: true })
  2702.  
  2703.  
  2704. })();
  2705.  
  2706.  
  2707.  

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址