MediaWiki:Common.css: Difference between revisions

Updating CSS from MediaWiki:Common.less
(Updating CSS from MediaWiki:Common.less)
(Updating CSS from MediaWiki:Common.less)
 
(29 intermediate revisions by 2 users not shown)
Line 19:
--link-color: #8b694f;
--table-header-link: #c7b8b3;
--redlink-color: #ba0000cd4343;
--text-color: #2F2828;
--byline-color: #ccc;
Line 29:
--osrsw-brown: #605443;
--thumb-bg: var(--body-light);
--thumb-caption-bg: var(--body-middark);
--sourceeditor-input-background: #fff;
--sourceeditor-background: var(--body-light);
Line 129:
 
a.new {
color: var(--redlink-color) !important;
}
 
a.new:visited {
color: var(--redlink-color) !important;
}
 
Line 201:
.catlinks li {
border-color: var(--body-mid);
}
 
.filehistory a img,
#file img {
background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M0 0h8v16h8V8H0z' opacity='.13'/%3E%3C/svg%3E") repeat;
}
 
#file img:hover {
background: none;
}
 
figure[typeof~='mw:File/Thumb'] {
}
 
figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element,
figure[typeof~='mw:File/Thumb'] figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element {
margin: 0;
}
 
figure[typeof~='mw:File/Thumb'] > .mw-file-description::after,
figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after {
background: none !important;
}
 
Line 549 ⟶ 527:
.mw_metadata th {
background-color: var(--wikitable-header-bg);
color: #fff;
border-color: var(--body-darker);
}
 
Line 566 ⟶ 546:
.mw-datatable th {
background-color: var(--wikitable-header-bg);
color: #fff;
border-color: var(--body-darker);
}
 
Line 714 ⟶ 696:
table.align-left-20 td:nth-of-type(20) {
text-align: left;
}
 
.filehistory a img,
#file img {
background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M0 0h8v16h8V8H0z' opacity='.13'/%3E%3C/svg%3E") repeat;
}
 
#file img:hover {
background: none;
}
 
figure[typeof~='mw:File/Thumb'] {
}
 
figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element,
figure[typeof~='mw:File/Thumb'] figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element {
margin: 0;
}
 
figure[typeof~='mw:File/Thumb'] > .mw-file-description::after,
figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after {
background: none !important;
}
 
figure[typeof~='mw:File/Thumb'] > figcaption,
figure[typeof~='mw:File/Frame'] > figcaption,
figure[typeof~='mw:Image/Thumb'] > figcaption,
figure[typeof~='mw:Video/Thumb'] > figcaption,
figure[typeof~='mw:Image/Frame'] > figcaption,
figure[typeof~='mw:Video/Frame'] > figcaption {
background-color: var(--thumb-caption-bg);
color: #fff;
}
 
Line 2,707 ⟶ 2,721:
}
 
.infobox tr td:not(.infobox-padding):not(.infobox-image) {
padding: 0.2em 0.5em;
}
Line 2,733 ⟶ 2,747:
text-align: center;
border-radius: 1.2em 1.2em 0 0;
background-image: url(https:"/images/brightershores.com/20240313/website_watermark_tileDefault_infobox_transparent_background@2x.png");
background-position: center;
background-size: 300px;
padding: 0;
overflow: hidden;
}
 
.infobox .infobox-image span {
display: block;
border-radius: 0.9em 0.9em 0 0;
overflow: hidden;
margin: 0.5em;
}
 
.infobox .infobox-image span img {
max-width: calc(292px - 1em);
height: auto;
}
 
Line 2,765 ⟶ 2,793:
.infobox a:active {
color: #a5918a;
}
 
.infobox.infobox-Hopeport {
background-color: #b99f46;
}
 
.infobox.infobox-Hopeport tr > * {
background-color: #3b382f;
}
 
.infobox.infobox-Hopeport .infobox-image {
background-image: url("/images/[email protected]");
}
 
.infobox.infobox-Hopeport .infobox-padding {
background-color: #b99f46;
}
 
.infobox.infobox-Hopeport a,
.infobox.infobox-Hopeport a:hover,
.infobox.infobox-Hopeport a:visited,
.infobox.infobox-Hopeport a:active {
color: #c7b26b;
}
 
.infobox.infobox-Mine_of_Mantuban {
background-color: #68ABF1;
}
 
.infobox.infobox-Mine_of_Mantuban tr > * {
background-color: #26323d;
}
 
.infobox.infobox-Mine_of_Mantuban .infobox-image {
background-image: url("/images/[email protected]");
}
 
.infobox.infobox-Mine_of_Mantuban .infobox-padding {
background-color: #68ABF1;
}
 
.infobox.infobox-Mine_of_Mantuban a,
.infobox.infobox-Mine_of_Mantuban a:hover,
.infobox.infobox-Mine_of_Mantuban a:visited,
.infobox.infobox-Mine_of_Mantuban a:active {
color: #97c5f5;
}
 
.infobox.infobox-Hopeforest {
background-color: #84b876;
}
 
.infobox.infobox-Hopeforest tr > * {
background-color: #2e3930;
}
 
.infobox.infobox-Hopeforest .infobox-image {
background-image: url("/images/[email protected]");
}
 
.infobox.infobox-Hopeforest .infobox-padding {
background-color: #84b876;
}
 
.infobox.infobox-Hopeforest a,
.infobox.infobox-Hopeforest a:hover,
.infobox.infobox-Hopeforest a:visited,
.infobox.infobox-Hopeforest a:active {
color: #a2c998;
}
 
.infobox.infobox-Crenopolis {
background-color: #979797;
}
 
.infobox.infobox-Crenopolis tr > * {
background-color: #3f3f3f;
}
 
.infobox.infobox-Crenopolis .infobox-image {
background-image: url("/images/[email protected]");
}
 
.infobox.infobox-Crenopolis .infobox-padding {
background-color: #979797;
}
 
.infobox.infobox-Crenopolis a,
.infobox.infobox-Crenopolis a:hover,
.infobox.infobox-Crenopolis a:visited,
.infobox.infobox-Crenopolis a:active {
color: #b1b1b1;
}
 
Line 3,170 ⟶ 3,290:
max-width: 100%;
border: none;
border-radius: 0.6em;
overflow: hidden;
}
 
Line 3,177 ⟶ 3,295:
width: 100%;
margin-bottom: 0;
}
 
.mainpage-body .tile-halves {
border-radius: 0.6em;
overflow: hidden;
}
 
Line 3,249 ⟶ 3,362:
.mainpage-contents .tile-bottom {
box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.5);
border-radius: 0 0 0.6em 0.6em;
}
 
Line 3,256 ⟶ 3,368:
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3), 0 0 2px rgba(255, 255, 255, 0.5);
margin: 3px !important;
border-radius: 1.2em;
}