MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
mNo edit summary
 
(81 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 */
abbr {
 
cursor: help;
/*
CSS FILES
MAIN PAGE
MediaWiki:Common.css/MainPage.css
*/
 
#news-slider, .news-latest-item a {
aspect-ratio: 6 / 4;
}
}


.h-100 {
.news-featured a {
height: 100%;
aspect-ratio: 6 / 3.5;
}
}
/* START Text */
 
.tc {
.news-cat-item {
text-align: center;
aspect-ratio: 6/5;
}
.fw-600 {
font-weight: 600;
}
}


/* END Text */
.link-overlay {
/*START Infobox */
position: absolute;
table {
height: 100%;
border-spacing: 0;
width: 100%;
top: 0;
left: 0;
opacity: 0;
}
}


.ib {
.link-overlay img {width: 100%; height: 100%;}
    background-color: #eeeeee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    width: 400px;
}
.ib-title {
    font-size: 2em;
    text-align: center;
}
.ib-image {
    text-align: center;
    padding: 15px;
}


.ib-subheader {
.pointer {
text-align: center;
cursor: pointer;
    font-weight: 600;
    font-size: 1.4rem;
    background-color: #ddffdd;
}
}


.ib-row {
/* Remove category lists from bottom of page */
display: grid;
#catlinks {
    grid-template-columns: 1fr 1fr;
    display: none;
    column-gap: 0.5rem;
    align-items: center;
    padding: 5px;
}
}


.ib-row:nth-of-type(2n + 2) {
background-color: #e1e1e1;
}


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


.ib-links {
abbr {
padding: 5px;
cursor: help;
    text-align: center;
}
}
/* END Infobox */


/* START Squad template */
.h-100 {
.striped-table {
height: 100%;
border: 2px solid #bbbbbb;
}
}
.striped-table > tbody > tr:nth-of-type(2n + 1) {
.w-100{width: 100%;}
background-color: #f5f5f5;
.resp-img img {max-width: 100%; height: auto;}
border: 1;
.d-none {display:none;}
}
/* START Text */
.headerRow {
.tc {
text-align: center;
text-align: center;
}
}
.headerRow th {
.fw-600,.bold {
font-size: 1rem;
font-weight: 600;
}
.person td {
border-top: 1px solid #a2a9b1;
padding: 5px;
}
}
.position {
text-align: center;
}
.playerID {
padding: 0 10px 0 5px !important;
font-weight: bold;
}
.playerID img {
width: 18px;
    height: auto;
}
.flag img {
width: 18px;
height: auto;
vertical-align: baseline;
padding-right: 5px;
}
.captain img {
vertical-align: text-top;
padding: 0 5px;
}
/* END Squad template */


/*START Participants list team */
/* END Text */
.p-team-container {
display: flex;
flex-wrap: wrap;
gap: 1rem;
}


.table-bordered {
/* GENERAL */
border: 1px solid #bbbbbb;
.dark, .dark-inline, .dark-inline-flex {display: none !important;}
    margin-top: 0 !important;
}


.table-bordered th {
#ca-viewsource { display: none !important; }
/*padding: 0.1rem 0.3rem;*/
border-bottom: 1px solid #bbbbbb;
border-right: 1px solid #bbbbbb;
}
.table-bordered td {
padding-left: 0.4rem;
border-bottom: 1px solid #bbbbbb;
}
.team-list {
width: 200px;
height: 200px;
position: relative;
border: 1px solid #bbbbbb;
border-bottom: none;
}
.team-list-logo {
display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}
.team-list-logo img{
width: auto;
height: auto;
max-height: 200px;
}
.team-list .players {
border: none;
width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    background-color: rgb(255 255 255 / 90%);
    opacity: 0%;
    transition: opacity 0.3s;
}


.team-list .players tr:last-child th,
#ca-talk, #n-help-mediawiki,  #siteSub, .page-info, #footer-poweredbyico, #contentSub {display: none !important;}
.team-list .players tr:last-child td {
border-bottom: none;
}
.team-list .players:hover {
opacity: 100%;
}
.team-list-qualifier {
text-align: center;
font-weight: 600;
border: 1px solid #bbbbbb;
}
/*END Participants list team */


/* GENERAL */
body.page-Main_Page .mw-page-title-main {
.dark {
    display: none;
display: none;
}
}

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