MediaWiki:Common.css

From InfoEx Help Information
Revision as of 15:49, 22 October 2013 by Pascal (talk | contribs)
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: 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 */

/* LIMITS MAXIMUM WIDTH OF WIKI PAGES */

body { 
  max-width: 1280px; 
  margin-left: auto; 
  margin-right: auto; 
  position: relative; 
  float: none; 
}

/* TABLE FOR STEP-BY-STEP DESCRIPTION ON HOW-TO PAGES */

table.TblSteps {
  border-spacing: 10px;
}

.TblSteps td.StepNum {
  width: 30px; 
  vertical-align: top; 
  text-align: right;
  font-weight: bold; 
}

/* GENERAL TABLES */

.TblGeneral th {
  vertical-align: top;
  font-style:italic;
  font-weight: normal; 
  text-align:left;
}

.TblGeneral td {
  vertical-align: top;
}

.TblGeneral td.Yes {
  background-color: #99C299; 
  color: #006600;
  font-weight: bold;
  text-align: center;
}

.TblGeneral td.No {
  background-color: #F0B2B2; 
  color: #CC0000;
  font-weight: bold;
  text-align: center;
}
 

/* FLOATING BOXES */

div.NoteNoImage {
  border:3px solid #006400; 
  background-color:#CCE0CC; 
  padding:5px; 
  margin: 10px 10px 10px 10px; 
  box-shadow: 2px 2px 2px grey;
}

div.NoteWithImage {
  border:3px solid #006400; 
  background-color:#CCE0CC; 
  padding:5px; 
  margin: 10px 350px 10px 10px; 
  box-shadow: 2px 2px 2px grey;
}

div.IssueNoImage {
  border:3px solid #CC0000; 
  background-color:#FFFF99; 
  padding:5px; 
  margin: 10px 10px 10px 10px; 
  box-shadow: 2px 2px 2px grey;
}

div.IssueWithImage {
  border:3px solid #CC0000; 
  background-color:#FFFF99; 
  padding:5px; 
  margin: 10px 350px 10px 10px; 
  box-shadow: 2px 2px 2px grey;
}

/* BUTTONS */

span.ButtonBlue {
  background-color: #1E90FF;
  font-weight: bold;
  color: #FFFFFF;
  padding: 2px;
  margin: 0px 2px, 0px, 2px;
  border: 1px solid #1873CC;
  border-radius: 3px;
}

span.ButtonGrey {
  background-color: #E6E6E6;
  font-weight: bold;
  color: #000000;
  padding: 2px;
  margin: 0px 2px, 0px, 2px;
  border: 1px solid #999999;
  border-radius: 3px;
}