Difference between revisions of "MediaWiki:Common.css"
From A Wiki in the Desert
(Adding some basic formatting to help with new style infoboxes) |
m (Adding a basic CSS helper for announcements at the top of a page) |
||
Line 26: | Line 26: | ||
color: #000; | color: #000; | ||
font-weight: bold; | font-weight: bold; | ||
+ | } | ||
+ | .announcement { | ||
+ | background-color: white; | ||
+ | text-align: center; | ||
+ | border: 2px dotted darkgray; | ||
+ | margin: 1rem auto; | ||
} | } |
Revision as of 22:12, 25 September 2018
.infobox {
float: right;
margin: 0 0 0.5em 1em;
width: 256px;
clear: right;
background-color: #f8f9fa;
border: 1px solid darkgray;
font-size: 0.9em;
color: black;
padding: 0;
clear: right
}
.infobox td,
.infobox th {
vertical-align: top
}
.ibname {
color: #000;
font-size: larger;
font-weight: bold;
}
td.ibimage {
padding: 0
}
.ibtype {
color: #000;
font-weight: bold;
}
.announcement {
background-color: white;
text-align: center;
border: 2px dotted darkgray;
margin: 1rem auto;
}