Difference between revisions of "MediaWiki:Common.css"

From Orbis Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
.infobox {
 
.infobox {
     background: #fdfdfd;
+
     background: #eee;
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
 
     border-radius: 2px;
 
     border-radius: 2px;
Line 7: Line 7:
 
     margin: 0 0 1em 1em;
 
     margin: 0 0 1em 1em;
 
     padding: 1em;
 
     padding: 1em;
     width: 400px;
+
     width: 300px;
 
}
 
}
 
.infobox-title {
 
.infobox-title {
Line 15: Line 15:
 
.infobox-image {
 
.infobox-image {
 
     text-align: center;
 
     text-align: center;
    border: 1px solid #aaa;
 
    border-radius: 2px;
 
 
}
 
}
 
.infobox-nickname {
 
.infobox-nickname {
Line 28: Line 26:
 
     text-align: right;
 
     text-align: right;
 
     vertical-align: top;
 
     vertical-align: top;
     width: 130px;
+
     width: 100px;
 
}
 
}
 
.infobox td {
 
.infobox td {
 
     vertical-align: top;
 
     vertical-align: top;
 
}
 
}

Revision as of 21:31, 2 April 2020

/* CSS placed here will be applied to all skins */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    border-radius: 2px;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 300px;
}
.infobox-title {
    font-size: 1.5em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-nickname {
    text-align: center;
    font-style: italic;
}
.infobox-vitals {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 100px;
}
.infobox td {
    vertical-align: top;
}