Difference between revisions of "MediaWiki:Common.css"

From Orbis Wiki
Jump to navigation Jump to search
m
m (Change hidden visibility to none display)
 
(9 intermediate revisions by the same user not shown)
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: #fafafa;
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
 
     border-radius: 2px;
 
     border-radius: 2px;
Line 12: Line 12:
 
     font-size: 1.5em;
 
     font-size: 1.5em;
 
     text-align: center;
 
     text-align: center;
 +
}
 +
.infobox-title > p {
 +
    margin: 0;
 
}
 
}
 
.infobox-image {
 
.infobox-image {
 
     text-align: center;
 
     text-align: center;
    border: 1px solid #aaa;
 
    border-radius: 2px;
 
}
 
.infobox-table {
 
    width: 100%;
 
 
}
 
}
 
.infobox-nickname {
 
.infobox-nickname {
 
     text-align: center;
 
     text-align: center;
 
     font-style: italic;
 
     font-style: italic;
    width: 100%;
 
 
}
 
}
 
.infobox th {
 
.infobox th {
 
     text-align: right;
 
     text-align: right;
 
     vertical-align: top;
 
     vertical-align: top;
 +
    width: 100px;
 +
    font-weight: 700;
 +
    padding-right: 10px;
 
}
 
}
 
.infobox td {
 
.infobox td {
 
     vertical-align: top;
 
     vertical-align: top;
 +
}
 +
 +
#mw-pages > h2 {
 +
    display: none
 
}
 
}

Latest revision as of 19:49, 3 June 2020

/* CSS placed here will be applied to all skins */
.infobox {
    background: #fafafa;
    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-title > p {
    margin: 0;
}
.infobox-image {
    text-align: center;
}
.infobox-nickname {
    text-align: center;
    font-style: italic;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 100px;
    font-weight: 700;
    padding-right: 10px;
}
.infobox td {
    vertical-align: top;
}

#mw-pages > h2 {
    display: none
}