MediaWiki:Common.css: Difference between revisions

From Anesthesia Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(8 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 {
position: relative;
background-color: #f8f9fa;
background-color: #f8f9fa;
border-spacing: 3px;
border-spacing: 3px;
Line 13: Line 12:
line-height: 1.5em;
line-height: 1.5em;
width: 21em;
width: 21em;
}    
}  
.infobox-title {
.infobox-title {
font-size: 1.5em;
font-size: 1.5em;
Line 37: 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 */
}
}

Latest revision as of 21:17, 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 {
}