Last edited 3 years ago
by WikiSysop

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
Line 67: Line 67:
background-color: #34464B;
background-color: #34464B;
height: 100%;
height: 100%;
}
.landingpage-cards > div > a {
color: white!important;
}
}
.landingpage-cards > div a + a {
.landingpage-cards > div a + a {
color: #ffffff!important;
display: block;
display: block;
width: 100%;
width: 100%;

Latest revision as of 18:37, 14 December 2021

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

/* BlueSpiceCalumma */
.bs-custom-menu-header-container {background-color: #34464B;}
.wrapper .navigation-main, header .bs-featured-actions .dropdown.open .dropdown-menu {background-color: #7c9ba4;}
.bs-custom-menu-header-container .bs-custom-menu.header a:hover {background-color: #7c9ba4;}
body.mediawiki .bs-logo a {background-size: 220px; -webkit-filter: drop-shadow( -1px 1px 0px #333 );filter: drop-shadow( -1px 1px 0px #333 );}

/* Fix z-index for dropdowns, e.g. on Special:Nuke */
.oo-ui-menuSelectWidget {
	z-index:21;
}

/*box for subpages */
.mw-prefixindex-body {-moz-columns:unset; -webkit-columns:unset; columns:unset; background: #efefef; padding: 15px;}


/* Templates */

/* Template:GoTeachWiki/Foot */
table.chapterfoot {border:1px solid  #fbedbd;}
.chapterfoot th {background: #fbedbd; padding:10px;}
.chapterfoot td {background: #fff7da; padding: 10px;}

/* Template:ChapterList */
body.mediawiki div.chapterlist [class^="mw-content-"] ol ol {
    margin: 0 0 0 1em;
}

/* Landing page */
.landingpage-banner,
.landingpage-banner a.image {
	width: 100%;
}
.landingpage-banner a.image img {
	width: 100%;
	height: auto;
}
.landing-page-text {
	padding: 2em 0;
}
.landing-page-text p {
	font-size: 1.2rem;
	line-height: 1;
}
.landingpage-cards > div {
	margin-bottom: 2em;
}
.landingpage-cards > div a,
.landingpage-footer > div a {
	max-width: 100%;
	display: block;
}
.landingpage-cards > div a img,
.landingpage-footer > div a img {
	width: 100%;
	max-width: 100%;
	height:auto;
}
.landingpage-footer > div {
	margin: 1em 0;
}
.landingpage-cards > div {
	max-height: unset;
}
.landingpage-cards > div > p {
	background-color: #34464B;
	height: 100%;
}
.landingpage-cards > div a + a {
	color: #ffffff!important;
	display: block;
	width: 100%;
	height: 3em;
	text-align: center;
	padding: 1em;
}