|
|
| (6 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| body { | | body { |
| border-bottom-color: rgb(0, 203, 159);
| | font-family:"Gill Sans Nova",Ubuntu,Calibri,"DejaVu Sans",source-sans-pro,Helvetica,sans-serif; |
| background-image: url("https://www.mediawiki.org/w/skins/Timeless/resources/images/cat.svg?558fd");
| | font-size:1.2rem; |
| background-repeat: no-repeat;
| |
| background-position: center 10em;
| |
| }
| |
| /* Make the font size a touch bigger on vector elements*/
| |
| .vector-pinnable-element,
| |
| .vector-page-toolbar-container,i
| |
| .vector-user-links-main .vector-menu-content-list,
| |
| .vector-search-box{
| |
| font-size:1rem; | |
| } | | } |
|
| |
|
| /* disable the Dark Mode invert */
| | .vector-page-titlebar::after { |
| /*
| | display: none; |
| .client-darkmode,
| |
| .client-darkmode img,
| |
| .client-darkmode video,
| |
| .client-darkmode svg,
| |
| .client-darkmode iframe,
| |
| .client-darkmode .mw-no-invert,
| |
| .client-darkmode .mw-mmv-overlay,
| |
| .client-darkmode .mw-mmv-pre-image,
| |
| .client-darkmode .mw-kartographer-map,
| |
| .client-darkmode .mw-kartographer-mapDialog-map,
| |
| .client-darkmode:not(.mw-invert),
| |
| .client-darkmode img:not(.mw-invert),
| |
| .client-darkmode video:not(.mw-invert),
| |
| .client-darkmode svg:not(.mw-invert),
| |
| .client-darkmode iframe:not(.mw-invert),
| |
| .client-darkmode .mw-no-invert:not(.mw-invert),
| |
| .client-darkmode .cdx-no-invert:not(.mw-invert),
| |
| .client-darkmode td .diffchange:not(.mw-invert),
| |
| .client-darkmode .skin-minerva .mw-notification-visible .mw-notification-content:not(.mw-invert)
| |
| {
| |
| filter: none;
| |
| -webkit-filter: none;
| |
| }
| |
| */
| |
| | |
| @media screen and (prefers-color-scheme: dark) {
| |
| html.skin-theme-clientpref-os .skin-invert-image img, | |
| html.skin-theme-clientpref-os .oo-ui-iconElement-icon:not(.oo-ui-image-progressive):not(.oo-ui-image-destructive):not(.oo-ui-checkboxInputWidget-checkIcon):not(.oo-ui-image-invert):not(.mw-no-invert),
| |
| html.skin-theme-clientpref-os .oo-ui-indicatorElement-indicator {
| |
| color-scheme: light;
| |
| filter: invert(1) hue-rotate(180deg);
| |
| }
| |
| | |
| html.skin-theme-clientpref-os .skin-invert {
| |
| filter: none !important;
| |
| }
| |
| } | | } |
|
| |
|
|
| |
|
| |
|
| |
|
| |
| /* CSS placed here will be applied to all skins */
| |
| /*Set font to be more legible.*/
| |
| body {
| |
| font-family:"Gill Sans Nova",Ubuntu,Calibri,"DejaVu Sans",source-sans-pro,Helvetica,sans-serif;
| |
| font-size:1.2rem;
| |
| }
| |
| th
| |
| /*see more collapsible in incomplete template*/
| |
| @media (hover: hover) { | | @media (hover: hover) { |
| #learn-more-toggle:hover { | | #learn-more-toggle:hover { |
| text-decoration: underline;co | | text-decoration: underline; |
| } | | } |
| } | | } |
|
| |
|
| /*css hackjob to fix chrome putting subsections vertically next to infobox on mobile size*/
| |
| .mw-parser-output :is(h1,h2,h3,h4,h5,h6) { | | .mw-parser-output :is(h1,h2,h3,h4,h5,h6) { |
| min-width: 1em; | | min-width: 1em; |
| } | | } |
|
| |
|
| /** CSS trick to fix page name**/
| |
| .mw-logo-container::before { | | .mw-logo-container::before { |
| font-weight: bold; | | font-weight: bold; |
| content: "Consumer Rights Wiki"; | | content: "Consumer Rights Wiki"; |
| } | | } |
| | |
| .mw-logo-wordmark{ | | .mw-logo-wordmark{ |
| display: none; | | display: none; |
| } | | } |
|
| |
|
| /** Hide extra footer notices **/
| |
| li#footer-info-license-notice, | | li#footer-info-license-notice, |
| li#footer-info-privacy-notice{ | | li#footer-info-privacy-notice{ |
| display: none; | | display: none; |
| } | | } |
|
| |
| /** Category Page **/
| |
|
| |
|
| .cat-but-grid{ | | .cat-but-grid{ |
| Line 116: |
Line 55: |
|
| |
|
| @media screen and (prefers-color-scheme: dark) { | | @media screen and (prefers-color-scheme: dark) { |
| /* automatic mode */
| |
| html.skin-theme-clientpref-os .cat-but:active { | | html.skin-theme-clientpref-os .cat-but:active { |
| border: 2px solid var( --color-base--hover, #404244 ) !important; | | border: 2px solid var( --color-base--hover, #404244 ) !important; |
| Line 132: |
Line 70: |
| } | | } |
| } | | } |
| | |
| @media (hover: hover) and (prefers-color-scheme: dark) { | | @media (hover: hover) and (prefers-color-scheme: dark) { |
| html.skin-theme-clientpref-os .cat-but:hover{ | | html.skin-theme-clientpref-os .cat-but:hover{ |
| Line 138: |
Line 77: |
| } | | } |
|
| |
|
|
| |
| /** -------------------------------- **/
| |
|
| |
| /** Extensions **/
| |
|
| |
| /* Cargo */
| |
| /* Table - dark mode */
| |
| table.cargoTable.noMerge tr:nth-child(2n+1) { | | table.cargoTable.noMerge tr:nth-child(2n+1) { |
| background: var(--background-color-base, #fff); | | background: var(--background-color-base, #fff); |
| Line 153: |
Line 85: |
| } | | } |
|
| |
|
|
| |
| /* Page Forms */
| |
| /* Input Type - tokens */
| |
| .select2-container--default .select2-selection--multiple { | | .select2-container--default .select2-selection--multiple { |
| background-color: var(--background-color-base, #fff); | | background-color: var(--background-color-base, #fff); |
| Line 189: |
Line 118: |
| background-color: #2A4B8D; | | background-color: #2A4B8D; |
| } | | } |
|
| |
|
| |
| /** -------------------------------- **/
| |
|
| |
| /** Templates **/
| |
|
| |
| /* Notices - Coloured boxes */
| |
|
| |
|
| .cat-mw-box{ | | .cat-mw-box{ |
| Line 214: |
Line 136: |
| } | | } |
|
| |
|
| /* Infobox */
| | .infobox { |
| | color: var(--color-base, #202122); |
| | background-color: var(--background-color-interactive-subtle, #f8f9fa); |
| | border: 1px solid #aaa; |
| | float: right; |
| | clear: right; |
| | margin: 0 0 1em 1em; |
| | padding: 0.5em; |
| | width: 24em; |
| | max-width: 100%; |
| | box-sizing: border-box; |
| | } |
|
| |
|
| | .infobox-title { |
| | font-size: 2em; |
| | text-align: center; |
| | border-bottom: 0.2em solid #ccc; |
| | padding-bottom: .25em; |
| | } |
|
| |
|
| | .infobox-image{ |
| | display: flex; |
| | aspect-ratio: 2 / 1; |
| | align-items: center; |
| | justify-content: center; |
| | } |
|
| |
|
| /*bg color to get visible transparent images in darkmode*/
| | .infobox-image img { |
| | max-width: 100%; |
| | height: auto; |
| | } |
|
| |
|
| @media screen { | | @media screen { |
| Line 227: |
Line 175: |
|
| |
|
| @media screen and (prefers-color-scheme: dark) { | | @media screen and (prefers-color-scheme: dark) { |
| /* automatic mode */
| |
| html.skin-theme-clientpref-os .infobox-image{ | | html.skin-theme-clientpref-os .infobox-image{ |
| background-color:#909590; | | background-color:#909590; |
| Line 250: |
Line 197: |
| border-bottom: 0.1em solid #ccc; | | border-bottom: 0.1em solid #ccc; |
| font-size:125%; | | font-size:125%; |
| }
| |
|
| |
| /* Loosely based on https://en.wikipedia.org/wiki/Template:Infobox */
| |
| @media (min-width: 640px) {
| |
| .infobox {
| |
| float: right;
| |
| clear: right;
| |
| }
| |
| } | | } |
|
| |
|
| @media (max-width: 640px) { | | @media (max-width: 640px) { |
| .infobox { | | .infobox { |
| width: 95%; | | float: none; |
| padding-left:2.5%; | | clear: both; |
| padding-right:2.5% | | width: 100%; |
| | margin: 0 0 1em 0; |
| | padding-left: 2.5%; |
| | padding-right: 2.5%; |
| } | | } |
| } | | } |
|
| |
| /** -------------------------------- **/
| |
|
| |
| /** Create page **/
| |
|
| |
|
| .createPageInput { | | .createPageInput { |
| Line 294: |
Line 232: |
|
| |
|
| @media screen and (prefers-color-scheme: dark) { | | @media screen and (prefers-color-scheme: dark) { |
| /* automatic mode */
| |
| html.skin-theme-clientpref-os .pageInputActive { | | html.skin-theme-clientpref-os .pageInputActive { |
| border: 2px solid var( --color-base--hover, #404244 ); | | border: 2px solid var( --color-base--hover, #404244 ); |
| Line 320: |
Line 257: |
| } | | } |
|
| |
|
|
| |
| /* Work in progress */
| |
| .create-page { | | .create-page { |
| position: relative; | | position: relative; |
| Line 368: |
Line 303: |
| } | | } |
|
| |
|
| /* Main page, new page summary */
| |
| .mainpage-contents .mw-contributions-list li{ | | .mainpage-contents .mw-contributions-list li{ |
| padding-bottom: 0.5rem; | | padding-bottom: 0.5rem; |
|
| |
| margin: 0; | | margin: 0; |
| } | | } |
| | |
| .mainpage-contents a.mw-newpages-time, | | .mainpage-contents a.mw-newpages-time, |
| .mainpage-contents span.mw-newpages-length, | | .mainpage-contents span.mw-newpages-length, |
| mainpage-contents span.comment, | | .mainpage-contents span.comment, |
| .mainpage-contents span.mw-usertoollinks, | | .mainpage-contents span.mw-usertoollinks, |
| .mainpage-contents span.mw-tag-markers { display: none;} | | .mainpage-contents span.mw-tag-markers { display: none;} |
|
| |
|
| /** -------------------------------- **/
| |
|
| |
| /* Utility classes */
| |
|
| |
| /* Make an image span the full width of the page (should only be used for very narrow horizontal images) */
| |
| .cat-image-fullwidth img { | | .cat-image-fullwidth img { |
| max-width: 100%; | | max-width: 100%; |
| height: auto; | | height: auto; |
| }
| |
| @media screen and (min-width: 1680px) {
| |
| .mw-header {
| |
| display: flex !important;
| |
| }
| |
| } | | } |
|
| |
| /* Jake */
| |
|
| |
|
| #mw-panel a[href*="discord.gg"], | | #mw-panel a[href*="discord.gg"], |
| Line 423: |
Line 345: |
| #mw-panel a[href*="discord.com/invite"]:hover{ | | #mw-panel a[href*="discord.com/invite"]:hover{ |
| filter: brightness(0.95); | | filter: brightness(0.95); |
| }
| |
|
| |
| #mw-panel a[href="https://github.com/FULU-Foundation/CRW-Extension"]{
| |
| display: block;
| |
| }
| |
| /*
| |
| #mw-panel a[href="https://github.com/FULU-Foundation/CRW-Extension"]::after{
| |
| content: "This extension is currently under development. Once complete,\00A0it will notify you when you're viewing a product,\00A0site,\00A0or\00A0service that has an article on our wiki.";
| |
| display: block;
| |
| margin-top: 4px;
| |
| font-size: 0.85em;
| |
| opacity: 0.7;
| |
| font-weight: 400;
| |
| line-height: 1.2;
| |
| }
| |
| */
| |
| /* Jake */
| |
|
| |
| .vector-header,
| |
| .vector-header::before{
| |
| background-color: #004080 !important;
| |
| background-image: none !important;
| |
| border-bottom: 1px solid #004080;
| |
| color: #fff;
| |
| }
| |
|
| |
| .vector-header,
| |
| .vector-header a,
| |
| .vector-header .mw-logo-wordmark,
| |
| .vector-header .vector-dropdown-label-text{
| |
| color: #fff !important;
| |
| }
| |
|
| |
| /* FIX: dropdown text colors in explicit light theme (day) */
| |
| html.skin-theme-clientpref-day .vector-header .vector-dropdown-content,
| |
| html.skin-theme-clientpref-day .vector-header .vector-dropdown-content *{
| |
| color: var(--color-base, #202122) !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-day .vector-header .vector-dropdown-content{
| |
| background: #fff !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-day .vector-header .vector-dropdown-content a{
| |
| color: var(--color-progressive, #36c) !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-day .vector-header .vector-dropdown-content a:visited{
| |
| color: var(--color-visited, #6b4ba1) !important;
| |
| }
| |
|
| |
| .vector-header .vector-icon{
| |
| filter: invert(1) brightness(1.2);
| |
| }
| |
|
| |
| /* Dropdown menus: light by default, dark in automatic OS dark and in night mode */
| |
|
| |
| /* Light mode only */
| |
| @media screen and (prefers-color-scheme: light) {
| |
| html.skin-theme-clientpref-os .vector-header .vector-dropdown-content {
| |
| background: #fff !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os .vector-header .vector-dropdown-content,
| |
| html.skin-theme-clientpref-os .vector-header .vector-dropdown-content * {
| |
| color: var(--color-base, #202122) !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os .vector-header .vector-dropdown-content a {
| |
| color: var(--color-progressive, #36c) !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os .vector-header .vector-dropdown-content a:visited {
| |
| color: var(--color-visited, #6b4ba1) !important;
| |
| }
| |
| }
| |
|
| |
| /* Automatic mode (OS dark) */
| |
| @media screen and (prefers-color-scheme: dark) {
| |
| html.skin-theme-clientpref-os .vector-header .vector-dropdown-content {
| |
| background: #202122 !important;
| |
| border-color: rgba(255,255,255,0.18) !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os .vector-header .vector-dropdown-content,
| |
| html.skin-theme-clientpref-os .vector-header .vector-dropdown-content * {
| |
| color: #f8f9fa !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os .vector-header .vector-dropdown-content a {
| |
| color: #8ab4f8 !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os .vector-header .vector-dropdown-content a:visited {
| |
| color: #c58af9 !important;
| |
| }
| |
| }
| |
|
| |
| .vector-header .vector-dropdown-content .vector-icon{
| |
| filter: none !important;
| |
| }
| |
|
| |
| #p-search .cdx-text-input__input{
| |
| background: #fff !important;
| |
| color: var(--color-base, #202122) !important;
| |
| }
| |
|
| |
| #p-search .cdx-text-input__input::placeholder{
| |
| color: rgba(32,33,34,0.6) !important;
| |
| }
| |
|
| |
| #p-search .cdx-text-input__start-icon{
| |
| filter: none !important;
| |
| }
| |
|
| |
| #p-search .cdx-menu,
| |
| #p-search .cdx-menu *{
| |
| color: var(--color-base, #202122) !important;
| |
| }
| |
|
| |
| #p-search .cdx-menu{
| |
| background: #fff !important;
| |
| }
| |
|
| |
| #p-search .cdx-menu a{
| |
| color: var(--color-progressive, #36c) !important;
| |
| }
| |
|
| |
| #p-search .cdx-menu a:visited{
| |
| color: var(--color-visited, #6b4ba1) !important;
| |
| }
| |
|
| |
| #vector-main-menu-dropdown-label,
| |
| #vector-appearance-dropdown-label,
| |
| #vector-user-links-dropdown-label,
| |
| .vector-header a.search-toggle,
| |
| #pt-notifications-alert > a,
| |
| #pt-notifications-notice > a{
| |
| background-color: transparent !important;
| |
| opacity: 1 !important;
| |
| border-radius: 8px;
| |
| }
| |
|
| |
| #vector-main-menu-dropdown-label .vector-icon,
| |
| #vector-appearance-dropdown-label .vector-icon,
| |
| #vector-user-links-dropdown-label .vector-icon,
| |
| .vector-header a.search-toggle .vector-icon,
| |
| #pt-notifications-alert > a .vector-icon,
| |
| #pt-notifications-notice > a .vector-icon{
| |
| opacity: 1 !important;
| |
| filter: invert(1) brightness(1.2);
| |
| }
| |
|
| |
| #vector-main-menu-dropdown-label:hover,
| |
| #vector-appearance-dropdown-label:hover,
| |
| #vector-user-links-dropdown-label:hover,
| |
| .vector-header a.search-toggle:hover,
| |
| #pt-notifications-alert > a:hover,
| |
| #pt-notifications-notice > a:hover{
| |
| background-color: rgba(255, 255, 255, 0.14) !important;
| |
| opacity: 1 !important;
| |
| }
| |
|
| |
| #vector-main-menu-dropdown-label:hover .vector-icon,
| |
| #vector-appearance-dropdown-label:hover .vector-icon,
| |
| #vector-user-links-dropdown-label:hover .vector-icon,
| |
| .vector-header a.search-toggle:hover .vector-icon,
| |
| #pt-notifications-alert > a:hover .vector-icon,
| |
| #pt-notifications-notice > a:hover .vector-icon{
| |
| filter: invert(1) brightness(1.45) !important;
| |
| opacity: 1 !important;
| |
| }
| |
|
| |
| .vector-header .vector-dropdown-label::after{
| |
| background-color: #fff !important;
| |
| }
| |
|
| |
| /* Dark */
| |
|
| |
| .skin-theme-clientpref-night .vector-header,
| |
| .skin-theme-clientpref-night .vector-header::before{
| |
| background-color: #004080 !important;
| |
| background-image: none !important;
| |
| border-bottom: 1px solid #002a55 !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night .vector-header,
| |
| .skin-theme-clientpref-night .vector-header a,
| |
| .skin-theme-clientpref-night .vector-header .mw-logo-wordmark,
| |
| .skin-theme-clientpref-night .vector-header .vector-dropdown-label-text{
| |
| color: #fff !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night .vector-header .vector-icon{
| |
| filter: none !important;
| |
| background-color: #fff !important;
| |
| opacity: 1 !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night .vector-header .vector-dropdown-label::after{
| |
| background-color: #fff !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night #p-search .cdx-text-input__input{
| |
| background: #202122 !important;
| |
| color: #f8f9fa !important;
| |
| border-color: rgba(255,255,255,0.18) !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night #p-search .cdx-text-input__input::placeholder{
| |
| color: rgba(248,249,250,0.6) !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night #p-search .cdx-text-input__start-icon{
| |
| filter: none !important;
| |
| color: #f8f9fa !important;
| |
| fill: #f8f9fa !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night #p-search .cdx-typeahead-search__menu,
| |
| .skin-theme-clientpref-night #p-search .cdx-menu{
| |
| background: #202122 !important;
| |
| border-color: rgba(255,255,255,0.18) !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night #p-search .cdx-typeahead-search__menu,
| |
| .skin-theme-clientpref-night #p-search .cdx-typeahead-search__menu *,
| |
| .skin-theme-clientpref-night #p-search .cdx-menu,
| |
| .skin-theme-clientpref-night #p-search .cdx-menu *{
| |
| color: #f8f9fa !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night #p-search .cdx-menu__item--highlighted,
| |
| .skin-theme-clientpref-night #p-search .cdx-menu-item--highlighted,
| |
| .skin-theme-clientpref-night #p-search .cdx-menu__item:hover,
| |
| .skin-theme-clientpref-night #p-search .cdx-menu-item:hover{
| |
| background: rgba(255,255,255,0.08) !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night .vector-header .vector-dropdown-content{
| |
| background: #202122 !important;
| |
| border-color: rgba(255,255,255,0.18) !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night .vector-header .vector-dropdown-content,
| |
| .skin-theme-clientpref-night .vector-header .vector-dropdown-content *{
| |
| color: #f8f9fa !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night .vector-header .vector-dropdown-content a{
| |
| color: #8ab4f8 !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night .vector-header .vector-dropdown-content a:visited{
| |
| color: #c58af9 !important;
| |
| }
| |
|
| |
| .skin-theme-clientpref-night .vector-header .vector-dropdown-content .vector-icon{
| |
| background-color: #f8f9fa !important;
| |
| filter: none !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-night .vector-header .mw-logo-container.skin-invert{
| |
| filter: none !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-night .vector-header .mw-logo-wordmark{
| |
| color: #fff !important;
| |
| }
| |
|
| |
| /*
| |
| html.skin-theme-clientpref-day #vector-main-menu-pinned-container,
| |
| html.skin-theme-clientpref-day #vector-main-menu-pinned-container #vector-main-menu,
| |
| html.skin-theme-clientpref-day #vector-main-menu-pinned-container #mw-panel,
| |
| html.skin-theme-clientpref-day #vector-main-menu-pinned-container .vector-pinnable-header,
| |
| html.skin-theme-clientpref-day #vector-main-menu-pinned-container .vector-menu-heading,
| |
| html.skin-theme-clientpref-day #vector-main-menu-pinned-container .vector-menu-content,
| |
| html.skin-theme-clientpref-day .vector-sticky-pinned-container #vector-page-tools-pinned-container,
| |
| html.skin-theme-clientpref-day .vector-sticky-pinned-container #vector-page-tools,
| |
| html.skin-theme-clientpref-day .vector-sticky-pinned-container #vector-appearance-pinned-container,
| |
| html.skin-theme-clientpref-day .vector-sticky-pinned-container #vector-appearance,
| |
| html.skin-theme-clientpref-day .vector-sticky-pinned-container .vector-pinnable-header,
| |
| html.skin-theme-clientpref-day .vector-sticky-pinned-container .vector-menu-heading,
| |
| html.skin-theme-clientpref-day .vector-sticky-pinned-container .vector-menu-content{
| |
| background-color: #FDFDFD !important;
| |
| }
| |
|
| |
| @media (prefers-color-scheme: light){
| |
| html.skin-theme-clientpref-os #vector-main-menu-pinned-container,
| |
| html.skin-theme-clientpref-os #vector-main-menu-pinned-container #vector-main-menu,
| |
| html.skin-theme-clientpref-os #vector-main-menu-pinned-container #mw-panel,
| |
| html.skin-theme-clientpref-os #vector-main-menu-pinned-container .vector-pinnable-header,
| |
| html.skin-theme-clientpref-os #vector-main-menu-pinned-container .vector-menu-heading,
| |
| html.skin-theme-clientpref-os #vector-main-menu-pinned-container .vector-menu-content,
| |
| html.skin-theme-clientpref-os .vector-sticky-pinned-container #vector-page-tools-pinned-container,
| |
| html.skin-theme-clientpref-os .vector-sticky-pinned-container #vector-page-tools,
| |
| html.skin-theme-clientpref-os .vector-sticky-pinned-container #vector-appearance-pinned-container,
| |
| html.skin-theme-clientpref-os .vector-sticky-pinned-container #vector-appearance,
| |
| html.skin-theme-clientpref-os .vector-sticky-pinned-container .vector-pinnable-header,
| |
| html.skin-theme-clientpref-os .vector-sticky-pinned-container .vector-menu-heading,
| |
| html.skin-theme-clientpref-os .vector-sticky-pinned-container .vector-menu-content{
| |
| background-color: #FDFDFD !important;
| |
| }
| |
| }
| |
|
| |
| html,
| |
| body,
| |
| .mw-page-container,
| |
| .mw-page-container-inner,
| |
| .mw-content-container,
| |
| #content,
| |
| .mw-body{
| |
| background: #FDFDFD !important;
| |
| }
| |
| */
| |
| #p-jake-recentchanges .vector-menu-content-list{
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| #p-jake-recentchanges .jake-rc-item{
| |
| margin: 0;
| |
| padding: 2px 0;
| |
| }
| |
|
| |
| #p-jake-recentchanges .jake-rc-item > a{
| |
| display: block;
| |
| text-decoration: none;
| |
| line-height: 1.15;
| |
| }
| |
|
| |
| #p-jake-recentchanges .jake-rc-meta{
| |
| margin-top: 0;
| |
| font-size: 0.85em;
| |
| line-height: 1.1;
| |
| opacity: 0.75;
| |
| color: var(--color-base, #202122);
| |
| }
| |
|
| |
| #p-jake-recentchanges .jake-rc-more{
| |
| padding: 4px 0 6px 0;
| |
| margin-top: 4px;
| |
| border-top: 0;
| |
| border-bottom: 1px solid var(--background-color-interactive, #eaecf0);
| |
| }
| |
|
| |
| #p-jake-recentchanges .jake-rc-more a{
| |
| text-decoration: none;
| |
| font-weight: 600;
| |
| }
| |
| /* */
| |
| /*
| |
| #left-navigation{
| |
| display: flex;
| |
| margin-left: -8px;
| |
| flex-grow: 1;
| |
| align-items: center;
| |
| }
| |
|
| |
| #left-navigation > nav[aria-label="Namespaces"]{
| |
| display: flex;
| |
| align-items: center;
| |
| gap: 8px;
| |
| }
| |
| */
| |
| #p-associated-pages .vector-menu-content-list{
| |
| display: flex;
| |
| align-items: center;
| |
| }
| |
|
| |
| #p-associated-pages .mw-list-item{
| |
| display: flex;
| |
| align-items: center;
| |
| }
| |
|
| |
| .vector-menu-tabs .mw-list-item > a,
| |
| .vector-page-toolbar-container .vector-dropdown > a,
| |
| .vector-menu-tabs .mw-list-item .vector-dropdown-label,
| |
| .vector-page-toolbar-container .vector-dropdown .vector-dropdown-label{
| |
| align-items: center;
| |
| }
| |
|
| |
| #vector-variants-dropdown{
| |
| align-self: center;
| |
| }
| |
|
| |
| #ca-jake-feedback{
| |
| display: flex;
| |
| align-items: center;
| |
| }
| |
|
| |
| #ca-jake-feedback > a.jake-feedback-btn{
| |
| display: inline-flex;
| |
| align-items: center;
| |
| gap: 8px;
| |
| }
| |
|
| |
| #ca-jake-feedback > a.jake-feedback-btn::before{
| |
| content: "";
| |
| width: 14px;
| |
| height: 14px;
| |
| flex: 0 0 14px;
| |
| background: url("/w/Special:FilePath/Info-circle.png") center / contain no-repeat;
| |
| }
| |
|
| |
| figure[typeof~='mw:File/Thumb'],
| |
| figure[typeof~='mw:File/Frame']{
| |
| border: 1px solid #004080 !important;
| |
| border-bottom: 0 !important;
| |
| }
| |
| figure[typeof~='mw:File/Thumb'] > figcaption,
| |
| figure[typeof~='mw:File/Frame'] > figcaption{
| |
| border: 1px solid #004080 !important;
| |
| border-top: 0 !important;
| |
| }
| |
| .infobox{
| |
| color: var(--color-base, #202122);
| |
| background-color: var(--background-color-interactive-subtle, #f8f9fa);
| |
| border: 1px solid #004080 !important;
| |
| float: right;
| |
| margin: 0 0 1em 1em;
| |
| padding: 0.5em;
| |
| width: 24em;
| |
| }
| |
|
| |
| /* */
| |
| #footer-social.crw-footer-social{
| |
| clear: both;
| |
| width: 100%;
| |
| display: flex;
| |
| flex-wrap: wrap;
| |
| gap: 10px;
| |
| margin: 6px 0 0 0;
| |
| padding: 0;
| |
| list-style: none;
| |
| }
| |
|
| |
| #footer-social.crw-footer-social li{
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
|
| |
| #footer-social.crw-footer-social a{
| |
| display: inline-flex;
| |
| align-items: center;
| |
| text-decoration: none;
| |
| }
| |
|
| |
| @media screen and (prefers-color-scheme: dark) {
| |
| /* Automatic mode search styles */
| |
| html.skin-theme-clientpref-os #p-search .cdx-text-input__input{
| |
| background: #202122 !important;
| |
| color: #f8f9fa !important;
| |
| border-color: rgba(255,255,255,0.18) !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os #p-search .cdx-text-input__input::placeholder{
| |
| color: rgba(248,249,250,0.6) !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os #p-search .cdx-text-input__start-icon{
| |
| filter: none !important;
| |
| color: #f8f9fa !important;
| |
| fill: #f8f9fa !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os #p-search .cdx-typeahead-search__menu,
| |
| html.skin-theme-clientpref-os #p-search .cdx-menu{
| |
| background: #202122 !important;
| |
| border-color: rgba(255,255,255,0.18) !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os #p-search .cdx-typeahead-search__menu,
| |
| html.skin-theme-clientpref-os #p-search .cdx-typeahead-search__menu *,
| |
| html.skin-theme-clientpref-os #p-search .cdx-menu,
| |
| html.skin-theme-clientpref-os #p-search .cdx-menu *{
| |
| color: #f8f9fa !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os #p-search .cdx-menu__item--highlighted,
| |
| html.skin-theme-clientpref-os #p-search .cdx-menu-item--highlighted,
| |
| html.skin-theme-clientpref-os #p-search .cdx-menu__item:hover,
| |
| html.skin-theme-clientpref-os #p-search .cdx-menu-item:hover{
| |
| background: rgba(255,255,255,0.08) !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os #p-search .cdx-menu a{
| |
| color: #8ab4f8 !important;
| |
| }
| |
|
| |
| html.skin-theme-clientpref-os #p-search .cdx-menu a:visited{
| |
| color: #c58af9 !important;
| |
| }
| |
| }
| |
|
| |
| .vector-page-titlebar {
| |
| --border-color-base: transparent;
| |
| } | | } |
|
| |
|
| Line 994: |
Line 419: |
| #mw-panel a[href*="zulip.consumerrights.wiki"]:hover{ | | #mw-panel a[href*="zulip.consumerrights.wiki"]:hover{ |
| filter: brightness(0.95); | | filter: brightness(0.95); |
| }
| |
|
| |
|
| |
|
| |
| /* AF 01/03/26 */
| |
|
| |
|
| |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
| |
|
| |
| * { box-sizing: border-box; }
| |
|
| |
|
| |
| #enshittify-btn {
| |
| display: block;
| |
| margin: 16px auto;
| |
| padding: 11px 28px;
| |
| font-size: 15px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| background: #1a1f36;
| |
| color: #e8eaf0;
| |
| border: 1px solid #2e3a5c;
| |
| border-radius: 6px;
| |
| cursor: pointer;
| |
| font-weight: 600;
| |
| letter-spacing: 0.02em;
| |
| box-shadow: 0 1px 3px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
| |
| transition: background 0.15s, border-color 0.15s;
| |
| }
| |
|
| |
| #enshittify-btn:hover {
| |
| background: #222a45;
| |
| border-color: #4d6aad;
| |
| }
| |
|
| |
|
| |
| #fake-progress-bar {
| |
| position: fixed;
| |
| top: 0; left: 0; right: 0;
| |
| height: 3px;
| |
| background: rgba(0,0,0,0.06);
| |
| z-index: 999997;
| |
| }
| |
|
| |
| #fake-progress-fill {
| |
| height: 100%;
| |
| background: #3b82f6;
| |
| width: 0%;
| |
| transition: width 0.4s ease;
| |
| }
| |
|
| |
|
| |
| #viewer-counter {
| |
| display: inline-flex;
| |
| align-items: center;
| |
| gap: 6px;
| |
| font-size: 13px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| color: #6b7280;
| |
| margin-bottom: 14px;
| |
| padding: 5px 12px;
| |
| background: #f9fafb;
| |
| border-radius: 99px;
| |
| border: 1px solid #e5e7eb;
| |
| }
| |
|
| |
| #viewer-dot {
| |
| color: #22c55e;
| |
| font-size: 9px;
| |
| animation: pulse 1.5s infinite;
| |
| }
| |
|
| |
| @keyframes pulse {
| |
| 0%, 100% { opacity: 1; }
| |
| 50% { opacity: 0.3; }
| |
| }
| |
|
| |
|
| |
| #news-ticker {
| |
| background: #0f172a;
| |
| color: white;
| |
| padding: 8px 0;
| |
| font-size: 13px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| display: flex;
| |
| align-items: center;
| |
| gap: 12px;
| |
| z-index: 9989;
| |
| position: relative;
| |
| }
| |
|
| |
| .ticker-label {
| |
| background: #ef4444;
| |
| padding: 2px 10px;
| |
| font-weight: 700;
| |
| font-size: 11px;
| |
| white-space: nowrap;
| |
| margin-left: 12px;
| |
| border-radius: 3px;
| |
| letter-spacing: 0.05em;
| |
| animation: blink 1s infinite;
| |
| }
| |
|
| |
| @keyframes blink {
| |
| 50% { opacity: 0.4; }
| |
| }
| |
|
| |
|
| |
| #privacy-notice {
| |
| background: #7f1d1d;
| |
| color: #fecaca;
| |
| padding: 6px 0;
| |
| font-size: 12px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| z-index: 9990;
| |
| position: relative;
| |
| }
| |
|
| |
|
| |
| #cookie-banner {
| |
| position: fixed;
| |
| bottom: 0; left: 0; right: 0;
| |
| background: #0f172a;
| |
| color: white;
| |
| z-index: 999999;
| |
| box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| }
| |
|
| |
| #cookie-inner {
| |
| display: flex;
| |
| align-items: center;
| |
| gap: 24px;
| |
| padding: 16px 28px;
| |
| max-width: 1200px;
| |
| margin: 0 auto;
| |
| }
| |
|
| |
| #cookie-text {
| |
| flex: 1;
| |
| font-size: 13px;
| |
| line-height: 1.5;
| |
| color: #94a3b8;
| |
| }
| |
|
| |
| #cookie-text strong { color: white; }
| |
|
| |
| #cookie-btns { flex-shrink: 0; }
| |
|
| |
| #cookie-accept {
| |
| background: #22c55e;
| |
| color: white;
| |
| border: none;
| |
| padding: 11px 28px;
| |
| border-radius: 6px;
| |
| font-size: 14px;
| |
| font-weight: 600;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| cursor: pointer;
| |
| white-space: nowrap;
| |
| transition: background 0.15s;
| |
| }
| |
|
| |
| #cookie-accept:hover { background: #16a34a; }
| |
|
| |
|
| |
| #pref-centre {
| |
| position: fixed;
| |
| inset: 0;
| |
| background: rgba(0,0,0,0.15);
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| z-index: 999998;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| }
| |
|
| |
|
| |
| #newsletter-modal,
| |
| #sub-nag,
| |
| #exit-modal,
| |
| #survey-modal,
| |
| #security-alert,
| |
| #scroll-block {
| |
| position: fixed;
| |
| inset: 0;
| |
| background: rgba(15,23,42,0.12);
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| z-index: 99998;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| }
| |
|
| |
| .modal-box {
| |
| background: white;
| |
| padding: 36px 40px;
| |
| border-radius: 16px;
| |
| text-align: center;
| |
| max-width: 500px;
| |
| width: 90%;
| |
| position: relative;
| |
| box-shadow: 0 25px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.05);
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| }
| |
|
| |
| .modal-close {
| |
| position: absolute;
| |
| top: 14px; right: 18px;
| |
| cursor: pointer;
| |
| font-size: 16px;
| |
| color: #9ca3af;
| |
| line-height: 1;
| |
| transition: color 0.1s;
| |
| }
| |
|
| |
| .modal-close:hover { color: #374151; }
| |
|
| |
| .modal-badge {
| |
| background: #3b82f6;
| |
| color: white;
| |
| font-size: 10px;
| |
| font-weight: 700;
| |
| padding: 3px 10px;
| |
| border-radius: 99px;
| |
| display: inline-block;
| |
| margin-bottom: 10px;
| |
| letter-spacing: 0.08em;
| |
| }
| |
|
| |
| .modal-box h2 {
| |
| margin: 0 0 10px;
| |
| font-size: 22px;
| |
| font-weight: 700;
| |
| color: #111827;
| |
| line-height: 1.3;
| |
| }
| |
|
| |
| .modal-box p {
| |
| color: #6b7280;
| |
| font-size: 14px;
| |
| line-height: 1.6;
| |
| margin: 0 0 8px;
| |
| }
| |
|
| |
| .modal-box button {
| |
| background: #3b82f6;
| |
| color: white;
| |
| border: none;
| |
| padding: 12px 24px;
| |
| border-radius: 8px;
| |
| font-size: 15px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| cursor: pointer;
| |
| margin-top: 12px;
| |
| font-weight: 600;
| |
| transition: background 0.15s;
| |
| }
| |
|
| |
| .modal-box button:hover { background: #2563eb; }
| |
|
| |
| .fine-print {
| |
| font-size: 10px;
| |
| color: #d1d5db;
| |
| margin-top: 14px;
| |
| line-height: 1.5;
| |
| }
| |
|
| |
|
| |
| #scroll-overlay {
| |
| position: fixed;
| |
| inset: 0;
| |
| backdrop-filter: blur(1px);
| |
| background: rgba(255,255,255,0.15);
| |
| z-index: 9990;
| |
| }
| |
|
| |
| #scroll-block {
| |
| z-index: 9991;
| |
| background: transparent;
| |
| }
| |
|
| |
|
| |
| .pricing-grid {
| |
| display: flex;
| |
| gap: 10px;
| |
| justify-content: center;
| |
| margin: 16px 0;
| |
| }
| |
|
| |
| .price-card {
| |
| border: 1px solid #e5e7eb;
| |
| border-radius: 10px;
| |
| padding: 14px 10px;
| |
| flex: 1;
| |
| position: relative;
| |
| text-align: center;
| |
| }
| |
|
| |
| .price-card h3 {
| |
| margin: 0 0 6px;
| |
| font-size: 14px;
| |
| color: #374151;
| |
| }
| |
|
| |
| .price-card.featured {
| |
| border-color: #3b82f6;
| |
| background: #eff6ff;
| |
| }
| |
|
| |
| .best-value {
| |
| position: absolute;
| |
| top: -10px; left: 50%;
| |
| transform: translateX(-50%);
| |
| background: #3b82f6;
| |
| color: white;
| |
| font-size: 9px;
| |
| font-weight: 700;
| |
| padding: 2px 10px;
| |
| border-radius: 99px;
| |
| white-space: nowrap;
| |
| letter-spacing: 0.05em;
| |
| }
| |
|
| |
|
| |
| .fake-ad {
| |
| background: white;
| |
| border: 1px solid #e5e7eb;
| |
| border-radius: 8px;
| |
| margin: 20px 0;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| overflow: hidden;
| |
| box-shadow: 0 1px 4px rgba(0,0,0,0.06);
| |
| position: relative;
| |
| }
| |
|
| |
| .fake-ad::before {
| |
| content: 'Sponsored';
| |
| position: absolute;
| |
| top: 8px;
| |
| right: 10px;
| |
| font-size: 10px;
| |
| color: #9ca3af;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| letter-spacing: 0.02em;
| |
| z-index: 1;
| |
| }
| |
|
| |
| .fake-ad:nth-child(odd) {
| |
| display: flex;
| |
| flex-direction: column;
| |
| }
| |
|
| |
| .fake-ad-image {
| |
| width: 100%;
| |
| height: 180px;
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| font-size: 36px;
| |
| position: relative;
| |
| overflow: hidden;
| |
| }
| |
|
| |
| .fake-ad:nth-child(1) .fake-ad-image { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
| |
| .fake-ad:nth-child(2) .fake-ad-image { background: linear-gradient(135deg, #7c2d12, #ea580c); }
| |
| .fake-ad:nth-child(3) .fake-ad-image { background: linear-gradient(135deg, #14532d, #16a34a); }
| |
| .fake-ad:nth-child(4) .fake-ad-image { background: linear-gradient(135deg, #4a044e, #a21caf); }
| |
| .fake-ad:nth-child(5) .fake-ad-image { background: linear-gradient(135deg, #1c1917, #44403c); }
| |
| .fake-ad:nth-child(6) .fake-ad-image { background: linear-gradient(135deg, #0c4a6e, #0891b2); }
| |
|
| |
| .fake-ad-image::before {
| |
| content: '';
| |
| position: absolute;
| |
| width: 200px;
| |
| height: 200px;
| |
| border-radius: 50%;
| |
| background: rgba(255,255,255,0.06);
| |
| top: -60px;
| |
| right: -40px;
| |
| }
| |
|
| |
| .fake-ad-image::after {
| |
| content: '';
| |
| position: absolute;
| |
| width: 120px;
| |
| height: 120px;
| |
| border-radius: 50%;
| |
| background: rgba(255,255,255,0.08);
| |
| bottom: -30px;
| |
| left: 20px;
| |
| }
| |
|
| |
| .fake-ad-image-text {
| |
| position: relative;
| |
| z-index: 1;
| |
| text-align: center;
| |
| color: white;
| |
| padding: 0 20px;
| |
| }
| |
|
| |
| .fake-ad-image-text .ad-eyebrow {
| |
| font-size: 10px;
| |
| font-weight: 600;
| |
| letter-spacing: 0.12em;
| |
| text-transform: uppercase;
| |
| opacity: 0.7;
| |
| display: block;
| |
| margin-bottom: 6px;
| |
| }
| |
|
| |
| .fake-ad-image-text .ad-headline {
| |
| font-size: 20px;
| |
| font-weight: 700;
| |
| line-height: 1.2;
| |
| display: block;
| |
| }
| |
|
| |
| .fake-ad-image-text .ad-subline {
| |
| font-size: 12px;
| |
| opacity: 0.75;
| |
| display: block;
| |
| margin-top: 4px;
| |
| }
| |
|
| |
| .fake-ad-body {
| |
| padding: 12px 14px 14px;
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: space-between;
| |
| gap: 12px;
| |
| }
| |
|
| |
| .fake-ad-body-text {}
| |
|
| |
| .fake-ad-brand {
| |
| font-size: 11px;
| |
| font-weight: 700;
| |
| color: #374151;
| |
| display: block;
| |
| margin-bottom: 2px;
| |
| text-transform: uppercase;
| |
| letter-spacing: 0.06em;
| |
| }
| |
|
| |
| .fake-ad-desc {
| |
| font-size: 12px;
| |
| color: #6b7280;
| |
| display: block;
| |
| line-height: 1.4;
| |
| }
| |
|
| |
| .fake-ad-cta {
| |
| flex-shrink: 0;
| |
| background: #1f2937;
| |
| color: white;
| |
| font-size: 12px;
| |
| font-weight: 600;
| |
| padding: 7px 14px;
| |
| border-radius: 5px;
| |
| white-space: nowrap;
| |
| cursor: pointer;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| border: none;
| |
| transition: background 0.15s;
| |
| }
| |
|
| |
| .fake-ad-cta:hover { background: #374151; }
| |
|
| |
| .fake-ad-video {
| |
| position: relative;
| |
| width: 100%;
| |
| height: 180px;
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| overflow: hidden;
| |
| }
| |
|
| |
| .fake-ad:nth-child(even) .fake-ad-video { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%); }
| |
| .fake-ad:nth-child(odd) .fake-ad-video { background: linear-gradient(135deg, #1c1917 0%, #292524 50%, #1c1917 100%); }
| |
|
| |
| .fake-ad-video::before {
| |
| content: '';
| |
| position: absolute;
| |
| inset: 0;
| |
| background: repeating-linear-gradient(
| |
| 0deg,
| |
| transparent,
| |
| transparent 2px,
| |
| rgba(255,255,255,0.015) 2px,
| |
| rgba(255,255,255,0.015) 4px
| |
| );
| |
| }
| |
|
| |
| .fake-ad-play {
| |
| width: 52px;
| |
| height: 52px;
| |
| background: rgba(255,255,255,0.15);
| |
| border: 2px solid rgba(255,255,255,0.4);
| |
| border-radius: 50%;
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| position: relative;
| |
| z-index: 1;
| |
| cursor: pointer;
| |
| transition: background 0.15s;
| |
| backdrop-filter: blur(4px);
| |
| }
| |
|
| |
| .fake-ad-play:hover { background: rgba(255,255,255,0.25); }
| |
|
| |
| .fake-ad-play::after {
| |
| content: '';
| |
| width: 0;
| |
| height: 0;
| |
| border-top: 10px solid transparent;
| |
| border-bottom: 10px solid transparent;
| |
| border-left: 16px solid rgba(255,255,255,0.9);
| |
| margin-left: 4px;
| |
| }
| |
|
| |
| .fake-ad-video-overlay {
| |
| position: absolute;
| |
| bottom: 0; left: 0; right: 0;
| |
| padding: 10px 12px;
| |
| background: linear-gradient(transparent, rgba(0,0,0,0.7));
| |
| z-index: 1;
| |
| display: flex;
| |
| align-items: flex-end;
| |
| justify-content: space-between;
| |
| }
| |
|
| |
| .fake-ad-video-title {
| |
| font-size: 12px;
| |
| font-weight: 600;
| |
| color: white;
| |
| line-height: 1.3;
| |
| max-width: 70%;
| |
| }
| |
|
| |
| .fake-ad-video-duration {
| |
| font-size: 11px;
| |
| color: rgba(255,255,255,0.8);
| |
| background: rgba(0,0,0,0.5);
| |
| padding: 2px 5px;
| |
| border-radius: 3px;
| |
| font-variant-numeric: tabular-nums;
| |
| }
| |
|
| |
| .fake-ad-video-badge {
| |
| position: absolute;
| |
| top: 8px;
| |
| left: 10px;
| |
| background: #fbbf24;
| |
| color: #1c1917;
| |
| font-size: 9px;
| |
| font-weight: 800;
| |
| padding: 2px 6px;
| |
| border-radius: 3px;
| |
| letter-spacing: 0.06em;
| |
| z-index: 2;
| |
| }
| |
|
| |
| .fake-ad-video-body {
| |
| padding: 10px 14px 12px;
| |
| display: flex;
| |
| align-items: center;
| |
| gap: 10px;
| |
| }
| |
|
| |
| .fake-ad-channel-icon {
| |
| width: 32px;
| |
| height: 32px;
| |
| border-radius: 50%;
| |
| flex-shrink: 0;
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| font-size: 14px;
| |
| font-weight: 700;
| |
| color: white;
| |
| }
| |
|
| |
| .fake-ad:nth-child(1) .fake-ad-channel-icon { background: #2563eb; }
| |
| .fake-ad:nth-child(2) .fake-ad-channel-icon { background: #dc2626; }
| |
| .fake-ad:nth-child(3) .fake-ad-channel-icon { background: #16a34a; }
| |
| .fake-ad:nth-child(4) .fake-ad-channel-icon { background: #7c3aed; }
| |
| .fake-ad:nth-child(5) .fake-ad-channel-icon { background: #0891b2; }
| |
|
| |
| .fake-ad-video-meta { flex: 1; }
| |
|
| |
| .fake-ad-video-channel {
| |
| font-size: 12px;
| |
| font-weight: 600;
| |
| color: #374151;
| |
| display: block;
| |
| }
| |
|
| |
| .fake-ad-video-views {
| |
| font-size: 11px;
| |
| color: #9ca3af;
| |
| display: block;
| |
| margin-top: 1px;
| |
| }
| |
|
| |
|
| |
| #autoplay-video {
| |
| position: fixed;
| |
| bottom: 80px;
| |
| width: 280px;
| |
| background: #000;
| |
| border-radius: 10px;
| |
| overflow: hidden;
| |
| box-shadow: 0 10px 40px rgba(0,0,0,0.5);
| |
| z-index: 9997;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| }
| |
|
| |
| #video-close {
| |
| background: #1c1c1c;
| |
| color: #9ca3af;
| |
| font-size: 11px;
| |
| padding: 6px 10px;
| |
| cursor: pointer;
| |
| text-align: right;
| |
| transition: color 0.15s;
| |
| }
| |
|
| |
| #video-close:hover { color: white; }
| |
|
| |
| #fake-video {
| |
| height: 158px;
| |
| background: linear-gradient(135deg, #0f172a, #1e1b4b, #0f172a);
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| }
| |
|
| |
| #video-placeholder {
| |
| color: #e2e8f0;
| |
| font-size: 13px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| }
| |
|
| |
| #video-label {
| |
| background: #dc2626;
| |
| color: white;
| |
| font-size: 11px;
| |
| font-weight: 600;
| |
| padding: 4px 10px;
| |
| text-align: center;
| |
| animation: blink 1.5s infinite;
| |
| letter-spacing: 0.04em;
| |
| }
| |
|
| |
|
| |
| #notif-prompt {
| |
| position: fixed;
| |
| top: 80px; right: 16px;
| |
| background: white;
| |
| border: 1px solid #e5e7eb;
| |
| border-radius: 12px;
| |
| padding: 16px;
| |
| max-width: 300px;
| |
| box-shadow: 0 10px 40px rgba(0,0,0,0.12);
| |
| z-index: 9996;
| |
| font-size: 13px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| }
| |
|
| |
| #notif-prompt button {
| |
| padding: 7px 14px;
| |
| border: 1px solid #e5e7eb;
| |
| border-radius: 6px;
| |
| cursor: pointer;
| |
| font-size: 13px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| background: #f9fafb;
| |
| color: #374151;
| |
| transition: background 0.1s;
| |
| }
| |
|
| |
| #notif-prompt button:last-of-type {
| |
| background: #3b82f6;
| |
| color: white;
| |
| border-color: #3b82f6;
| |
| }
| |
|
| |
| #notif-prompt button:hover { opacity: 0.9; }
| |
|
| |
|
| |
| #live-chat {
| |
| position: fixed;
| |
| bottom: 24px; right: 24px;
| |
| z-index: 9995;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| }
| |
|
| |
| #chat-bubble {
| |
| width: 52px; height: 52px;
| |
| background: #3b82f6;
| |
| border-radius: 50%;
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| font-size: 22px;
| |
| cursor: pointer;
| |
| box-shadow: 0 4px 20px rgba(59,130,246,0.5);
| |
| position: relative;
| |
| transition: transform 0.15s;
| |
| }
| |
|
| |
| #chat-bubble:hover { transform: scale(1.05); }
| |
|
| |
| #chat-badge {
| |
| position: absolute;
| |
| top: 0; right: 0;
| |
| background: #ef4444;
| |
| color: white;
| |
| font-size: 10px;
| |
| font-weight: 700;
| |
| width: 18px; height: 18px;
| |
| border-radius: 50%;
| |
| display: flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| border: 2px solid white;
| |
| }
| |
|
| |
| #chat-window {
| |
| position: absolute;
| |
| bottom: 64px; right: 0;
| |
| width: 300px;
| |
| background: white;
| |
| border-radius: 14px;
| |
| overflow: hidden;
| |
| box-shadow: 0 10px 40px rgba(0,0,0,0.18);
| |
| border: 1px solid #e5e7eb;
| |
| }
| |
|
| |
| #chat-header {
| |
| background: #3b82f6;
| |
| color: white;
| |
| padding: 14px 16px;
| |
| font-weight: 600;
| |
| font-size: 14px;
| |
| }
| |
|
| |
| #chat-messages {
| |
| height: 200px;
| |
| overflow-y: auto;
| |
| padding: 12px;
| |
| display: flex;
| |
| flex-direction: column;
| |
| gap: 8px;
| |
| background: #f9fafb;
| |
| }
| |
|
| |
| .chat-msg {
| |
| background: white;
| |
| padding: 9px 12px;
| |
| border-radius: 10px;
| |
| font-size: 13px;
| |
| max-width: 88%;
| |
| box-shadow: 0 1px 3px rgba(0,0,0,0.06);
| |
| line-height: 1.4;
| |
| border: 1px solid #f3f4f6;
| |
| }
| |
|
| |
| .user-msg {
| |
| background: #3b82f6;
| |
| color: white;
| |
| align-self: flex-end;
| |
| border-color: #3b82f6;
| |
| }
| |
|
| |
| #chat-input {
| |
| width: 100%;
| |
| border: none;
| |
| border-top: 1px solid #f3f4f6;
| |
| padding: 11px 14px;
| |
| font-size: 13px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| outline: none;
| |
| background: white;
| |
| }
| |
|
| |
|
| |
| .cursor-spark {
| |
| position: absolute;
| |
| pointer-events: none;
| |
| font-size: 15px;
| |
| z-index: 99999;
| |
| animation: sparkFade 0.8s forwards;
| |
| }
| |
|
| |
| @keyframes sparkFade {
| |
| 0% { opacity: 1; transform: translateY(0) scale(1); }
| |
| 100% { opacity: 0; transform: translateY(-28px) scale(0.4); }
| |
| }
| |
|
| |
|
| |
| .confetti-piece {
| |
| position: fixed;
| |
| top: -40px;
| |
| font-size: 22px;
| |
| z-index: 99999;
| |
| pointer-events: none;
| |
| animation: confettiFall linear forwards;
| |
| }
| |
|
| |
| @keyframes confettiFall {
| |
| 0% { top: -40px; opacity: 1; }
| |
| 100% { top: 110vh; opacity: 0; }
| |
| }
| |
|
| |
|
| |
| #tab-return-popup {
| |
| position: fixed;
| |
| top: 72px;
| |
| left: 50%;
| |
| transform: translateX(-50%);
| |
| background: white;
| |
| border: 1px solid #e5e7eb;
| |
| border-radius: 12px;
| |
| padding: 16px 20px;
| |
| max-width: 340px;
| |
| width: 90%;
| |
| box-shadow: 0 10px 40px rgba(0,0,0,0.1);
| |
| z-index: 9994;
| |
| font-size: 13px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| text-align: center;
| |
| }
| |
|
| |
| #tab-return-popup button {
| |
| padding: 7px 20px;
| |
| border: none;
| |
| border-radius: 6px;
| |
| background: #3b82f6;
| |
| color: white;
| |
| cursor: pointer;
| |
| font-size: 13px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| font-weight: 500;
| |
| margin-top: 10px;
| |
| }
| |
|
| |
|
| |
| #urgency-countdown {
| |
| position: fixed;
| |
| bottom: 90px;
| |
| left: 24px;
| |
| z-index: 9993;
| |
| transition: transform 0.3s ease;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| }
| |
|
| |
| #urgency-inner {
| |
| background: white;
| |
| border: 1px solid #fecaca;
| |
| border-top: 3px solid #ef4444;
| |
| border-radius: 12px;
| |
| padding: 14px 18px;
| |
| text-align: center;
| |
| box-shadow: 0 4px 20px rgba(0,0,0,0.1);
| |
| font-size: 13px;
| |
| position: relative;
| |
| min-width: 190px;
| |
| }
| |
|
| |
| #countdown-timer {
| |
| font-size: 30px;
| |
| font-weight: 700;
| |
| color: #ef4444;
| |
| letter-spacing: 2px;
| |
| margin: 6px 0;
| |
| font-variant-numeric: tabular-nums;
| |
| }
| |
|
| |
| #urgency-inner > button {
| |
| display: block;
| |
| width: 100%;
| |
| margin-top: 10px;
| |
| padding: 9px;
| |
| background: #3b82f6;
| |
| color: white;
| |
| border: none;
| |
| border-radius: 6px;
| |
| cursor: pointer;
| |
| font-weight: 600;
| |
| font-size: 13px;
| |
| font-family: 'Inter', system-ui, sans-serif;
| |
| transition: background 0.15s;
| |
| }
| |
|
| |
| #urgency-inner > button:hover { background: #2563eb; }
| |
|
| |
| #countdown-close {
| |
| position: absolute;
| |
| top: 8px; right: 10px;
| |
| cursor: pointer;
| |
| color: #d1d5db;
| |
| font-size: 14px;
| |
| line-height: 1;
| |
| transition: color 0.1s;
| |
| }
| |
|
| |
| #countdown-close:hover { color: #9ca3af; }
| |
|
| |
|
| |
| @keyframes shake {
| |
| 0%, 100% { transform: translateX(0); }
| |
| 20% { transform: translateX(-8px); }
| |
| 40% { transform: translateX(8px); }
| |
| 60% { transform: translateX(-4px); }
| |
| 80% { transform: translateX(4px); }
| |
| } | | } |