MediaWiki:Common.css

From Wikimedia New York City
Jump to navigation Jump to search

Note: After publishing, 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: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

.cn-fundraising {
display:none;
}

/* Topbanner markup lifted from Wikivoyage, can be used for multiple pages */

.topbanner {
    position: relative;
    overflow: hidden;
    max-width: 1800px; 
    height: auto;
}

.topbanner img {
    max-width: 100%;
    height: auto;
    width: auto\9;
}

.topbanner-box {
    position: absolute;
    z-index: 2;
    margin-top: 1.5em;
    color: white;
    width: 50%;
    min-width: 20em;
    left: 2%;
    text-align: left;
}


.topbanner .name {
    position: absolute; 
    z-index: 2; 
    margin: 0.6em 0 0 0.4em; 
    padding: 8px 7px; 
    font-size: 2.2em; 
    background: rgb(16,16,16); 
    background: rgba(0,0,0,0.5); 
    border-radius: 4px; 
    color: white;
    white-space: nowrap;
    line-height: 0.9em;
}