User:SinonJZH/js/rtrc.css

萌娘百科,萬物皆可萌的百科全書!轉載請標註來源頁面的網頁連結,並聲明引自萌娘百科。內容不可商用。
貢獻者:

注意:在您儲存之後您必須清除瀏覽器快取才可看到最新的變動。

  • Firefox / Safari:按住「Shift」時點選「重新整理」,或按「Ctrl-F5」或「Ctrl-R」 (Mac則為「⌘-R」)
  • Google Chrome:按「Ctrl-Shift-R」 (Mac 則為「⌘-Shift-R」)
  • Internet Explorer:按住「Ctrl」時點選「重新整理」,或按「Ctrl-F5」
  • Opera:進入「工具→偏好設定」中清除快取。
  • 如果您已登入但該頁面出現未登入狀態,請嘗試在網址列的URL最後新增代碼?_=1來訪問最新頁面。
  1. /**
  2. * Real-Time Recent Changes
  3. * https://github.com/Krinkle/mw-gadget-rtrc
  4. *
  5. * @copyright 2010-2021 Timo Tijhof
  6. */
  7. /* Minimise MediaWiki frame */
  8. .mw-rtrc-available #siteNotice,
  9. .mw-rtrc-available .firstHeading,
  10. .mw-rtrc-available #bodyContent {
  11. visibility: hidden;
  12. }
  13. .mw-rtrc-available #ca-talk,
  14. .mw-rtrc-available #p-views,
  15. .mw-rtrc-available #p-cactions,
  16. .mw-rtrc-available #footer,
  17. .mw-rtrc-available #contentSub,
  18. .mw-rtrc-available #catlinks,
  19. .mw-rtrc-available .mw-revdelundel-link {
  20. display: none;
  21. }
  22. /* Wrapper */
  23. .mw-rtrc-wrapper {
  24. position: relative;
  25. background: rgb(247, 246, 248);
  26. border-top: 30px solid #343434;
  27. padding: 0 1em;
  28. font-size: 13px;
  29. line-height: 1.4;
  30. color: #343434;
  31. opacity: 0;
  32. transition: opacity 150ms ease-out 50ms;
  33. }
  34. .mw-rtrc-ready .mw-rtrc-wrapper {
  35. opacity: 1;
  36. }
  37. .mw-rtrc-legend .mw-rtrc-item {
  38. display: inline-block;
  39. padding: 0 0.6em;
  40. }
  41. .mw-rtrc-available #content {
  42. background: rgb(247, 246, 248);
  43. padding: 0;
  44. }
  45. .mw-rtrc-head {
  46. position: absolute;
  47. left: 1em;
  48. right: 1em;
  49. /* See .mw-rtrc-wrapper#border-top */
  50. top: -30px;
  51. line-height: 30px;
  52. text-align: center;
  53. color: #ccc;
  54. /* Avoid overlap with head-links on narrow screens */
  55. padding: 0 11em;
  56. overflow: hidden;
  57. text-overflow: ellipsis;
  58. white-space: nowrap;
  59. }
  60. .mw-rtrc-foot {
  61. position: fixed;
  62. left: 0;
  63. bottom: 0;
  64. right: 0;
  65. background: rgba(255, 255, 255, 0.7);
  66. padding: 6px 15px 6px 15px;
  67. border-top: 1px solid #a1cef5;
  68. text-align: center;
  69. color: #343434;
  70. transition: all 150ms ease-out;
  71. transition-property: opacity, background;
  72. }
  73. .mw-rtrc-foot:hover {
  74. background: rgba(255, 255, 255, 1);
  75. }
  76. /* Sidebar overlay */
  77. /* Don't animate initial hide from init(), only after its ready */
  78. .mw-rtrc-ready.mw-rtrc-sidebar-toggleable #mw-panel,
  79. .mw-rtrc-ready.mw-rtrc-sidebar-toggleable #left-navigation,
  80. .mw-rtrc-ready.mw-rtrc-sidebar-toggleable #content,
  81. .mw-rtrc-navtoggle {
  82. transition: transform 250ms ease-out;
  83. }
  84. .mw-rtrc-ready.mw-rtrc-sidebar-toggleable .mw-rtrc-sidebar-cover {
  85. transition: opacity 250ms ease-out;
  86. }
  87. .mw-rtrc-ready.mw-rtrc-sidebar-toggleable #p-personal {
  88. /* When sliding out */
  89. transition: z-index 0ms linear 255ms;
  90. }
  91. .mw-rtrc-ready.mw-rtrc-sidebar-on #p-personal {
  92. /* When sliding in */
  93. transition: z-index 0ms linear 0ms;
  94. }
  95. /* Make the sidebar standalone for transitioning. */
  96. .mw-rtrc-sidebar-toggleable #mw-panel {
  97. background-color: #f6f6f6;
  98. top: 0; /* was 160px */
  99. padding-top: 0; /* was 1em */
  100. width: 11em; /* was 10em with 1em offset from #content */
  101. min-height: 100%;
  102. z-index: 1; /* overlap mw-rtrc-sidebar-cover */
  103. box-shadow: rgba(0, 0, 0, 0.5) 0 0 25px;
  104. will-change: transform;
  105. }
  106. /* flipped */
  107. /* @noflip */
  108. .mw-rtrc-sidebar-toggleable .ltr #mw-panel {
  109. border-right: 1px solid #a7d7f9; /* transferred from #content/border-left */
  110. transform: translate(-105%, 0);
  111. }
  112. .mw-rtrc-sidebar-toggleable #p-logo {
  113. position: static; /* was absolute */
  114. margin-bottom: 1em; /* transferred from #mw-panel/padding-top */
  115. }
  116. /* flipped */
  117. /* @noflip */
  118. .mw-rtrc-sidebar-toggleable .ltr #left-navigation {
  119. margin-left: 1em;
  120. }
  121. /* flipped */
  122. /* @noflip */
  123. .mw-rtrc-sidebar-toggleable .ltr #content {
  124. margin-left: 0;
  125. border-left: 0;
  126. }
  127. .mw-rtrc-sidebar-cover {
  128. position: absolute;
  129. left: 0;
  130. right: 0;
  131. top: 0;
  132. bottom: 0;
  133. background: #000;
  134. will-change: opacity;
  135. opacity: 0;
  136. pointer-events: none;
  137. }
  138. /* navtoggle is inside #mw-panel and relative to its box */
  139. .mw-rtrc-navtoggle {
  140. position: absolute;
  141. top: 10px;
  142. border: 0 solid #aaa;
  143. width: 10px;
  144. height: 15px;
  145. cursor: pointer;
  146. transform: scaleX(1);
  147. }
  148. /* flipped */
  149. /* @noflip */
  150. .ltr .mw-rtrc-navtoggle {
  151. left: 13.5em;
  152. border-width: 0 0 0 5px;
  153. }
  154. /* arrow */
  155. .mw-rtrc-navtoggle:after {
  156. content: " ";
  157. width: 0;
  158. height: 0;
  159. position: absolute;
  160. border: 5px solid transparent;
  161. top: 50%;
  162. margin-top: -5px;
  163. }
  164. /* flipped */
  165. /* @noflip */
  166. .ltr .mw-rtrc-navtoggle:after {
  167. border-left-color: #333;
  168. margin-left: 5px;
  169. }
  170. .mw-rtrc-sidebar-toggleable #mw-panel:before {
  171. /* cover the space between navtoggle and mw-panel to avoid :hover gaps */
  172. content: "";
  173. position: absolute;
  174. top: 0;
  175. display: block;
  176. width: calc(13em + 30px);
  177. height: 40px;
  178. }
  179. /* flipped */
  180. /* @noflip */
  181. .mw-rtrc-sidebar-toggleable .ltr #mw-panel:before {
  182. left: 0;
  183. }
  184. .mw-rtrc-sidebar-toggleable #mw-panel:hover .mw-rtrc-navtoggle {
  185. border-color: #fff;
  186. transform: scaleX(-1);
  187. }
  188. /* Must specify .ltr/.rtl to match specificity */
  189. .mw-rtrc-sidebar-toggleable .ltr #mw-panel:hover,
  190. .mw-rtrc-sidebar-toggleable .rtl #mw-panel:hover {
  191. z-index: 99;
  192. transform: none;
  193. }
  194. .mw-rtrc-sidebar-on #p-personal {
  195. z-index: 0; /* was 100 */
  196. }
  197. .mw-rtrc-sidebar-on .mw-rtrc-sidebar-cover {
  198. opacity: 0.5;
  199. }
  200. /* Buttons / Links */
  201. .mw-rtrc-head-links {
  202. position: absolute;
  203. top: 0;
  204. }
  205. /* flipped */
  206. /* @noflip */
  207. .ltr .mw-rtrc-head-links {
  208. right: 1em;
  209. }
  210. .mw-rtrc-head-links a {
  211. display: inline-block;
  212. padding: 0 0.6em;
  213. color: #ccc;
  214. }
  215. .mw-rtrc-head-links a:hover {
  216. color: #fff;
  217. text-decoration: none;
  218. background: #555;
  219. }
  220. .mw-rtrc-wrapper .button:active {
  221. position: relative;
  222. top: 1px;
  223. }
  224. .mw-rtrc-wrapper select {
  225. /* Reset Vector's select { vertical-align: top; } */
  226. vertical-align: baseline;
  227. }
  228. .mw-rtrc-wrapper .helpicon {
  229. display: inline-block;
  230. margin: 0 0.3em;
  231. vertical-align: middle;
  232. width: 18px;
  233. height: 18px;
  234. background: url(https://upload.wikimedia.org/wikipedia/commons/5/51/Question-helpbutton.png) no-repeat;
  235. }
  236. .mw-rtrc-nohelp .helpicon {
  237. display: none;
  238. }
  239. .mw-rtrc-wrapper .button:hover,
  240. .mw-rtrc-wrapper .helpicon:hover {
  241. cursor: pointer;
  242. }
  243. .mw-rtrc-head-links a:first-letter,
  244. .mw-rtrc-diff-tools .tab:first-letter {
  245. text-transform: uppercase;
  246. }
  247. /* Settings */
  248. .mw-rtrc-settings {
  249. margin: 0 auto;
  250. min-width: 1000px;
  251. text-align: center;
  252. }
  253. .mw-rtrc-settings fieldset {
  254. display: inline-block;
  255. background: #fff;
  256. border-bottom-left-radius: 11px;
  257. border-bottom-right-radius: 11px;
  258. box-shadow: rgba(200, 200, 200, 1) 0 5px 15px;
  259. text-align: initial;
  260. /* reset mw/fieldset */
  261. margin: 0;
  262. padding: 0;
  263. border: 0;
  264. }
  265. .mw-rtrc-setting-select {
  266. max-width: 80px;
  267. }
  268. .mw-rtrc-settings .panel-group {
  269. display: table;
  270. }
  271. .mw-rtrc-settings .panel-group:first-child {
  272. border-bottom: 1px solid #ddd;
  273. }
  274. .mw-rtrc-settings .panel {
  275. display: table-cell;
  276. width: 1px; /* auto doesn't work, cells will grow now from 1px */
  277. vertical-align: top;
  278. border-right: 1px solid #ddd;
  279. padding: 3px 5px;
  280. white-space: nowrap;
  281. text-align: center;
  282. }
  283. .mw-rtrc-settings .sub-panel {
  284. display: inline-block;
  285. vertical-align: top;
  286. text-align: initial;
  287. padding: 0 5px;
  288. border-right: 1px solid #ddd;
  289. }
  290. .mw-rtrc-settings .sub-panel:first-of-type {
  291. padding-left: 0;
  292. }
  293. .mw-rtrc-settings .sub-panel:last-of-type {
  294. border-right: 0;
  295. padding-right: 0;
  296. }
  297. .mw-rtrc-settings .panel .head {
  298. display: block;
  299. font-weight: bold;
  300. }
  301. .mw-rtrc-settings .panel-group-mini .head {
  302. display: inline-block;
  303. }
  304. .mw-rtrc-settings .button {
  305. padding: 6px 12px;
  306. border-width: 1px;
  307. border-style: solid;
  308. border-radius: 4px;
  309. font-weight: bold;
  310. font-size: 14px;
  311. line-height: 1.42;
  312. color: #fff;
  313. background-color: #357ebd;
  314. border-color: #3071a9;
  315. }
  316. .mw-rtrc-settings .button-small {
  317. padding: 3px 6px;
  318. font-size: 11px;
  319. line-height: 1.5;
  320. border-radius: 3px;
  321. }
  322. .mw-rtrc-settings .button:hover {
  323. background-color: #428bca;
  324. border-color: #428bca;
  325. cursor: pointer;
  326. }
  327. .mw-rtrc-settings .button:active {
  328. box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.250);
  329. }
  330. .mw-rtrc-settings .button-green {
  331. background-color: #4cae4c;
  332. border-color: #449d44;
  333. }
  334. .mw-rtrc-settings .button-green:hover {
  335. background-color: #5cb85c;
  336. border-color: #5cb85c;
  337. }
  338. .mw-rtrc-settings .button-red {
  339. background-color: #d43f3a;
  340. border-color: #c9302c;
  341. }
  342. .mw-rtrc-settings .button-red:hover {
  343. background-color: #d9534f;
  344. border-color: #d9534f;
  345. }
  346. .mw-rtrc-settings .button[disabled]:hover {
  347. cursor: default;
  348. }
  349. /* Diff frame */
  350. .mw-rtrc-diff {
  351. position: relative;
  352. width: 97%;
  353. margin: 20px auto 15px auto;
  354. padding: 0 1em;
  355. overflow: auto;
  356. background: #fff;
  357. border-radius: 11px;
  358. box-shadow: rgba(200, 200, 200, 1) 0 5px 15px;
  359. transform-origin: top;
  360. transform: scaleY(1);
  361. max-height: 500px;
  362. /* When opening, delay the slide until after we reserve the height */
  363. transition: transform 300ms ease-out 200ms, max-height 500ms ease-in;
  364. }
  365. .mw-rtrc-diff-closed {
  366. max-height: 0;
  367. transform: scaleY(0);
  368. /* When closing, no delay for height change since it is naturally behind
  369. while lowering the height hidden in overflow to the actual height */
  370. transition: transform 300ms ease-in, max-height 300ms ease-out;
  371. }
  372. .mw-rtrc-diff-newpage {
  373. max-height: 400px;
  374. }
  375. .mw-rtrc-diff-loading {
  376. opacity: 0.4;
  377. pointer-events: none;
  378. }
  379. .mw-rtrc-diff h3 {
  380. margin: 0 1em 0.5em 0;
  381. border-bottom: 1px solid rgb(247, 246, 248);
  382. font-size: 21px;
  383. font-weight: normal;
  384. white-space: nowrap;
  385. overflow: hidden;
  386. }
  387. .mw-rtrc-diff table.diff {
  388. margin: 0;
  389. width: 100%;
  390. }
  391. .mw-rtrc-diff .mw-revslider-container {
  392. /* Hide broken "Browse history interactively" link. */
  393. display: none;
  394. }
  395. .mw-rtrc-diff-tools {
  396. position: sticky;
  397. top: 0;
  398. right: 2em;
  399. width: 100%;
  400. }
  401. .mw-rtrc-diff-tools .tab {
  402. float: right;
  403. display: block;
  404. font-weight: bold;
  405. margin-left: 3px;
  406. padding: 3px 10px;
  407. background-color:rgb(247, 246, 248);
  408. border-bottom-left-radius: 11px;
  409. border-bottom-right-radius: 11px;
  410. }
  411. .mw-rtrc-diff-tools .tab a:hover {
  412. cursor: pointer;
  413. }
  414. /* Feed */
  415. .mw-rtrc-body {
  416. position: relative;
  417. width: 100%;
  418. margin: 20px auto 70px auto;
  419. }
  420. .mw-rtrc-body.placeholder {
  421. width: 100%;
  422. height: 600px;
  423. background: transparent url(https://upload.wikimedia.org/wikipedia/commons/9/9d/RTRC_Placeholder.png) top center no-repeat;
  424. }
  425. .mw-rtrc-body.placeholder > * {
  426. display: none;
  427. }
  428. .mw-rtrc-feed {
  429. position: relative;
  430. padding: 2em 0;
  431. background: #fff;
  432. font-size: 14px;
  433. border-top-left-radius: 11px;
  434. border-top-right-radius:11px;
  435. box-shadow: rgba(200, 200, 200, 1) 0 5px 15px;
  436. }
  437. .mw-rtrc-feed-update {
  438. position: absolute;
  439. top: 0.5em;
  440. left: 10%;
  441. width: 80%;
  442. font-size: smaller;
  443. text-align: center;
  444. }
  445. #krRTRC_loader {
  446. position: absolute;
  447. top: 0;
  448. right: 0;
  449. }
  450. .mw-rtrc-feed-content {
  451. margin: 0 0 -1.5em 0;
  452. width: 100%;
  453. }
  454. .mw-rtrc-item,
  455. .mw-rtrc-heading {
  456. padding: 0 5px;
  457. white-space: nowrap;
  458. border: 1px solid transparent;
  459. }
  460. .mw-rtrc-item .mw-title {
  461. unicode-bidi: embed;
  462. }
  463. .mw-rtrc-item:nth-child(odd),
  464. .mw-rtrc-heading:nth-child(odd) {
  465. background: #f3f3f3;
  466. }
  467. .mw-rtrc-item.mw-rtrc-item-alert {
  468. background: #ffd5d5;
  469. }
  470. .mw-rtrc-item.mw-rtrc-item-skipped {
  471. background: #d6d9e9;
  472. }
  473. .mw-rtrc-item.mw-rtrc-item-patrolled {
  474. background: #d9e9d6;
  475. }
  476. .mw-rtrc-item.mw-rtrc-item-current {
  477. background: #ffce7b;
  478. border: 1px solid orange;
  479. }
  480. .mw-rtrc-item-alert-rev .mw-rtrc-revscore {
  481. cursor: help;
  482. }
  483. .mw-rtrc-item-alert-user .mw-userlink,
  484. .mw-rtrc-item-alert-rev .mw-rtrc-revscore {
  485. background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Nuvola_apps_important.svg/18px-Nuvola_apps_important.svg.png) 0 50% no-repeat;
  486. padding-left: 20px;
  487. }
  488. @media (min-resolution: 2dppx), (min-resolution: 192dpi) {
  489. .mw-rtrc-item-alert-user .mw-userlink,
  490. .mw-rtrc-item-alert-rev .mw-rtrc-revscore {
  491. background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Nuvola_apps_important.svg/36px-Nuvola_apps_important.svg.png);
  492. background-size: 18px;
  493. }
  494. }
  495. /* Acts like a table with table-rows, using divs to avoid fixed table-layout with forced width and oveflow issues */
  496. .mw-rtrc-item div {
  497. display: inline-block;
  498. overflow: hidden;
  499. padding: 3px 0;
  500. vertical-align: middle;
  501. }
  502. .mw-rtrc-item div[first] { width: 40% }
  503. .mw-rtrc-item div[user] { width: 24% }
  504. .mw-rtrc-item div[comment] { width: 30% }
  505. .mw-rtrc-item .mw-rtrc-meta {
  506. width: 6%;
  507. text-align: right;
  508. }
  509. .mw-rtrc-meta .mw-plusminus {
  510. font-size: smaller;
  511. }
  512. .mw-rtrc-legend {
  513. margin: 5px auto;
  514. padding: 5px 13px;
  515. background: #fff;
  516. border-bottom-left-radius: 11px;
  517. border-bottom-right-radius: 11px;
  518. box-shadow: rgba(200, 200, 200, 1) 0 5px 15px;
  519. }
  520. /* Diff pre-wrap (partially from wikibits/diff.css but there only adds pre-wrap for diffchange */
  521. .mw-rtrc-available table.diff td {
  522. white-space: pre-wrap;
  523. }
  524. /**
  525. * On/Off switch checboxes.
  526. * Based on "iOS 6 style switch checkboxes" by Lea Verou https://lea.verou.me/
  527. */
  528. .mw-rtrc-settings .switch {
  529. position: absolute;
  530. opacity: 0;
  531. }
  532. /* @noflip */
  533. .mw-rtrc-settings .switch + div {
  534. direction: ltr;
  535. display: inline-block;
  536. vertical-align: middle;
  537. margin: 0 .5em;
  538. width: 3em;
  539. height: 1em;
  540. overflow: hidden;
  541. background: #fff;
  542. background-image: linear-gradient(rgba(0, 0, 0, .1), transparent),
  543. linear-gradient(90deg, #357ebd 50%, transparent 50%);
  544. background-size: 200% 100%;
  545. background-position: 100% 0;
  546. background-origin: border-box;
  547. background-clip: border-box;
  548. border: 1px solid rgba(0, 0, 0, .3);
  549. border-radius: 999px;
  550. box-shadow: 0 .1em .1em rgba(0, 0, 0, .2) inset,
  551. 0 .45em 0 .1em rgba(0, 0, 0, .05) inset;
  552. font-size: 150%;
  553. text-align: left;
  554. transition-duration: .4s;
  555. transition-property: padding, width, background-position, text-indent;
  556. }
  557. /* @noflip */
  558. .mw-rtrc-settings .switch:checked + div {
  559. padding-left: 2em;
  560. width: 1em;
  561. background-position: 0 0;
  562. }
  563. /* @noflip */
  564. .mw-rtrc-settings .switch + div:before {
  565. content: 'On';
  566. float: left;
  567. margin: -.1em;
  568. width: 1.65em;
  569. height: 1.65em;
  570. background: #fff;
  571. background-image: linear-gradient(rgba(0, 0, 0, .2), transparent);
  572. border: 1px solid rgba(0,0,0,.35);
  573. border-radius: inherit;
  574. box-shadow: 0 .1em .1em .1em hsla(0, 0%, 100%, .8) inset,
  575. 0 0 .5em rgba(0, 0, 0, .3);
  576. color: white;
  577. text-shadow: 0 -1px 1px rgba(0, 0, 0, .3);
  578. text-indent: -2.5em;
  579. }
  580. .mw-rtrc-settings .switch:active + div:before {
  581. background-color: #eee;
  582. }
  583. .mw-rtrc-settings .switch:focus + div {
  584. box-shadow: 0 .1em .1em rgba(0, 0, 0, .2) inset,
  585. 0 .45em 0 .1em rgba(0, 0, 0, .05) inset,
  586. 0 0 .4em 1px rgba(255, 0, 0, .5);
  587. }
  588. .mw-rtrc-settings .switch + div:before,
  589. .mw-rtrc-settings .switch + div:after {
  590. font: bold 60%/1.9 sans-serif;
  591. text-transform: uppercase;
  592. }
  593. /* @noflip */
  594. .mw-rtrc-settings .switch + div:after {
  595. content: 'Off';
  596. text-align: left;
  597. float: left;
  598. text-indent: .5em;
  599. color: rgba(0, 0, 0, .45);
  600. text-shadow: none;
  601. }
  602. /**
  603. * Manually flipped declarations
  604. * - We set @noflip everywhere because this gadget will
  605. * be stored on-wiki and we need to disable the native flip
  606. * mechanism because we'll deliver one version to all users.
  607. */
  608. /* @noflip */
  609. .mw-rtrc-sidebar-toggleable .rtl #mw-panel {
  610. border-left: 1px solid #a7d7f9;
  611. transform: translate(105%, 0);
  612. }
  613. /* @noflip */
  614. .mw-rtrc-sidebar-toggleable .rtl #left-navigation {
  615. margin-right: 1em;
  616. }
  617. /* @noflip */
  618. .mw-rtrc-sidebar-toggleable .rtl #content {
  619. margin-right: 0;
  620. border-right: 0;
  621. }
  622. /* @noflip */
  623. .rtl .mw-rtrc-navtoggle {
  624. right: 13.5em;
  625. border-width: 0 5px 0 0;
  626. }
  627. /* @noflip */
  628. .rtl .mw-rtrc-navtoggle:after {
  629. border-right-color: #333;
  630. margin-right: 5px;
  631. }
  632. /* @noflip */
  633. .mw-rtrc-sidebar-toggleable .rtl #mw-panel:before {
  634. right: 0;
  635. }
  636. /* @noflip */
  637. .rtl .mw-rtrc-head-links {
  638. left: 1em;
  639. }
  640. .client-js .skin-vector #t-specialpages::before {
  641. content: "RTRC …";
  642. /* Imitate `.vector-menu-portal .vector-menu-content li` styles.
  643. Padding 0+0.5 instead of 0.25+0.25 because we have to compensate for
  644. being an LI pseudo-element child instead of sibling. */
  645. display: block;
  646. padding: 0 0 0.5em 0;
  647. line-height: 1.125em;
  648. /* Idle styling */
  649. cursor: wait;
  650. opacity: 0.5;
  651. }
  652. /* Ideally we'd use something like `li:not(#t-rtrc) + #t-specialpages::before` above,
  653. but we can't since there may be multiple portlet links inserted this way, so we
  654. have to use sibling (~) instead of adjecent (+). And, when negating a sibling
  655. selector, it doesn't stop matching once #t-rtrc is created as it would simply
  656. keep matching via another sibling instead. */
  657. .client-js .skin-vector #t-rtrc ~ #t-specialpages::before {
  658. display: none;
  659. }
此頁面最後編輯於 2021年11月18日 (週四) 20:06。
搜尋萌娘百科 (按"/"快速搜尋)
有新的未讀公告