Difference between revisions of "MediaWiki:Common.css"

From Stellar Empire
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:


.infobox {
.infobox {
     background: #eee;
     border: 1px solid #a2a9b1;
    border: 1px solid #aaa;
border-spacing: 3px;
    float: right;
background-color: #f8f9fa;
    margin: 0 0 1em 1em;
color: black;
    padding: 1em;
margin: 0.5em 0 0.5em 1em;
     width: 315px;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
     width: 306px;
}
}
.infobox-title {
.infobox-title {
Line 17: Line 22:
     text-align: center;
     text-align: center;
}
}
.infobox-heading {
background-color: #C3D6EF;
text-align: center;
vertical-align: middle;
font-size: 110%;
}
.infobox-above, .infobox-title, caption {
    font-weight: bold;
}
.infobox th {
.infobox th {
     text-align: right;
     text-align: right;
Line 24: Line 41:
.infobox td {
.infobox td {
     vertical-align: top;
     vertical-align: top;
}
.infobox .subheading {
    background: rgb(5,67,113);
    background: linear-gradient(180deg, rgba(5,67,113,1) 0%, rgba(0,157,222,1) 100%);
    color: white;
    font-weight: 800;
    text-align: center;
    vertical-align: center;
    font-size: 105%;
}
}

Latest revision as of 14:25, 13 June 2023

/* CSS placed here will be applied to all skins */
body.page-Main_Page h1 { display: none; }

.infobox {
    border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
    width: 306px;
}
.infobox-title {
    font-size: 1.25em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}

.infobox-heading {
background-color: #C3D6EF;
text-align: center;
vertical-align: middle;
font-size: 110%;
}

.infobox-above, .infobox-title, caption {
    font-weight: bold;
}

.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}
.infobox .subheading {
    background: rgb(5,67,113);
    background: linear-gradient(180deg, rgba(5,67,113,1) 0%, rgba(0,157,222,1) 100%);
    color: white;
    font-weight: 800;
    text-align: center;
    vertical-align: center;
    font-size: 105%;
}