MediaWiki:Common.css

From WikiConference North America
Revision as of 06:33, 11 February 2015 by James Hare (talk | contribs) (Removing border for header)
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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;
}

.page-2015_Main_Page #firstHeading, .page-2015_Main_Page #yearline {
  display: none;
}

/* Header changes */

#firstHeading {
  margin:auto;
  border-collapse:collapse;
  margin-bottom:10px;
  padding:10px;
  padding-left:0;
  vertical-align:top;
  font-size: 2em;
  font-family:Georgia, serif;
  line-height:100%;
}
h1,
h2,
h3,
h4,
h5,
h6,
h6 {
  font-family: Georgia, serif;
  border-bottom: none;
}
h1 {
  font-size: 2em;
  line-height: 1.25;
}
h2 {
  font-size: 1.5em;
  line-height: 1.267;
}
h3 {
  font-size: 1.25em;
  line-height: 1.333;
}
h4,
h5,
h6 {
  font-size: 1.125em;
  line-height: 1.444;
}