MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Technochips (talk | contribs) mNo edit summary |
small formatting adjustments |
||
| 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"); | ||
} | } | ||
@font-face | |||
{ | @font-face { | ||
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"); | ||
} | } | ||
.infobox | |||
{ | .infobox { | ||
float:right; | float:right; | ||
min-width:21em; | min-width:21em; | ||
margin:0 0 1em 1em; | margin:0 0 1em 1em; | ||
} | } | ||
.infobox-title | .infobox-title { | ||
{ | |||
font-size:21px; | font-size:21px; | ||
text-align:center | text-align:center | ||
} | } | ||
.infobox-image | |||
{ | .infobox-image { | ||
text-align:center | text-align:center | ||
} | } | ||
.infobox th | |||
{ | .infobox th { | ||
text-align:center; | text-align:center; | ||
vertical-align:top; | vertical-align:top; | ||
font-family:"TF2C Build","TF2 Build",sans-serif; | font-family:"TF2C Build","TF2 Build",sans-serif; | ||
text-transform: uppercase; | text-transform:uppercase; | ||
font-weight:normal; | font-weight:normal; | ||
width:100%; | width:100%; | ||
} | } | ||
.killicon | |||
{ | .killicon { | ||
vertical-align:middle; | vertical-align:middle; | ||
height:40px; | height:40px; | ||
| Line 58: | Line 56: | ||
font-family:"Verdana",serif; | font-family:"Verdana",serif; | ||
font-weight:bold; | font-weight:bold; | ||
font-size:17px | font-size:17px; | ||
} | } | ||
.content .infobox caption | |||
{ | .content .infobox caption { | ||
padding: 0; | padding: 0; | ||
} | } | ||
@media screen | |||
{ | @media screen { | ||
.infobox | .infobox { | ||
border:1px solid #583A31; | border:1px solid #583A31; | ||
background-color:#E5E0DC | background-color:#E5E0DC; | ||
} | } | ||
.infobox th | |||
.infobox th { | |||
background-color:#583A31; | background-color:#583A31; | ||
color:#D2CDC8 | color:#D2CDC8; | ||
} | } | ||
.killicon | |||
.killicon { | |||
background-color:#F1E9CB; | background-color:#F1E9CB; | ||
color:#38361E; | color:#38361E; | ||
border-radius:5px | border-radius:5px; | ||
} | } | ||
} | } | ||
@media print | @media print { | ||
{ | .infobox th { | ||
.infobox th | |||
background-color:#8E8E8E; | background-color:#8E8E8E; | ||
} | } | ||
.infobox | |||
.infobox { | |||
border: 1px black solid; | border: 1px black solid; | ||
} | } | ||
} | } | ||
.loadout-tooltip-container | |||
{ | .loadout-tooltip-container { | ||
padding:10px; | padding:10px; | ||
background-image:linear-gradient(#38332D,#221E1A); | background-image:linear-gradient(#38332D,#221E1A); | ||
| Line 101: | Line 96: | ||
font-size:15px; | font-size:15px; | ||
font-family:"TF2C Secondary","TF2 Secondary",sans-serif; | font-family:"TF2C Secondary","TF2 Secondary",sans-serif; | ||
border-radius:5px | border-radius:5px; | ||
} | } | ||
.loadout-tooltip-container p | |||
{ | .loadout-tooltip-container p { | ||
margin:0 !important; | margin:0 !important; | ||
text-align:center; | text-align:center; | ||
line-height: 1.6em; | line-height: 1.6em; | ||
} | } | ||
.loadout-tooltip-name | |||
{ | .loadout-tooltip-name { | ||
font-family:"TF2C Build","TF2 Build",sans-serif; | font-family:"TF2C Build","TF2 Build",sans-serif; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-size:18px; | font-size:18px; | ||
color:#B2B2B2 | color:#B2B2B2; | ||
} | } | ||
.loadout-tooltip-type | |||
{ | .loadout-tooltip-type { | ||
color:#756B5E | color:#756B5E; | ||
} | } | ||
.loadout-tooltip-neutral | |||
{ | .loadout-tooltip-neutral { | ||
color:#EBE2CA | color:#EBE2CA; | ||
} | } | ||
.loadout-tooltip-positive | .loadout-tooltip-positive | ||
{ | { | ||
color:#99CCE1 | color:#99CCE1; | ||
} | } | ||
.loadout-tooltip-negative | |||
{ | .loadout-tooltip-negative { | ||
color:#FF4040 | color:#FF4040; | ||
} | } | ||
.tabber__tabs | |||
{ | .tabber__tabs { | ||
margin:auto; | margin:auto; | ||
box-shadow:none | box-shadow:none; | ||
} | } | ||
.tabber__tab | |||
{ | .tabber__tab { | ||
background-color:#583A31; | background-color:#583A31; | ||
font-family:"TF2C Build","TF2 Build",sans-serif; | font-family:"TF2C Build","TF2 Build",sans-serif; | ||
| Line 144: | Line 140: | ||
box-shadow:none; | box-shadow:none; | ||
font-weight:normal; | font-weight:normal; | ||
margin:1px | margin:1px; | ||
} | } | ||
.tabber__tab, | |||
.tabber__tab:visited | .tabber__tab,.tabber__tab:visited { | ||
{ | |||
color:#E5E0DC; | color:#E5E0DC; | ||
box-shadow:none | box-shadow:none; | ||
} | } | ||
.tabber__tab--active, | |||
.tabber__tab:hover, | .tabber__tab--active,.tabber__tab:hover,.tabber__tab--active:visited { | ||
.tabber__tab--active:visited | |||
{ | |||
color:#e8d18c; | color:#e8d18c; | ||
box-shadow:none | box-shadow:none; | ||
} | } | ||
.tabber__tab[title="RED"] | |||
{ | .tabber__tab[title="RED"] { | ||
background-color:#C63E3E | background-color:#C63E3E; | ||
} | } | ||
.tabber__tab[title="BLU"] | |||
{ | .tabber__tab[title="BLU"] { | ||
background-color:#59788C | background-color:#59788C; | ||
} | } | ||
.tabber__tab[title="GRN"] | |||
{ | .tabber__tab[title="GRN"] { | ||
background-color:#3C9D46 | background-color:#3C9D46; | ||
} | } | ||
.tabber__tab[title="YLW"] | |||
{ | .tabber__tab[title="YLW"] { | ||
background-color:#DA9D28 | background-color:#DA9D28; | ||
} | } | ||
@media print | |||
{ | @media print { | ||
.tabber__tab | .tabber__tab { | ||
display: none; | display: none; | ||
} | } | ||
} | } | ||
.tabber__panel | |||
{ | .tabber__panel { | ||
min-width: 0; | min-width: 0; | ||
} | } | ||
.quotation blockquote::before, | |||
.quotation blockquote::after | .quotation blockquote::before,.quotation blockquote::after { | ||
{ | |||
font-size:5em; | font-size:5em; | ||
line-height:0; | line-height:0; | ||
| Line 195: | Line 186: | ||
position:relative; | position:relative; | ||
color:#292526; | color:#292526; | ||
white-space:nowrap | white-space:nowrap; | ||
} | } | ||
.quotation blockquote::before | |||
{ | .quotation blockquote::before { | ||
content:open-quote; | content:open-quote; | ||
} | } | ||
.quotation blockquote::after | |||
{ | .quotation blockquote::after { | ||
content:close-quote; | content:close-quote; | ||
} | } | ||
.quotation blockquote | |||
{ | .quotation blockquote { | ||
border:none; | border:none; | ||
margin:0; | margin:0; | ||
padding:0; | padding:0; | ||
display:flex | display:flex; | ||
} | } | ||
.quotation blockquote p | |||
{ | .quotation blockquote p { | ||
margin:1em; | margin:1em; | ||
text-align:justify | text-align:justify; | ||
} | } | ||
.quotation | |||
{ | .quotation { | ||
width:auto; | width:auto; | ||
border-left:2px #292526 solid; | border-left:2px #292526 solid; | ||
border-right:2px #292526 solid; | border-right:2px #292526 solid; | ||
padding: | padding:0 16px; | ||
margin-left:32px; | margin-left:32px; | ||
max-width:50em; | max-width:50em; | ||
display:flex; | display:flex; | ||
flex-direction:column | flex-direction:column; | ||
} | } | ||
.quotation cite:before | |||
{ | .quotation cite:before { | ||
content:"— " | content:"— "; | ||
} | } | ||
.quotation cite | |||
{ | .quotation cite { | ||
text-align:right; | text-align:right; | ||
width:100% | width:100%; | ||
} | } | ||
Revision as of 22:25, 5 June 2022
@font-face {
font-family:"TF2C";
src: url(/misc/TF2C.woff2) format("woff2"),
url(/misc/TF2C.woff) format("woff"),
url(/misc/TF2C.ttf) format("truetype");
}
@font-face {
font-family:"TF2C Build";
src: url(/misc/TF2CBuild.woff2) format("woff2"),
url(/misc/TF2CBuild.woff) format("woff"),
url(/misc/TF2CBuild.ttf) format("truetype");
}
@font-face {
font-family:"TF2C Professor";
src: url(/misc/TF2CProfessor.woff2) format("woff2"),
url(/misc/TF2CProfessor.woff) format("woff"),
url(/misc/TF2CProfessor.ttf) format("truetype");
}
@font-face {
font-family:"TF2C Secondary";
src: url(/misc/TF2CSecondary.woff2) format("woff2"),
url(/misc/TF2CSecondary.woff) format("woff"),
url(/misc/TF2CSecondary.ttf) format("truetype");
}
.infobox {
float:right;
min-width:21em;
margin:0 0 1em 1em;
}
.infobox-title {
font-size:21px;
text-align:center
}
.infobox-image {
text-align:center
}
.infobox th {
text-align:center;
vertical-align:top;
font-family:"TF2C Build","TF2 Build",sans-serif;
text-transform:uppercase;
font-weight:normal;
width:100%;
}
.killicon {
vertical-align:middle;
height:40px;
color:#38361E;
font-family:"Verdana",serif;
font-weight:bold;
font-size:17px;
}
.content .infobox caption {
padding: 0;
}
@media screen {
.infobox {
border:1px solid #583A31;
background-color:#E5E0DC;
}
.infobox th {
background-color:#583A31;
color:#D2CDC8;
}
.killicon {
background-color:#F1E9CB;
color:#38361E;
border-radius:5px;
}
}
@media print {
.infobox th {
background-color:#8E8E8E;
}
.infobox {
border: 1px black solid;
}
}
.loadout-tooltip-container {
padding:10px;
background-image:linear-gradient(#38332D,#221E1A);
color:#221E1A;
font-size:15px;
font-family:"TF2C Secondary","TF2 Secondary",sans-serif;
border-radius:5px;
}
.loadout-tooltip-container p {
margin:0 !important;
text-align:center;
line-height: 1.6em;
}
.loadout-tooltip-name {
font-family:"TF2C Build","TF2 Build",sans-serif;
text-transform: uppercase;
font-size:18px;
color:#B2B2B2;
}
.loadout-tooltip-type {
color:#756B5E;
}
.loadout-tooltip-neutral {
color:#EBE2CA;
}
.loadout-tooltip-positive
{
color:#99CCE1;
}
.loadout-tooltip-negative {
color:#FF4040;
}
.tabber__tabs {
margin:auto;
box-shadow:none;
}
.tabber__tab {
background-color:#583A31;
font-family:"TF2C Build","TF2 Build",sans-serif;
text-transform: uppercase;
box-shadow:none;
font-weight:normal;
margin:1px;
}
.tabber__tab,.tabber__tab:visited {
color:#E5E0DC;
box-shadow:none;
}
.tabber__tab--active,.tabber__tab:hover,.tabber__tab--active:visited {
color:#e8d18c;
box-shadow:none;
}
.tabber__tab[title="RED"] {
background-color:#C63E3E;
}
.tabber__tab[title="BLU"] {
background-color:#59788C;
}
.tabber__tab[title="GRN"] {
background-color:#3C9D46;
}
.tabber__tab[title="YLW"] {
background-color:#DA9D28;
}
@media print {
.tabber__tab {
display: none;
}
}
.tabber__panel {
min-width: 0;
}
.quotation blockquote::before,.quotation blockquote::after {
font-size:5em;
line-height:0;
font-family:"Linux Libertine","Georgia","Times",serif;
top:0.4em;
position:relative;
color:#292526;
white-space:nowrap;
}
.quotation blockquote::before {
content:open-quote;
}
.quotation blockquote::after {
content:close-quote;
}
.quotation blockquote {
border:none;
margin:0;
padding:0;
display:flex;
}
.quotation blockquote p {
margin:1em;
text-align:justify;
}
.quotation {
width:auto;
border-left:2px #292526 solid;
border-right:2px #292526 solid;
padding:0 16px;
margin-left:32px;
max-width:50em;
display:flex;
flex-direction:column;
}
.quotation cite:before {
content:"— ";
}
.quotation cite {
text-align:right;
width:100%;
}