MediaWiki:Common.css

From ALttP Speedrunning Wiki
Revision as of 12:50, 5 January 2017 by Pinkus (talk | contribs)
Jump to: navigation, 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: 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.
@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";

/* CSS placed here will be applied to all skins */
.alttp-box {
  padding: 6px;
  border: 1px solid #777;
  display: inline-block;
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 0.95em;
  background: #f9f9f9;
}

.alttp-box .title {
  font-weight: bold;
  border-bottom: 2px solid black;
  text-align: center;
  padding-bottom: 4px;
  margin-bottom: 8px;
  font-size: 1.15em;
}   

.alttp-box .label {
  display: inline-block;
  width: 90px;
  font-weight: bold;
}

.alttp-box .prev-next {
  margin-top: 4px;
  font-size: 0.9em;
}

.alttp-box .prev-next div {
  display: inline-block;
}

.alttp-box .next {
  float: right;
  margin-left: 12px;
}

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    /* @noflip */
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    /* @noflip */
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}