Difference between revisions of "MediaWiki:Common.css"

From ALttP Speedrunning Wiki
Jump to: navigation, search
Line 39: Line 39:
 
.alttp-box .prev a:before {
 
.alttp-box .prev a:before {
 
   font: normal normal normal 14px/1 FontAwesome;
 
   font: normal normal normal 14px/1 FontAwesome;
   content: '\f104   ';
+
   content: '\f104\00a0';
 
   font-size: 1em;
 
   font-size: 1em;
 
}
 
}
Line 50: Line 50:
 
.alttp-box .next a:after {
 
.alttp-box .next a:after {
 
   font: normal normal normal 14px/1 FontAwesome;
 
   font: normal normal normal 14px/1 FontAwesome;
   content: '   \f105';
+
   content: '\00a0\f105';
 
   font-size: 1em;
 
   font-size: 1em;
 
}
 
}

Revision as of 11:45, 4 January 2017

@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\00a0';
  font-size: 1em;
}

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

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