Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
m loadout tooltip text behavior resembles better the one in-game
Can we fix the tabber active color issue?
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
@font-face {
@font-face {
font-family:"TF2C";
font-family:"TF2C";
src: url(/misc/TF2C.woff2) format("woff2"),
src: url("/misc/TF2C.woff2") format("woff2"),
url(/misc/TF2C.woff) format("woff"),
url("/misc/TF2C.woff") format("woff"),
url(/misc/TF2C.ttf) format("truetype");
url("/misc/TF2C.ttf") format("truetype");
}
}


@font-face {
@font-face {
font-family:"TF2C Build";
font-family:"TF2C Build";
src: url(/misc/TF2CBuild.woff2) format("woff2"),
src: url("/misc/TF2CBuild.woff2") format("woff2"),
url(/misc/TF2CBuild.woff) format("woff"),
url("/misc/TF2CBuild.woff") format("woff"),
url(/misc/TF2CBuild.ttf) format("truetype");
url("/misc/TF2CBuild.ttf") format("truetype");
}
}


Line 16: Line 16:
font-family:"TF2C Professor";
font-family:"TF2C Professor";
src: url(/misc/TF2CProfessor.woff2) format("woff2"),
src: url(/misc/TF2CProfessor.woff2) format("woff2"),
url(/misc/TF2CProfessor.woff) format("woff"),
url("/misc/TF2CProfessor.woff") format("woff"),
url(/misc/TF2CProfessor.ttf) format("truetype");
url("/misc/TF2CProfessor.ttf") format("truetype");
}
}


@font-face {
@font-face {
font-family:"TF2C Secondary";
font-family:"TF2C Secondary";
src: url(/misc/TF2CSecondary.woff2) format("woff2"),
src: url("/misc/TF2CSecondary.woff2") format("woff2"),
url(/misc/TF2CSecondary.woff) format("woff"),
url("/misc/TF2CSecondary.woff") format("woff"),
url(/misc/TF2CSecondary.ttf) format("truetype");
url("/misc/TF2CSecondary.ttf") format("truetype");
}
}


Line 62: Line 62:
padding: 0;
padding: 0;
}
}
 
.ambox
{
margin:0 10%;
padding-right:1em;
}
.ambox-image, .ambox-empty-cell
{
border-left:10px solid #583A31;
padding: 2px 0 2px 0.5em;
}
@media screen {
@media screen {
.infobox {
.infobox, .ambox {
border:1px solid #583A31;
border:1px solid #583A31;
background-color:#E5E0DC;
background-color:#E5E0DC;
Line 85: Line 94:
}
}


.infobox {
.infobox, .ambox {
border: 1px black solid;
border: 1px black solid;
}
.infobox, .ambox {
border-color:black;
}
}
}
}
Line 176: Line 188:
.tabber__panel {
.tabber__panel {
min-width: 0;
min-width: 0;
}
.tabber__tab[aria-selected="true"], .tabber__tab[aria-selected="true"]:visited {
color: #e8d18c;
}
}


Line 226: Line 242:
text-align:right;
text-align:right;
width:100%;
width:100%;
}
.page-Main_Page .external {
padding-right:0 !important;
background-image:unset !important;
}
}


Line 233: Line 254:
font-size:2.5em !important;
font-size:2.5em !important;
margin-top:10px !important;
margin-top:10px !important;
}
.mp-topheader
{
font-family: "TF2C","TF2","Linux Libertine","Georgia","Times",serif;
text-transform: uppercase;
text-align: center;
font-size: 38.4px;
}
.mp-description
{
text-align: center;
}
.mp-classContainer
{
border-radius: 8px;
padding: 8px;
display: flex;
justify-content: space-around;
font-size: clamp(8px, 1vw, 20px);
text-align: center;
}
.mp-class a img
{
max-width: 100%;
width: 128px;
height: unset;
}
.mp-class a img:hover
{
filter: brightness(1.25);
}
}


Line 240: Line 296:
background-size: 100% 100%;
background-size: 100% 100%;
}
}
.minicrits
.minicrits
{
{
background-image: url(/w/index.php?title=Special:Redirect/file/Killicon_minicrit.png);
background-image: url(/w/index.php?title=Special:Redirect/file/Killicon_minicrit.png);
background-size: 100% 100%;
background-size: 100% 100%;
}
.navbox ul, .navbox li
{
display:inline;
margin:0;
}
.navbox li:not(:last-child):after
{
content:" · ";
}
}