MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
mNo edit summary
 
(60 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 */
/*
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 {
abbr {
cursor: help;
cursor: help;
Line 7: Line 52:
height: 100%;
height: 100%;
}
}
.w-100{width: 100%;}
.resp-img img {max-width: 100%; height: auto;}
.d-none {display:none;}
/* START Text */
/* START Text */
.tc {
.tc {
text-align: center;
text-align: center;
}
}
.fw-600 {
.fw-600,.bold {
font-weight: 600;
font-weight: 600;
}
}
Line 17: Line 65:
/* END Text */
/* END Text */


.flag img {
/* GENERAL */
width: 18px;
.dark, .dark-inline, .dark-inline-flex {display: none !important;}
height: auto;
 
vertical-align: baseline;
#ca-viewsource { display: none !important; }
padding-right: 5px;
 
#ca-talk, #n-help-mediawiki,  #siteSub, .page-info, #footer-poweredbyico, #contentSub {display: none !important;}
 
body.page-Main_Page .mw-page-title-main {
    display: none;
}
}
/* GENERAL */
.dark, .dark-inline {display: none !important;}

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