MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary Tag: Manual revert |
||
| (83 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
body { | body { | ||
font-family:"Gill Sans Nova",Ubuntu,Calibri,"DejaVu Sans",source-sans-pro,Helvetica,sans-serif; | font-family:"Gill Sans Nova",Ubuntu,Calibri,"DejaVu Sans",source-sans-pro,Helvetica,sans-serif; | ||
font-size:1.2rem; | font-size:1.2rem; | ||
} | } | ||
.vector-page-titlebar::after { | |||
display: none; | |||
} | |||
@media (hover: hover) { | @media (hover: hover) { | ||
#learn-more-toggle:hover { | #learn-more-toggle:hover { | ||
| Line 12: | Line 14: | ||
} | } | ||
.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; | ||
} | } | ||
.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; | ||
} | } | ||
li#footer-info-license-notice, | li#footer-info-license-notice, | ||
li#footer-info-privacy-notice{ | li#footer-info-privacy-notice{ | ||
display: none; | display: none; | ||
} | } | ||
.cat-but-grid{ | .cat-but-grid{ | ||
| Line 57: | Line 55: | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
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 73: | 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 79: | Line 77: | ||
} | } | ||
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 94: | Line 85: | ||
} | } | ||
.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 130: | Line 118: | ||
background-color: #2A4B8D; | background-color: #2A4B8D; | ||
} | } | ||
.cat-mw-box{ | .cat-mw-box{ | ||
| Line 154: | Line 135: | ||
padding:0.2rem 1rem; | padding:0.2rem 1rem; | ||
} | } | ||
.infobox { | .infobox { | ||
| Line 162: | Line 141: | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
float: right; | float: right; | ||
clear: right; | |||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 0.5em; | padding: 0.5em; | ||
width: 24em; | width: 24em; | ||
max-width: 100%; | |||
box-sizing: border-box; | |||
} | } | ||
| Line 181: | Line 163: | ||
} | } | ||
.infobox-image img { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
@media screen { | @media screen { | ||
| Line 190: | Line 175: | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .infobox-image{ | html.skin-theme-clientpref-os .infobox-image{ | ||
background-color:#909590; | background-color:#909590; | ||
| Line 213: | Line 197: | ||
border-bottom: 0.1em solid #ccc; | border-bottom: 0.1em solid #ccc; | ||
font-size:125%; | font-size:125%; | ||
} | } | ||
@media (max-width: 640px) { | @media (max-width: 640px) { | ||
.infobox { | .infobox { | ||
width: | 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%; | |||
} | } | ||
} | } | ||
.createPageInput { | .createPageInput { | ||
| Line 257: | Line 232: | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
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 283: | Line 257: | ||
} | } | ||
.create-page { | .create-page { | ||
position: relative; | position: relative; | ||
| Line 331: | Line 303: | ||
} | } | ||
.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, | ||
| Line 343: | Line 314: | ||
.mainpage-contents span.mw-tag-markers { display: none;} | .mainpage-contents span.mw-tag-markers { display: none;} | ||
.cat-image-fullwidth img { | .cat-image-fullwidth img { | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
} | } | ||
#mw-panel a[href*="discord.gg"], | #mw-panel a[href*="discord.gg"], | ||
| Line 370: | Line 329: | ||
text-decoration: none; | text-decoration: none; | ||
background: #5865F2; | background: #5865F2; | ||
margin-bottom: 4px; | |||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Line 387: | Line 347: | ||
} | } | ||
#mw-panel a[href*="chromewebstore.google.com"] { | |||
#mw-panel a[href*=" | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| Line 410: | Line 355: | ||
font-weight: 600; | font-weight: 600; | ||
text-decoration: none; | text-decoration: none; | ||
background: # | background: #1a73e8; | ||
color: #fff !important; | color: #fff !important; | ||
margin-bottom: 4px; | |||
} | } | ||
#mw-panel a[href*=" | #mw-panel a[href*="chromewebstore.google.com"]::before { | ||
content: ""; | content: ""; | ||
width: 18px; | width: 18px; | ||
height: 18px; | height: 18px; | ||
flex: 0 0 18px; | flex: 0 0 18px; | ||
background: url("/w/Special:FilePath/ | background: url("/w/Special:FilePath/Chrome-white-icon2.png") center / contain no-repeat; | ||
} | } | ||
#mw-panel a[href*=" | #mw-panel a[href*="chromewebstore.google.com"]:hover { | ||
filter: brightness(0.95); | filter: brightness(0.95); | ||
} | } | ||
#mw-panel a[href=" | #mw-panel a[href*="addons.mozilla.org"] { | ||
display: | display: flex; | ||
align-items: center; | |||
gap: 8px; | |||
padding: 10px 12px; | |||
border-radius: 6px; | |||
font-weight: 600; | |||
text-decoration: none; | |||
background: #ff6611; | |||
font-weight: | |||
background | |||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
. | #mw-panel a[href*="addons.mozilla.org"]::before { | ||
content: ""; | |||
width: 18px; | |||
height: 18px; | |||
flex: 0 0 18px; | |||
background: url("/w/Special:FilePath/Firefox-white-icon3.png") center / contain no-repeat; | |||
} | } | ||
#mw-panel a[href*="addons.mozilla.org"]:hover { | |||
. | filter: brightness(0.95); | ||
} | } | ||
#mw-panel a[href*="zulip.consumerrights.wiki"]{ | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; | |||
padding: 10px 12px; | |||
border-radius: 6px; | |||
font-weight: 600; | |||
text-decoration: none; | |||
. | background: #6492FE; | ||
border-radius: | |||
background | |||
color: #fff !important; | color: #fff !important; | ||
margin-bottom: 4px; | |||
} | } | ||
#mw-panel a[href*="zulip.consumerrights.wiki"]::before{ | |||
content: ""; | |||
width: 18px; | |||
height: 18px; | |||
flex: 0 0 18px; | |||
background: url("/w/Special:FilePath/Zulip-white-icon.png") center / contain no-repeat; | |||
} | } | ||
#mw-panel a[href*="zulip.consumerrights.wiki"]:hover{ | |||
filter: brightness(0.95); | |||
. | |||
} | } | ||