MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Well, the previous edit did not work) |
No edit summary |
||
Line 1: | Line 1: | ||
/ |
/* CSS placed here will be applied to all skins */ |
||
@font-face { |
|||
/*** Imports must go at the top of this file ***/ |
|||
font-family: "Pou Font"; |
|||
src:url(https://static.wikia.nocookie.net/pou/images/d/d9/Pou_Font.ttf/revision/latest?cb=20221010151243&format=original); |
|||
} |
|||
/* Page titles and sections titles font */ |
|||
/* Mark redirects in Special:Allpages and Special:Watchlist */ |
|||
.page-header__title, .mw-headline { |
|||
.allpagesredirect { |
|||
font-family: Pou Font; |
|||
} |
|||
.allpagesredirect:after { |
|||
color: #808080; content: " (redirect)" |
|||
} |
|||
.watchlistredir { |
|||
font-style: italic; |
|||
} |
} |
||
/* |
/* Main Page */ |
||
. |
.mainpage-header { |
||
font-family: 'Pou Font'; |
|||
background: #dc143c; |
|||
font-size: 22pt; |
|||
text-align: center; |
|||
text-align: center; |
|||
font-weight: bold; |
|||
letter-spacing: 2px; |
|||
color: white; |
|||
color: #ffffff; |
|||
border: 1px solid #960e29; |
|||
text-shadow: 4px #000000; |
|||
border-bottom: none; |
|||
border-radius: 5px; |
|||
background-color: #337800; |
|||
padding: 0.3em; |
|||
font-size: 16px; |
|||
} |
|||
.card-body { |
|||
margin-bottom: 1em; |
|||
background: #0E191A; |
|||
border: 1px solid #999; |
|||
border-top: none; |
|||
border-radius: 0 0 4px 4px; |
|||
padding: 0.75em; |
|||
} |
} |
||
/* Table Formatting */ |
|||
/* Polandball University (are these still used anywhere? */ |
|||
table.article-table th { |
|||
.pbuniversity-landing .top { |
|||
background: #337800 !important; |
|||
margin-bottom: 60px; |
|||
color:#FFFFFF !important; |
|||
} |
|||
text-shadow: 2px 2px 2px #000, -2px 2px 2px #000, 2px -2px 2px #000, -2px -2px 2px #000; |
|||
.pbuniversity-landing .top .left { |
|||
} |
|||
background: url("https://images.wikia.nocookie.net/central/images/e/e6/WU-Header-Left.png") no-repeat scroll 0% 0% transparent; |
|||
display: inline-block; |
|||
/* Portable Infobox */ |
|||
height: 249px; |
|||
margin-right: -5px; |
|||
.portable-infobox .pi-title { |
|||
width: 226px; |
|||
font-size: 28px !important; |
|||
} |
|||
font-family: 'Pou Font' !important; |
|||
.pbuniversity-landing .top .background { |
|||
font-weight: 500; |
|||
background: url("https://images.wikia.nocookie.net/central/images/b/b8/WU-Header-Background.png") repeat scroll 0% 0% transparent; |
|||
display: inline-block; |
|||
height: 249px; |
|||
width: calc(100% - 452px); |
|||
width: -moz-calc(100% - 452px); |
|||
width: -webkit-calc(100% - 452px); |
|||
} |
|||
.pbuniversity-landing .top .right { |
|||
background: url("https://images.wikia.nocookie.net/central/images/7/70/WU-Header-Right.png") no-repeat scroll 0% 0% transparent; |
|||
display: inline-block; |
|||
height: 249px; |
|||
margin-left: -5px; |
|||
width: 226px; |
|||
} |
|||
.pbuniversity-landing .top .logo { |
|||
} |
|||
.pbauniversity-landing .intro { |
|||
margin-left: 22px; |
|||
} |
|||
.pbauniversity-landing .intro .header { |
|||
color: #0a5fa3; /* may need adjusting on FandomDesktop */ |
|||
font-size: 16px; |
|||
font-weight: bold; |
|||
margin-bottom: 5px; |
|||
} |
|||
.pbuniversity-landing .intro { |
|||
margin-left: 19px; |
|||
} |
|||
.pbuniversity-landing .intro .header { |
|||
color: #0a5fa3; /* may need adjusting on FandomDesktop */ |
|||
font-size: 16px; |
|||
font-weight: bold; |
|||
margin-bottom: 4px; |
|||
} |
} |
||
.portable-infobox .pi-secondary-background { |
|||
/* Disappear Cosmos count (for now) */ |
|||
font-family: 'Pou Font' !important; |
|||
.cosmos-header__counter-value { |
|||
display:none; |
|||
} |
} |
||
.portable-infobox .pi-secondary-font { |
|||
.cosmos-header__counter-label { |
|||
font-family: 'Pou Font' !important; |
|||
display:none; |
|||
} |
} |
Revision as of 10:16, 29 January 2024
/* CSS placed here will be applied to all skins */
@font-face {
font-family: "Pou Font";
src:url(https://static.wikia.nocookie.net/pou/images/d/d9/Pou_Font.ttf/revision/latest?cb=20221010151243&format=original);
}
/* Page titles and sections titles font */
.page-header__title, .mw-headline {
font-family: Pou Font;
}
/* Main Page */
.mainpage-header {
font-family: 'Pou Font';
font-size: 22pt;
text-align: center;
letter-spacing: 2px;
color: #ffffff;
text-shadow: 4px #000000;
border-radius: 5px;
background-color: #337800;
}
/* Table Formatting */
table.article-table th {
background: #337800 !important;
color:#FFFFFF !important;
text-shadow: 2px 2px 2px #000, -2px 2px 2px #000, 2px -2px 2px #000, -2px -2px 2px #000;
}
/* Portable Infobox */
.portable-infobox .pi-title {
font-size: 28px !important;
font-family: 'Pou Font' !important;
font-weight: 500;
}
.portable-infobox .pi-secondary-background {
font-family: 'Pou Font' !important;
}
.portable-infobox .pi-secondary-font {
font-family: 'Pou Font' !important;
}