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
No edit summary
Can we fix the tabber active color issue?
 
(17 intermediate revisions by 2 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 188: 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 238: 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 247: Line 256:
}
}


.page-Main_Page .mp-topheader
.mp-topheader
{
{
font-family: "TF2C","TF2","Linux Libertine","Georgia","Times",serif;
font-family: "TF2C","TF2","Linux Libertine","Georgia","Times",serif;
Line 255: Line 264:
}
}


.page-Main_Page .mp-description
.mp-description
{
{
text-align: center;
text-align: center;
Line 262: Line 271:
.mp-classContainer
.mp-classContainer
{
{
background-color: #95847C;
border-radius: 8px;
border-radius: 8px;
padding: 8px;
display: flex;
display: flex;
justify-content: space-around;
justify-content: space-around;
font-size: clamp(8px, 1vw, 20px);
text-align: center;
text-align: center;
padding: 5px;
}
}


.mp-class
.mp-class a img
{
{
max-width: 100%;
max-width: 100%;
width: 128px;
height: unset;
}
.mp-class a img:hover
{
filter: brightness(1.25);
}
}