MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
mNo edit summary
 
(123 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Infobox */


/*
CSS FILES
MAIN PAGE
MediaWiki:Common.css/MainPage.css
*/


#news-slider, .news-latest-item a {
aspect-ratio: 6 / 4;
}


/*--clr-border: #bbbbbb;*/
.news-featured a {
table {
aspect-ratio: 6 / 3.5;
border-spacing: 0;
}
}


.infobox {
.news-cat-item {
    background-color: #8C8C8C;
aspect-ratio: 6/5;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
}
.infobox-title {
 
    font-size: 2em;
.link-overlay {
    text-align: center;
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
opacity: 0;
}
}
.infobox-image {
 
    text-align: center;
.link-overlay img {width: 100%; height: 100%;}
 
.pointer {
cursor: pointer;
}
}
.infobox th {
 
    text-align: right;
/* Remove category lists from bottom of page */
    vertical-align: top;
#catlinks {
    width: 120px;
     display: none;
}
.infobox td {
     vertical-align: top;
}
}




/* Squad template */
/* Remove PageForms "This category uses the form" text */
.squad-table {
.mw-parser-output p:has([title='Form:Location']) {
display: block;
     display: none;
    width: auto;
     overflow-x: auto;
}
}
.striped-table {
 
border: 1.5px solid #bbbbbb;
abbr {
cursor: help;
}
}
.striped-table tr {
 
border-bottom: 1px solid #bbbbbb;
.h-100 {
}
height: 100%;
.striped-table > tbody > tr:nth-of-type(2n + 1) {
background-color: #f5f5f5;
border: 1;
}
}
.headerRow {
.w-100{width: 100%;}
.resp-img img {max-width: 100%; height: auto;}
.d-none {display:none;}
/* START Text */
.tc {
text-align: center;
text-align: center;
}
}
.headerRow th {
.fw-600,.bold {
font-size: 1rem !important;
font-weight: 600;
}
}
.person td {
 
padding: 5px;
/* END Text */
}
 
.position {
/* GENERAL */
text-align: center;
.dark, .dark-inline, .dark-inline-flex {display: none !important;}
}
 
.playerID {
#ca-viewsource { display: none !important; }
margin-left: 5px;
 
font-weight: bold;
#ca-talk, #n-help-mediawiki,  #siteSub, .page-info, #footer-poweredbyico, #contentSub {display: none !important;}
}
 
.flag img {
body.page-Main_Page .mw-page-title-main {
width: 18px;
     display: none;
    height: 12px;
     vertical-align: -1px;
}
}

Latest revision as of 14:36, 12 February 2024

/* CSS placed here will be applied to all skins */

/*
CSS FILES
	MAIN PAGE
		MediaWiki:Common.css/MainPage.css
*/

#news-slider, .news-latest-item a {
	aspect-ratio: 6 / 4;
}

.news-featured a {
	aspect-ratio: 6 / 3.5;
}

.news-cat-item {
	aspect-ratio: 6/5;
}

.link-overlay {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	opacity: 0;
}

.link-overlay img {width: 100%; height: 100%;}

.pointer {
	cursor: pointer;
}

/* Remove category lists from bottom of page */
#catlinks {
    display: none;
}


/* Remove PageForms "This category uses the form" text */
.mw-parser-output p:has([title='Form:Location']) {
    display: none;
}

abbr {
	cursor: help;
}

.h-100 {
	height: 100%;
}
.w-100{width: 100%;}
.resp-img img {max-width: 100%; height: auto;}
.d-none {display:none;}
/* START Text */
.tc {
	text-align: center;
}
.fw-600,.bold {
	font-weight: 600;
}

/* END Text */

/* GENERAL */
.dark, .dark-inline, .dark-inline-flex {display: none !important;}

#ca-viewsource { display: none !important; }

#ca-talk, #n-help-mediawiki,  #siteSub, .page-info, #footer-poweredbyico, #contentSub {display: none !important;}

body.page-Main_Page .mw-page-title-main {
    display: none;
}