MediaWiki:Gadget-Infobox.css
From Elwiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
.infobox {
position: relative;
width: 400px;
min-width: 400px;
float: right;
clear: right;
margin: .5em 0 1.3em 1.4em;
border-collapse: collapse;
border: 2px lightblue solid;
}
.infobox + .infobox {
border-top: hidden;
margin-top: 0;
}
.infobox * {
position: relative;
}
.infobox > * > * > .title {
border-bottom: 2px lightblue solid;
line-height: 1.2em;
font-size: 1.2em;
padding: 0.5em 0;
vertical-align: middle;
}
.infobox > * > * > .title,
.infobox > * > * > .image {
text-align: center;
}
.infobox > * > .entry > * {
border: 1px solid #aaa;
}
.infobox > * > .entry > th {
text-align: left;
background-color: #eef;
padding: 0 0.5em;
}