MediaWiki:Common.css

From ALttP Speedrunning Wiki
Revision as of 11:40, 4 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: 8px;
  font-size: 0.9em;
}

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

.alttp-box .prev a:before {
  font: normal normal normal 14px/1 FontAwesome;
  content: '\f104';
  margin-right: 4px;
  font-size: 1em;
}

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

.alttp-box .next a:after {
  font: normal normal normal 14px/1 FontAwesome;
  content: '\f105';
  margin-left: 4px;
  font-size: 1em;
}