MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
mNo edit summary
 
(70 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;
}


.h-100 {
/*
height: 100%;
CSS FILES
}
MAIN PAGE
/* START Text */
MediaWiki:Common.css/MainPage.css
.tc {
*/
text-align: center;
 
}
#news-slider, .news-latest-item a {
.fw-600 {
aspect-ratio: 6 / 4;
font-weight: 600;
}
}


/* END Text */
.news-featured a {
/*START Infobox */
aspect-ratio: 6 / 3.5;
table {
border-spacing: 0;
}
}


.ib {
.news-cat-item {
    background-color: #eeeeee;
aspect-ratio: 6/5;
    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 {
.link-overlay {
text-align: center;
position: absolute;
    font-weight: 600;
height: 100%;
    font-size: 1.4rem;
width: 100%;
    background-color: #ddffdd;
top: 0;
left: 0;
opacity: 0;
}
}


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


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


.ib-rowName {
/* Remove category lists from bottom of page */
text-align: right;
#catlinks {
font-weight: 600;
    display: none;
}
}


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


/* START 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;
border: 1;
}
.headerRow {
text-align: center;
}
}
.headerRow th {
font-size: 1rem;
}
.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 */
abbr {
.p-team-container {
cursor: help;
display: flex;
flex-wrap: wrap;
gap: 1rem;
}
.table-bordered {
border: 1px solid #bbbbbb;
    margin-top: 0 !important;
}
.table-bordered th {
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-toggle {
padding: 0.3rem;
    background-color: #eeeeee;
    width: 112px;
    text-align: center;
    border-radius: 3px;
    margin-bottom: 8px;
    transition: background-color 0.3s;
    cursor: pointer;
}
}
#team-toggle:hover {background-color: #e1e1e1;}
.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.show {opacity: 1;}


.team-list .players tr:last-child th,
.h-100 {
.team-list .players tr:last-child td {
height: 100%;
border-bottom: none;
}
}
.team-list .players:hover {
.w-100{width: 100%;}
opacity: 100%;
.resp-img img {max-width: 100%; height: auto;}
.d-none {display:none;}
/* START Text */
.tc {
text-align: center;
}
}
.team-list-qualifier {
.fw-600,.bold {
text-align: center;
font-weight: 600;
font-weight: 600;
border: 1px solid #bbbbbb;
}
}
/*END Participants list team */
 
/* END Text */


/* GENERAL */
/* GENERAL */
.dark, .dark-inline {display: none;}
.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;
}

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