MediaWiki:Vector.css: Difference between revisions
From Celeste Wiki
interwiki: moved image 2px up, widened box 1px left and 1px right
(Forked from Stardew Valley Wiki (https://stardewcommunitywiki.com/mediawiki/index.php?title=MediaWiki:Vector.css&mobileaction=toggle_view_desktop)) |
(interwiki: moved image 2px up, widened box 1px left and 1px right) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1:
/* CSS placed here will affect users of the Vector skin */
/* This skin is named "Strawberry", after its extensive use of strawberry pink bordering on purple. Also, Celeste reference. */
/* THIS PAGE IS (UNIQUELY TO THIS WIKI) UNDER A CC BY-NC-SA 3.0 LICENSE (instead of 4.0). */
/* Body Styling */
Line 13 ⟶ 15:
border: 1px solid #F7A7D9;
margin-right: 15px;
background-color: rgba(248, 209, 255, 0.
min-height:500px;
margin-bottom: 60px;
Line 81 ⟶ 83:
/* Mediawiki page tabs */
#mw-head
background:none;
}
color: #B7D2FF;
}
color: #99BFFF;
}
color: #C6DBFF;
}
background-color: rgba(30, 17, 102, 0.67);
}
color: #C6DBFF;
}
Line 129 ⟶ 131:
#preferences {
background-color: rgba(
}
#preftoc li.selected a {
background: rgba(
}
Line 146 ⟶ 148:
/* Captcha Styling */
div.editOptions label, div.editOptions
display: inline !important;
}
#editform label, #editform
display: none;
}
Line 156 ⟶ 158:
/* Graphical borders */
#menuborder {
border:
padding: 12px;
background-color: rgba(249,208,255,0.77);
}
border-right:
border-bottom: 1px solid #F7A7D9;
left: -12px;
background-color: rgba(249,208,255,0.77);
padding-bottom: 15px;
/* border-top-right-radius: 8px; */
border-bottom-right-radius: 8px;
}
#infoboxborder {
border:
background-color: rgba(249,208,255,0.77);
float:right;
border-radius: 12px;
Line 189 ⟶ 183:
}
/* Navboxstyling */
Line 222 ⟶ 202:
}
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
border: 1px solid #
padding: 0.2em;
background-color: rgba(255, 255, 255, 0.58);
Line 228 ⟶ 208:
table.wikitable > tr > th, table.wikitable > * > tr > th {
background-color: #
text-align: center;
border-color: #
box-shadow: 0px 1px rgba(0, 0, 0, 0.3);
color: white;
Line 263 ⟶ 243:
}
/* Infobox Styling */
.infobox {
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
text-align: center;
}
.infobox td,
vertical-align: top;
/* @noflip */
text-align: left;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
}
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
Line 377 ⟶ 363:
}
/* Talk Page Headers */
#talkheadertitle {
background-color: #
text-align: center;
color: white;
Line 497 ⟶ 388:
}
/* Alert Templates */
Line 766 ⟶ 565:
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: pixelated;
}
/* Invert the notification icons */
.mw-echo-notifications-badge {
filter: invert( 1 )
hue-rotate( 180deg )
}
/* added 17-02-2024 */
/* Body-mounted Nav Menus */
.vector-menu-tabs li{
background-image: linear-gradient(to top,rgba(247,167,217,1) 1px,rgba(192,131,204,1) 1px,80%,rgba(248,209,255,0.0) 100%);
}
.vector-menu-tabs .selected {
background: linear-gradient(to top, rgba(248,209,255,0.80), 80%, rgba(255,255,255,0.0));
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,#F7A7D9 100%);
}
.vector-menu-dropdown {
background: linear-gradient(to top,rgba(247,167,217,1) 1px,rgba(192,131,204,0.75) 1px,80%,rgba(248,209,255,0.0) 100%);
}
.vector-menu-dropdown .vector-menu-heading {
color: #2e3133;
}
.vector-menu-dropdown .vector-menu-content {
background-color: rgba(248,209,255,1);
}
/* Dynamic top border to account for transparency - JS linked */
.mw-body {
margin-top: calc(-1 * var(--p4));
--p1: 100%;
--p2: 0;
--p3: 0;
--p4: 1px;
mask: linear-gradient(black var(--p4), white var(--p4)) luminance add, linear-gradient(to right, black var(
--p1), white var(--p1), white var(--p2), black var(--p2), black var(--p3), white var(--p3)) luminance;
}
/* User navbar */
/* #p-personal {
background: rgba(192,131,204,0.80);
border-bottom-left-radius: 5px;
padding-bottom: 4px;
padding-top: 2px;
padding-right: 15px;
height: 22px;
top: 0;
right: 0;
border: solid rgba(192,131,204,1);
border-width: 0 0 1px 1px;
}
#p-personal ul {
padding-left: 1em;
}
#p-personal a, #p-personal a.new, p-personal a:visited {
color: #0645ad;
} */
/* Stretch footer background over subelements */
#footer {
overflow: hidden;
}
/* Strawberry watch icon */
.vector-menu-tabs .mw-watchlink.icon a:before{
background-size: contain;
height: 19.5px;
width: 24px;
top: 12px;
left: 2px;
}
.vector-menu-tabs #ca-watch.icon a:hover:before,
.vector-menu-tabs #ca-unwatch.icon a:hover:before {
background-image: url(https://static.miraheze.org/celestewiki/a/a1/Strawberry_ingame.png) !important;
filter: sepia(1);
}
.vector-menu-tabs #ca-watch.icon a:before {
background-image: url(https://static.miraheze.org/celestewiki/2/20/Strawberry_collected.png) !important;
}
.vector-menu-tabs #ca-unwatch.icon a:before {
background-image: url(https://static.miraheze.org/celestewiki/a/a1/Strawberry_ingame.png) !important;
}
#mw-indicator-interwiki {
float: right;
padding: 0 3px;
border: 2px solid rgb(192, 131, 204);
border-radius: 7px;
font-family: "Consolas", sans-serif;
font-size: 0.83em;
letter-spacing: -0.5px;
background-color: rgba(192, 131, 204, 0.5);
}
#mw-indicator-interwiki img {
border-radius: 25%;
margin-right: -3px;
margin-top: -2px;
}
|