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

QingJ © 2025

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