Difference between revisions of "MediaWiki:Common.css"

From Sinden Lightgun
Jump to navigation Jump to search
(Created page with "→‎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;...")
 
Line 2: Line 2:
  
 
.infobox {
 
.infobox {
    background: #eee;
+
background-color: #ffff00;
    border: 1px solid #aaa;
+
border: 2px solid #008600;
    float: right;
+
float: right;
    margin: 0 0 1em 1em;
+
margin: 0 0 1em 1em;
    padding: 1em;
+
padding: 1em;
    width: 400px;
+
width: 400px;
 +
}     
 +
.infobox-title {
 +
border: 1px solid #000000;
 +
font-size: 1.5em;
 +
text-align: center;
 +
background-color: #ff0000;
 
}
 
}
.infobox-title {
+
.infobox-subtitle {
    font-size: 2em;
+
font-size: 1em;
    text-align: center;
+
text-align: center;
 +
background-color: #fff00;
 
}
 
}
 
.infobox-image {
 
.infobox-image {
    text-align: center;
+
text-align: center;
}
+
background-color: #ffff00;
.infobox th {
 
    text-align: right;
 
    vertical-align: top;
 
    width: 120px;
 
}
 
.infobox td {
 
    vertical-align: top;
 
 
}
 
}

Revision as of 13:43, 8 December 2022

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

.infobox {
background-color: #ffff00;
border: 2px solid #008600;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}      
.infobox-title {
border: 1px solid #000000;
font-size: 1.5em;
text-align: center;
background-color: #ff0000;
}
.infobox-subtitle {
font-size: 1em;
text-align: center;
background-color: #fff00;
}
.infobox-image {
text-align: center;
background-color: #ffff00;
}