MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
mNo edit summary
 
(111 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 */


table {
/*
border-spacing: 0;
CSS FILES
MAIN PAGE
MediaWiki:Common.css/MainPage.css
*/
 
#news-slider, .news-latest-item a {
aspect-ratio: 6 / 4;
}
}


.ib {
.news-featured a {
    background-color: #8C8C8C;
aspect-ratio: 6 / 3.5;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    /*padding: 1em;*/
    width: 400px;
}
.ib-title {
    font-size: 2em;
    text-align: center;
}
.ib-image {
    text-align: center;
    padding: 15px;
}
}


.ib-subheader {
.news-cat-item {
text-align: center;
aspect-ratio: 6/5;
    font-weight: 600;
    font-size: 1.4rem;
    background-color: #ddffdd;
}
}


.ib-row {
.link-overlay {
display: grid;
position: absolute;
    grid-template-columns: 1fr 1fr;
height: 100%;
    column-gap: 0.5rem;
width: 100%;
    align-items: center;
top: 0;
    padding: 5px;
left: 0;
opacity: 0;
}
}


.ib-row:nth-of-type(2n + 1) {
.link-overlay img {width: 100%; height: 100%;}
background-color: #f5f5f5;
border: 1;
}


.ib-rowName {
.pointer {
text-align: right;
cursor: pointer;
font-weight: 600;
}
}


.ib-links {
/* Remove category lists from bottom of page */
padding: 5px;
#catlinks {
     text-align: center;
     display: none;
}
}




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

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;
}