Difference between revisions of "MediaWiki:Common.css"

From WikiConference North America
Jump to navigation Jump to search
(Making banner title div a bit darker for readability)
Line 55: Line 55:
 
font-family:'Montserrat','Helvetica Neue', Helvetica, Arial, sans-serif;
 
font-family:'Montserrat','Helvetica Neue', Helvetica, Arial, sans-serif;
 
font-weight:normal;
 
font-weight:normal;
  +
}
  +
  +
.firstheader h1 {
  +
border-bottom:none;
 
}
 
}

Revision as of 21:41, 22 May 2023

@import url(//wikimediadc.org/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css);

div#content a[href ^="https://craignewmarkphilanthropies.org/"].external {
     background:none !important;
     padding: 0px !important;
}

/* Toggle mobile and non-mobile content based on resolution */
@media (min-width: 851px) {
	.onlymobile {
		display: none;
	}
	.nomobile {
		display: block;
	}
}
@media (max-width: 850px) {
	.onlymobile {
		display: block;
	}
	.nomobile {
		display: none;
	}
}

/* Allow to have a full width image (banner) */
.full-width-image {
	position: relative;
	overflow: hidden;
	max-width: 1800px;
	height: auto;
	margin-bottom: .6em;
}

.full-width-image img {
	max-width: 100%;
	height: auto;
	width: auto;
}

/* CSS for 2023 Toronto pages coming up*/
.banner_title {
	position: absolute;
	top:20px; left:20px;
	color:white;
	font-size:200%;
	padding:20px;
	background-color:rgb(0, 0, 0); /* The fallback color */
	background-color:rgba(0, 0, 0, 0.5);
	font-family:'Linux Libertine',serif;
}

.banner_subtitle {
	font-size:60%;
	font-family:'Montserrat','Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight:normal;
}

.firstheader h1 {
	border-bottom:none;
}