MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Danesthesia (talk | contribs) No edit summary Tag: Manual revert |
Danesthesia (talk | contribs) No edit summary Tag: Reverted |
||
| Line 36: | Line 36: | ||
} | } | ||
.infobox td { | .infobox td { | ||
} | |||
.infobox-text { | |||
position: absolute; /* Added */ | |||
top: 0; /* Added */ | |||
left: 0; /* Added */ | |||
width: 100%; /* Added */ | |||
text-align: center; /* Added */ | |||
font-weight: bold; /* Added */ | |||
padding: 0.5em; /* Added */ | |||
background-color: rgba(255, 255, 255, 0.8); /* Added */ | |||
} | } | ||
Revision as of 20:08, 17 May 2023
/* CSS placed here will be applied to all skins */
.infobox {
background-color: #f8f9fa;
border-spacing: 3px;
border: 1px solid #a2a9b1;
color: black;
float: right;
clear: right;
font-size: 88%;
margin: 1em 0 1em 2em;
padding: .5em;
line-height: 1.5em;
width: 21em;
}
.infobox-title {
font-size: 1.5em;
text-align: center;
background-color: lightblue;
}
.infobox-subtitle {
font-size: 1em;
text-align: center;
background-color: #fff00;
}
.infobox-image {
text-align: center;
padding: 0.5em 0 0.5em 0;
}
.infobox-imagedescription {
text-align: center;
vertical-align: text-top;
}
.infobox th {
text-align: left;
color: #356BE6;
}
.infobox td {
}
.infobox-text {
position: absolute; /* Added */
top: 0; /* Added */
left: 0; /* Added */
width: 100%; /* Added */
text-align: center; /* Added */
font-weight: bold; /* Added */
padding: 0.5em; /* Added */
background-color: rgba(255, 255, 255, 0.8); /* Added */
}