Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
James Hare (talk | contribs) (Working) |
James Hare (talk | contribs) (Working) |
||
Line 16: | Line 16: | ||
/* Main Page Banner */ |
/* Main Page Banner */ |
||
+ | .banner-image { |
||
− | #mainpagebanner { |
||
+ | position: relative; |
||
− | background:url('http://wikiconferenceusa.org/images/c/c0/Main_page_banner.jpg'); |
||
− | + | overflow: hidden; |
|
− | + | max-width: 65em; |
|
− | + | width: 100%; |
|
+ | height: auto; |
||
+ | margin-bottom: .6em; |
||
+ | text-align: center; |
||
+ | padding-left: 0 !important; |
||
+ | } |
||
+ | .banner-image img { |
||
+ | width: 100%; |
||
+ | height: auto; |
||
+ | width: auto\9; |
||
+ | margin:0 auto; |
||
} |
} |
Revision as of 07:05, 2 February 2015
/* CSS placed here will be applied to all skins */
/* Typography */
/* Makes site-wide what has been implemented on a page-by-page basis */
/* Only for desktop resolution—mobile pages should continue using default text settings */
@media screen and (min-width:750px) {
div#bodyContent {
font-size:0.965em; padding:0; font-family:'Helvetica Neue',sans-serif;
}
p {
margin-bottom:1em;
}
}
/* Main Page Banner */
.banner-image {
position: relative;
overflow: hidden;
max-width: 65em;
width: 100%;
height: auto;
margin-bottom: .6em;
text-align: center;
padding-left: 0 !important;
}
.banner-image img {
width: 100%;
height: auto;
width: auto\9;
margin:0 auto;
}