Difference between revisions of "MediaWiki:Common.css"

From 30 Minute Missions: Wargame
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
     padding: 1em;
     padding: 1em;
     width: 400px;
     width: 250px;
}
}
.infobox-title {
.infobox-title {
     font-size: 2em;
     font-size: 1.5em;
     text-align: center;
     text-align: center;
}
}
.infobox-image {
.infobox-image {
     text-align: center;
     text-align: center;
    width: 200px;
      display: block;
  margin-left: auto;
  margin-right: auto;
}
}
.infobox th {
.infobox th {
     text-align: right;
     text-align: left;
     vertical-align: top;
     vertical-align: top;
     width: 120px;
     width: 120px;

Latest revision as of 23:28, 23 August 2021

/* CSS placed here will be applied to all skins */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 250px;
}
.infobox-title {
    font-size: 1.5em;
    text-align: center;
}
.infobox-image {
    text-align: center;
      display: block;
  margin-left: auto;
  margin-right: auto;
}
.infobox th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}