Difference between revisions of "MediaWiki:Common.css"

From CEED Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
.infobox {
 
.infobox {
 +
  float: right;
 +
  clear: right;
 
   background: #f9f9f9;
 
   background: #f9f9f9;
 
   border: 1px solid #aaa;
 
   border: 1px solid #aaa;
Line 6: Line 8:
 
   margin: 0 0 2em 2em;
 
   margin: 0 0 2em 2em;
 
   font-size: 80%;
 
   font-size: 80%;
 +
}
 +
 +
.infobox-float-none {
 +
  float: none;
 +
  clear: none;
 +
  display: inline-block;
 
}
 
}
  

Latest revision as of 20:44, 7 June 2020

.infobox {
  float: right;
  clear: right;
  background: #f9f9f9;
  border: 1px solid #aaa;
  max-width: 25em;
  padding: 0.5em;
  margin: 0 0 2em 2em;
  font-size: 80%;
}

.infobox-float-none {
  float: none;
  clear: none;
  display: inline-block;
}

.infobox-float-left {
  float: left;
  clear: left;
}

.infobox-float-right {
  float: right;
  clear: right;
}

.infobox .name, .infobox .printer-thumb {
  text-align: center;
}

.infobox .name {
  font-size: 150%;
  font-weight: bold;
}

.infobox img {
  max-width: 80%;
  max-height: 15em;
  width: auto;
  height: auto;
  margin: 0 1em;
}

.infobox th {
  text-align: left;
}