Difference between revisions of "MediaWiki:Common.css"

From Orbis Wiki
Jump to navigation Jump to search
(Infobox css)
 
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: #eee;
+
     background: #fdfdfd;
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
 +
    border-radius: 2px;
 
     float: right;
 
     float: right;
 
     margin: 0 0 1em 1em;
 
     margin: 0 0 1em 1em;
 
     padding: 1em;
 
     padding: 1em;
     width: 400px;
+
     width: 300px;
 
}
 
}
 
.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;
 +
    border: 1px solid #aaa;
 +
    border-radius: 2px;
 
}
 
}
 
.infobox th {
 
.infobox th {

Revision as of 20:47, 2 April 2020

/* CSS placed here will be applied to all skins */
.infobox {
    background: #fdfdfd;
    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;
    border: 1px solid #aaa;
    border-radius: 2px;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}