MediaWiki:Common.css: Difference between revisions

From Poupedia
Jump to navigation Jump to search
Content added Content deleted
m (Well, the previous edit did not work)
mNo edit summary
 
(105 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* Import */
/***** CSS placed here will be applied to all skins on the entire site. *****/
@font-face {
/*** Imports must go at the top of this file ***/
font-family: 'Pou Font';

src:url(https://static.miraheze.org/pouwiki/2/28/Pou-Font.ttf);
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
font-style: italic;
}
.allpagesredirect:after {
color: #808080; content: " (redirect)"
}
.watchlistredir {
font-style: italic;
}
}


/* Personal Toolbar icons*/
/* Styles for Template:Card */
.vector-user-menu-legacy #pt-anonuserpage:before, .vector-user-menu-legacy #pt-tmpuserpage:before, .vector-user-menu-legacy #pt-userpage a:before {
.card-title {
content: '';
background: #dc143c;
display: inline-block;
text-align: center;
margin-top: -0.5rem;
font-weight: bold;
position: relative;
color: white;
top: 0.4rem;
border: 1px solid #960e29;
right: 0.3rem;
border-bottom: none;
background-clip: content-box;
border-radius: 4px 4px 0 0;
height: 20px;
padding: 0.3em;
width: 20px;
font-size: 16px;
background-image: url(https://static.miraheze.org/pouwiki/thumb/8/85/PoupediaUserIcons.png/60px-PoupediaUserIcons.png);
background-position: 0px 0;
}
}
.vector-user-menu-legacy #pt-anonuserpage:before, .vector-user-menu-legacy #pt-tmpuserpage:before, .vector-user-menu-legacy #pt-userpage a:before, .oo-ui-icon-bell, .mew-ui-icon-bell:before, .oo-ui-icon-tray, .mw-ui-icon-tray:before {
.card-body {
height: 20px;
margin-bottom: 1em;
width: 20px;
background: #0E191A;
background-image: url(https://static.miraheze.org/pouwiki/thumb/8/85/PoupediaUserIcons.png/60px-PoupediaUserIcons.png);
border: 1px solid #999;
border-top: none;
border-radius: 0 0 4px 4px;
padding: 0.75em;
}
}
.oo-ui-icon-bell, .mew-ui-icon-bell:before { /*bell*/

background-position: -20px 0;
/* Polandball University (are these still used anywhere? */
.pbuniversity-landing .top {
margin-bottom: 60px;
}
}
.oo-ui-icon-tray, .mw-ui-icon-tray:before { /*alert*/
.pbuniversity-landing .top .left {
background-position: -40px 0;
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;
}
}
.vector-user-menu-legacy #pt-anonuserpage, .vector-user-menu-legacy #pt-tmpuserpage, .vector-user-menu-legacy #pt-userpage a {
.pbuniversity-landing .top .background {
padding: 0;
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);
}
}
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read { /* Full color for other bell and alert */
.pbuniversity-landing .top .right {
opacity: unset;
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 {
/* 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: #00B300;
font-weight: 300;
text-shadow: 2px 2px 2px #000, -2px 2px 2px #000, 2px -2px 2px #000, -2px -2px 2px #000 !important;
}
}
.mainpage-header-news {
.pbauniversity-landing .intro {
margin-left: 22px;
font-family: 'Pou Font';
font-size: 22pt;
text-align: center;
letter-spacing: 2px;
color: #ffffff;
text-shadow: 4px #000000;
border-radius: 5px 5px 0px 0px;
background-color: #00B300;
font-weight: 300;
text-shadow: 2px 2px 2px #000, -2px 2px 2px #000, 2px -2px 2px #000, -2px -2px 2px #000 !important;
}
}

.pbauniversity-landing .intro .header {
/* Table Formatting */
color: #0a5fa3; /* may need adjusting on FandomDesktop */
table.article-table th {
font-size: 16px;
background: #4DFF94 !important;
font-weight: bold;
margin-bottom: 5px;
color:#000 !important;
text-align: center !important;
}

.article-table {
text-align: center;
margin: 0 auto;
}
}

.pbuniversity-landing .intro {
/* Thumbnail */
margin-left: 19px;
.thumb {
}
border: 1px solid #FFEBDF;
.pbuniversity-landing .intro .header {
padding: 3px !important;
color: #0a5fa3; /* may need adjusting on FandomDesktop */
background-color: #FFEBDF !important;
font-size: 16px;
font-weight: bold;
text-align: center;
margin-bottom: 4px;
overflow: hidden;
}
/* Disappear Cosmos count (for now) */
.cosmos-header__counter-value {
display:none;
}
}
.thumbcaption {
.cosmos-header__counter-label {
color: #252525 !important
display:none;
}
}

Latest revision as of 11:54, 23 June 2024

/* Import */
@font-face {
	font-family: 'Pou Font';
	src:url(https://static.miraheze.org/pouwiki/2/28/Pou-Font.ttf);
}

/* Personal Toolbar icons*/
.vector-user-menu-legacy #pt-anonuserpage:before, .vector-user-menu-legacy #pt-tmpuserpage:before, .vector-user-menu-legacy #pt-userpage a:before {
	content: '';
	display: inline-block;
	margin-top: -0.5rem;
	position: relative;
	top: 0.4rem;
	right: 0.3rem;
	background-clip: content-box;
	height: 20px;
	width: 20px;
	background-image: url(https://static.miraheze.org/pouwiki/thumb/8/85/PoupediaUserIcons.png/60px-PoupediaUserIcons.png);
	background-position: 0px 0;
}
.vector-user-menu-legacy #pt-anonuserpage:before, .vector-user-menu-legacy #pt-tmpuserpage:before, .vector-user-menu-legacy #pt-userpage a:before,  .oo-ui-icon-bell, .mew-ui-icon-bell:before,  .oo-ui-icon-tray, .mw-ui-icon-tray:before {
	height: 20px;
	width: 20px;
	background-image: url(https://static.miraheze.org/pouwiki/thumb/8/85/PoupediaUserIcons.png/60px-PoupediaUserIcons.png);
}
.oo-ui-icon-bell, .mew-ui-icon-bell:before { /*bell*/
	background-position: -20px 0;
}
.oo-ui-icon-tray, .mw-ui-icon-tray:before { /*alert*/
	background-position: -40px 0;
}
.vector-user-menu-legacy #pt-anonuserpage, .vector-user-menu-legacy #pt-tmpuserpage, .vector-user-menu-legacy #pt-userpage a {
	padding: 0;
}
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read { /* Full color for other bell and alert */
	opacity: unset;
}

/* 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: #00B300;
    font-weight: 300;
    text-shadow: 2px 2px 2px #000, -2px 2px 2px #000, 2px -2px 2px #000, -2px -2px 2px #000 !important;
}
.mainpage-header-news {
    font-family: 'Pou Font';
    font-size: 22pt;
    text-align: center;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 4px #000000;
    border-radius: 5px 5px 0px 0px;
    background-color: #00B300;
    font-weight: 300;
    text-shadow: 2px 2px 2px #000, -2px 2px 2px #000, 2px -2px 2px #000, -2px -2px 2px #000 !important;
}

/* Table Formatting */
table.article-table th {
    background: #4DFF94 !important;
    color:#000 !important;
    text-align: center !important;
    }

.article-table {
	text-align: center;
	margin: 0 auto;
}

/* Thumbnail */
.thumb {
    border: 1px solid #FFEBDF;
    padding: 3px !important;
    background-color: #FFEBDF !important;
    text-align: center;
    overflow: hidden;
}
.thumbcaption {
    color: #252525 !important
}