MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "→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...") |
m (Well, the previous edit did not work) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/***** CSS placed here will be applied to all skins on the entire site. *****/ |
||
/*** Imports must go at the top of this file ***/ |
|||
@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); |
|||
⚫ | |||
/* Mark redirects in Special:Allpages and Special:Watchlist */ |
|||
/* Page titles and sections titles font */ |
|||
.allpagesredirect { |
|||
.page-header__title, .mw-headline { |
|||
font-style: italic; |
|||
⚫ | |||
.allpagesredirect:after { |
|||
color: #808080; content: " (redirect)" |
|||
} |
|||
.watchlistredir { |
|||
⚫ | |||
} |
} |
||
/* |
/* Styles for Template:Card */ |
||
. |
.card-title { |
||
background: #dc143c; |
|||
⚫ | |||
⚫ | |||
⚫ | |||
font-weight: bold; |
|||
⚫ | |||
color: white; |
|||
letter-spacing: 2px; |
|||
border: 1px solid #960e29; |
|||
color: #ffffff; |
|||
border-bottom: none; |
|||
text-shadow: 4px #000000; |
|||
border-radius: 4px 4px 0 0; |
|||
padding: 0.3em; |
|||
background-color: #337800; |
|||
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; |
|||
} |
} |
||
/* Polandball University (are these still used anywhere? */ |
|||
/* Table Formatting */ |
|||
.pbuniversity-landing .top { |
|||
table.article-table th { |
|||
margin-bottom: 60px; |
|||
background: #337800 !important; |
|||
} |
|||
color:#FFFFFF !important; |
|||
.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; |
|||
height: 249px; |
|||
margin-right: -5px; |
|||
width: 226px; |
|||
} |
|||
.pbuniversity-landing .top .background { |
|||
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-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; |
|||
} |
|||
/* Disappear Cosmos count (for now) */ |
|||
.cosmos-header__counter-value { |
|||
display:none; |
|||
} |
|||
.cosmos-header__counter-label { |
|||
display:none; |
|||
} |
Revision as of 11:38, 18 March 2023
/***** CSS placed here will be applied to all skins on the entire site. *****/
/*** Imports must go at the top of this file ***/
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
font-style: italic;
}
.allpagesredirect:after {
color: #808080; content: " (redirect)"
}
.watchlistredir {
font-style: italic;
}
/* Styles for Template:Card */
.card-title {
background: #dc143c;
text-align: center;
font-weight: bold;
color: white;
border: 1px solid #960e29;
border-bottom: none;
border-radius: 4px 4px 0 0;
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;
}
/* Polandball University (are these still used anywhere? */
.pbuniversity-landing .top {
margin-bottom: 60px;
}
.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;
height: 249px;
margin-right: -5px;
width: 226px;
}
.pbuniversity-landing .top .background {
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;
}
/* Disappear Cosmos count (for now) */
.cosmos-header__counter-value {
display:none;
}
.cosmos-header__counter-label {
display:none;
}