MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
No edit summary
(removed legacy infotable, started converting ".infobox table" to ".infotable")
Line 20: Line 20:
/* Infobox */
/* Infobox */
.infobox img { margin-bottom: 2px; max-width: 258px; height: auto; }
.infobox img { margin-bottom: 2px; max-width: 258px; height: auto; }
.infobox table { margin: 0px; border: 1px solid #5a7db5; border-collapse: collapse; width: 100%; height: 100%; font-size: .95em; }
.infotable { margin: 0px; border: 1px solid #5a7db5; border-collapse: collapse; width: 100%; height: 100%; font-size: .95em; }
.infobox th, .infobox td { border: 1px solid #5a7db5; padding: 2px; vertical-align: middle; }
.infotable th, .infotable td { border: 1px solid #5a7db5; padding: 2px; vertical-align: middle; }


.infobox-hostile, .infobox-hostile .title, .infobox-hostile th, .infobox-hostile td { border-color: red; }
.infobox-hostile, .infobox-hostile .title, .infobox-hostile th, .infobox-hostile td { border-color: red; }
Line 176: Line 176:
   white-space: -o-pre-wrap;    /* Opera 7 */
   white-space: -o-pre-wrap;    /* Opera 7 */
   word-wrap: break-word;      /* Internet Explorer 5.5+ */
   word-wrap: break-word;      /* Internet Explorer 5.5+ */
}
/* Infobox table class */
table.infotable {
float: right;
margin: 0 0 1em 1em;
border-collapse: collapse;
font-size: 95%;
text-align: left;
}
table.infotable th {
background: #F2F2F2;
}
table.infotable td {
background: #FFF;
}
table.infotable th, table.infotable td {
border: 1px #AAA solid;
padding: 0.2em;
}
}