Difference between revisions of "MediaWiki:Common.css"

From BTAWiki
Jump to navigation Jump to search
(I have no idea what I'm doing but I hope this works)
 
m (More testing)
Line 2: Line 2:
  
 
.infobox {
 
.infobox {
background-color: #ffff00;
+
    background: #eee;
border: 2px solid #008600;
+
    border: 1px solid #aaa;
float: right;
+
    float: right;
margin: 0 0 1em 1em;
+
    margin: 0 0 1em 1em;
padding: 1em;
+
    padding: 1em;
width: 400px;
+
    width: 400px;
}    
+
}
 
.infobox-title {
 
.infobox-title {
border: 1px solid #000000;
+
    font-size: 2em;
font-size: 1.5em;
+
    text-align: center;
text-align: center;
+
}
background-color: #ff0000;
+
.infobox-image {
 +
    text-align: center;
 
}
 
}
.infobox-subtitle {
+
.infobox th {
font-size: 1em;
+
    text-align: right;
text-align: center;
+
    vertical-align: top;
background-color: #fff00;
+
    width: 120px;
 
}
 
}
.infobox-image {
+
.infobox td {
text-align: center;
+
    vertical-align: top;
background-color: #ffff00;
 
 
}
 
}

Revision as of 03:13, 16 November 2020

/* 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: 400px;
}
.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;
}