Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(2 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_person { |
background: #eee; | background: #eee; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
− | |||
width: 300px; | width: 300px; | ||
} | } | ||
− | . | + | .infobox_person-title{ |
font-size: 2em; | font-size: 2em; | ||
text-align: center; | text-align: center; | ||
} | } | ||
− | . | + | .infobox_person-image { |
text-align: center; | text-align: center; | ||
} | } | ||
− | . | + | .infobox_person th { |
− | text-align: | + | text-align: left; |
vertical-align: top; | vertical-align: top; | ||
width: 50px; | width: 50px; | ||
− | padding: 1em; | + | padding-left: 1em; |
} | } | ||
− | . | + | .infobox_person td { |
− | + | text-align: left; | |
− | padding: | + | padding: 0; |
} | } | ||
− | |||
.Creabookbox { | .Creabookbox { | ||
Line 56: | Line 54: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 1em; | padding: 1em; | ||
− | width | + | width = 100%; |
} | } | ||
.TopBanner th, td { | .TopBanner th, td { | ||
padding: 5px; | padding: 5px; | ||
text-align: center; | text-align: center; | ||
− | width = 100% | + | width = 100%; |
} | } | ||
.MainBody { | .MainBody { | ||
Line 69: | Line 67: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 1em; | padding: 1em; | ||
− | width | + | width = 100%; |
text-align: center; | text-align: center; | ||
} | } |
Latest revision as of 09:43, 10 May 2021
/* CSS placed here will be applied to all skins */
.infobox_person {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
width: 300px;
}
.infobox_person-title{
font-size: 2em;
text-align: center;
}
.infobox_person-image {
text-align: center;
}
.infobox_person th {
text-align: left;
vertical-align: top;
width: 50px;
padding-left: 1em;
}
.infobox_person td {
text-align: left;
padding: 0;
}
.Creabookbox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 300px;
}
.Creabookbox-image {
text-align: center;
}
.Creabookbox th {
text-align: right;
vertical-align: top;
width: 50px;
padding: 0;
}
.Creabookbox td {
width: 249px;
text-align: left;
padding: 0;
}
.TopBanner {
background: #eee;
border: 1px solid #aaa;
float: none;
margin: 0 0 1em 1em;
padding: 1em;
width = 100%;
}
.TopBanner th, td {
padding: 5px;
text-align: center;
width = 100%;
}
.MainBody {
background: #eee;
border: 1px solid #aaa;
float: none;
margin: 0 0 1em 1em;
padding: 1em;
width = 100%;
text-align: center;
}
#siteSub {
display: block; font-weight: normal; font-size: 10px;
}
action-view #siteSub,
action-submit #siteSub {
display: none;
}