Difference between revisions of "MediaWiki:Common.css"

From BTAWiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
/** Infobox template **/
 
/** Infobox template **/
.ibox,
+
 
.infobox {
+
.infobox
    background-color: #d4d4d4;
+
{
    border: 1px solid #CCCCCC;
+
  background-color: #d4d4d4;
    color: #1C1C1C;
+
  border: 1px solid #CCCCCC;
    float: right;
+
  color: #1C1C1C;
    font-size: 11px;
+
  float: right;
    margin: 0px 0px 10px 2em;
+
  font-size: 11px;
    width: 200px;
+
  margin: 0px 0px 10px 2em;
    text-align: left;
+
  width: 200px;
 +
  text-align: left;
 
}
 
}
.ibox .name,
+
 
.infobox .name {
+
.infobox-title {
    background: none repeat scroll 0% 0% #3A3A3A;
+
    font-size: 2em;
    color: #eeeeee;
+
    text-align: center;
    font-size: 16px;
 
    padding: 1em;
 
    text-align: left;
 
 
}
 
}
.ibox .image,
+
.infobox-image {
.infobox .image {
+
    text-align: center;
    height: 200px;
 
    padding: 0.5em;
 
    text-align: center;
 
 
}
 
}
.ibox .category,
+
.infobox th {
.infobox .category {
+
    text-align: right;
    background: none repeat scroll 0% 0% #3A3A3A;
+
    vertical-align: top;
    color: #eeeeee;
+
    width: 120px;
 
}
 
}
.ibox .category a,
+
.infobox td {
.infobox .category a {
+
    vertical-align: top;
    color:#afd8ff;
 
}
 
.ibox .left,
 
.infobox .left {
 
    font-weight:700;
 
    background: none repeat scroll 0% 0% #3A3A3A;
 
    color: #eeeeee;
 
    text-align: right;
 
    padding-right: 5px;
 
}
 
.ibox .left a,
 
.infobox .left a {
 
    font-weight:700;
 
    color:#afd8ff;
 
}
 
.ibox .right,
 
.infobox .right {
 
    padding: 1px 5px;
 
    text-align: left;
 
    width: 60%;
 
}
 
 
/** Infobox horizontal**/
 
.ibox-hori {
 
    background-color: #d4d4d4;
 
    border: 1px solid #CCCCCC;
 
    color: #1C1C1C;
 
    float: left;
 
    font-size: 11px;
 
    margin: 0px 0px 10px 2em;
 
    width: 660px;
 
}
 
 
.ibox-hori .name {
 
    background: none repeat scroll 0% 0% #3A3A3A;
 
    color: #eeeeee;
 
    font-size: 16px;
 
    padding: 3px;
 
    text-align: center;
 
}
 
 
.ibox-hori .image {
 
    height: 200px;
 
    padding: 0.5em;
 
    text-align: center;
 
}
 
 
.ibox-hori .category {
 
    background: none repeat scroll 0% 0% #3A3A3A;
 
    color: #eeeeee;
 
}
 
 
.ibox-hori .category a {
 
    color:#afd8ff;
 
}
 
 
.ibox-hori .left {
 
    background: none repeat scroll 0% 0% #3A3A3A;
 
    color: #eeeeee;
 
    text-align: right;
 
    padding-right: 5px;
 
}
 
 
.ibox-hori .left a {
 
    color:#afd8ff;
 
}
 
 
.ibox-hori .right {
 
    padding: 1px 5px;
 
    text-align: left;
 
    width: 110px;
 
 
}
 
}

Revision as of 11:03, 16 November 2020

/* CSS placed here will be applied to all skins */

/** Infobox template **/

.infobox
{
  background-color: #d4d4d4;
  border: 1px solid #CCCCCC;
  color: #1C1C1C;
  float: right;
  font-size: 11px;
  margin: 0px 0px 10px 2em;
  width: 200px;
  text-align: left;
}

.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}