MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary |
||
| (77 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
:root { | |||
--wgpgradient: linear-gradient(#35A774, #267548)!important; | |||
--wgpgradienthover: linear-gradient(#4C9EE5, #505FB2)!important; | |||
} | |||
/* Mark redirects in Special:Allpages and Special:Watchlist, taken from the SMG4 Wiki */ | |||
.allpagesredirect { | |||
font-style: italic; | |||
} | |||
.allpagesredirect:after { | |||
color: #9bb3aa; content: " (redirect)" | |||
} | |||
#pt-login { | |||
background: url(/w/skins/Vector/resources/skins.vector.styles.legacy/images/login.svg) 0 2px / 16px 16px no-repeat; | |||
padding-left: 19px; | |||
} | |||
#pt-logout { | |||
background: url(/w/skins/Vector/resources/skins.vector.styles.legacy/images/logout.svg) 0 2px / 16px 16px no-repeat; | |||
padding-left: 19px; | |||
} | |||
#pt-preferences { | |||
background: url(/w/skins/Vector/resources/skins.vector.styles.legacy/images/gear.svg) 0 2px / 16px 16px no-repeat; | |||
padding-left: 19px; | |||
} | |||
#n-Youtube { | |||
background: url("/w/logo_youtube.svg") 0 2px / 14px 14px no-repeat; | |||
padding-left: 19px; | |||
} | |||
#n-Discord { | |||
background: url("/w/logo_discord.svg") 0 2px / 14px 14px no-repeat; | |||
padding-left: 19px; | |||
} | |||
#n-Steam { | |||
background: url("/w/logo_steam.svg") 0 2px / 14px 14px no-repeat; | |||
padding-left: 19px; | |||
} | |||
#n-Patreon { | |||
background: url("/w/logo_patreon.svg") 0 2px / 14px 14px no-repeat; | |||
padding-left: 19px; | |||
} | |||
#n-Whispy { | |||
background: url("/w/logo_whispy.svg") 0 2px / 14px 14px no-repeat; | |||
padding-left: 19px; | |||
} | |||
.wikitable th { | |||
background: linear-gradient(to bottom,#fbfbff 0%,#d3deea 97%); | |||
} | |||
/* Table of contents */ | |||
.toc { | .toc { | ||
background: linear-gradient(#FAFCFD 2.5px,#F5FAFF 3px,#E6F0FA 16.9px, #DCE6F4 17px, #E4EFFB | background: linear-gradient(#FAFCFD 2.5px,#F5FAFF 3px,#E6F0FA 16.9px,#DCE6F4 17px,#E4EFFB 30px,#D4DFEE 31px,#fff 33px,#EBF1F4 100%); | ||
box-shadow: 0px 2.3px 3.3px #4b477521; | |||
min-width: 190px !important; | |||
padding-top: 6px !important; | |||
padding-right: 12px !important; | |||
padding-left: 12px !important; | |||
padding-bottom: 4px !important; | |||
} | } | ||
.toclevel-1 { | |||
padding-top: 4px; | |||
} | |||
/* | |||
.toctitle { | .toctitle { | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
} | } | ||
*/ | |||
.mw-editsection { | |||
display: none !important; | |||
} | |||
/* Fonts */ | |||
@font-face { | @font-face { | ||
| Line 20: | Line 93: | ||
font-smooth: always; | font-smooth: always; | ||
} | } | ||
/* Main CSS */ | |||
#content { | #content { | ||
margin-left: 16em; | /*margin-left: 16em; */ | ||
/ | |||
/*margin-right: 200px; */ | |||
margin-right: 1em; | margin-right: 1em; | ||
border-right-width: 1px; | border-right-width: 1px; | ||
background: linear-gradient(#fff | background: linear-gradient(#fff 8%, #E4E5F0 150%); /* 3% 150% */ | ||
background-attachment: fixed !important; | |||
background-size: cover !important; | |||
box-shadow: -5px 5px 10px -7px #5e65845c !important; | |||
} | } | ||
#left-navigation { | #left-navigation { | ||
margin-left: 16em; | /* margin-left: 16em; */ | ||
} | } | ||
#right-navigation { | #right-navigation { | ||
/ | /* margin-right: 184px; */ | ||
margin-right: 0px; | margin-right: 0px; | ||
} | } | ||
| Line 40: | Line 121: | ||
#p-personal { | #p-personal { | ||
/ | /* margin-right: 184px; */ | ||
margin-right: 0.2em; | margin-right: 0.2em; | ||
{ | { | ||
| Line 152: | Line 233: | ||
/* @noflip */ | /* @noflip */ | ||
text-align: right; | text-align: right; | ||
} | |||
@font-face { | |||
font-family: SuperMario286; | |||
src: url(https://weegeepie.com/w/SuperMario286.woff2); | |||
} | } | ||
Latest revision as of 09:15, 12 August 2024
/* CSS placed here will be applied to all skins */
:root {
--wgpgradient: linear-gradient(#35A774, #267548)!important;
--wgpgradienthover: linear-gradient(#4C9EE5, #505FB2)!important;
}
/* Mark redirects in Special:Allpages and Special:Watchlist, taken from the SMG4 Wiki */
.allpagesredirect {
font-style: italic;
}
.allpagesredirect:after {
color: #9bb3aa; content: " (redirect)"
}
#pt-login {
background: url(/w/skins/Vector/resources/skins.vector.styles.legacy/images/login.svg) 0 2px / 16px 16px no-repeat;
padding-left: 19px;
}
#pt-logout {
background: url(/w/skins/Vector/resources/skins.vector.styles.legacy/images/logout.svg) 0 2px / 16px 16px no-repeat;
padding-left: 19px;
}
#pt-preferences {
background: url(/w/skins/Vector/resources/skins.vector.styles.legacy/images/gear.svg) 0 2px / 16px 16px no-repeat;
padding-left: 19px;
}
#n-Youtube {
background: url("/w/logo_youtube.svg") 0 2px / 14px 14px no-repeat;
padding-left: 19px;
}
#n-Discord {
background: url("/w/logo_discord.svg") 0 2px / 14px 14px no-repeat;
padding-left: 19px;
}
#n-Steam {
background: url("/w/logo_steam.svg") 0 2px / 14px 14px no-repeat;
padding-left: 19px;
}
#n-Patreon {
background: url("/w/logo_patreon.svg") 0 2px / 14px 14px no-repeat;
padding-left: 19px;
}
#n-Whispy {
background: url("/w/logo_whispy.svg") 0 2px / 14px 14px no-repeat;
padding-left: 19px;
}
.wikitable th {
background: linear-gradient(to bottom,#fbfbff 0%,#d3deea 97%);
}
/* Table of contents */
.toc {
background: linear-gradient(#FAFCFD 2.5px,#F5FAFF 3px,#E6F0FA 16.9px,#DCE6F4 17px,#E4EFFB 30px,#D4DFEE 31px,#fff 33px,#EBF1F4 100%);
box-shadow: 0px 2.3px 3.3px #4b477521;
min-width: 190px !important;
padding-top: 6px !important;
padding-right: 12px !important;
padding-left: 12px !important;
padding-bottom: 4px !important;
}
.toclevel-1 {
padding-top: 4px;
}
/*
.toctitle {
margin-bottom: 8px;
}
*/
.mw-editsection {
display: none !important;
}
/* Fonts */
@font-face {
font-family: 'Rodin';
src: url('https://weegeepie.com/w/Rodin.woff2') format('woff2');
font-smooth: always;
}
@font-face {
font-family: 'OpenSans';
src: url('https://weegeepie.com/w/OpenSans.woff2') format('woff2');
font-smooth: always;
}
/* Main CSS */
#content {
/*margin-left: 16em; */
/*margin-right: 200px; */
margin-right: 1em;
border-right-width: 1px;
background: linear-gradient(#fff 8%, #E4E5F0 150%); /* 3% 150% */
background-attachment: fixed !important;
background-size: cover !important;
box-shadow: -5px 5px 10px -7px #5e65845c !important;
}
#left-navigation {
/* margin-left: 16em; */
}
#right-navigation {
/* margin-right: 184px; */
margin-right: 0px;
}
#p-personal {
/* margin-right: 184px; */
margin-right: 0.2em;
{
.vector-user-menu-legacy {
padding-top: 6px;
}
.mw-footer {
margin-left: 16em;
margin-right: 184px;
}
#p-logo {
height: 125px;
}
a.new {
color: ;
animation: Errortext 1s linear infinite;
/*font-family: OswaldError;*/
font-weight: bold;
}
.tree_stub {
color: red;
animation: Errortext 1s linear infinite;
}
@keyframes Errortext{
0%{
color:#FF0000;
}
50%{
color:#BF0000;
}
100%{
color:#FF0000;
}
}
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
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;
width: 22em;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
padding: 0.2em;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
@font-face {
font-family: SuperMario286;
src: url(https://weegeepie.com/w/SuperMario286.woff2);
}