MediaWiki:Common.css: Difference between revisions
>Kypho No edit summary |
>Kypho No edit summary |
||
| Line 44: | Line 44: | ||
} | } | ||
.infobox td, .navbar td | table.infobox td, .navbar td | ||
.infobox th, .navbar th { | table.infobox th, .navbar th { | ||
padding: 4px; | padding: 4px; | ||
} | } | ||
.infobox th, .navbar th { | table.infobox th, .navbar th { | ||
background-color: #ddddff; | background-color: #ddddff; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
.infobox tr.title th, .navbar tr.title th, | table.infobox tr.title th, .navbar tr.title th, | ||
.infobox th.title, .navbar th.title { | table.infobox th.title, .navbar th.title { | ||
color: black; | color: black; | ||
background-color: #ccccff; | background-color: #ccccff; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.infobox .kv td, .navbar td { | table.infobox .kv td, .navbar td { | ||
text-align: left; | text-align: left; | ||
} | } | ||
.infobox .kv th, .navbar .kv th { | table.infobox .kv th, .navbar .kv th { | ||
width: 15%; | width: 15%; | ||
} | } | ||
.infobox.side { | table.infobox.side { | ||
width: 22em; | width: 22em; | ||
float: right; | float: right; | ||
margin-left: 0.5em; | margin-left: 0.5em; | ||
} | } | ||
.infobox.side td { | table.infobox.side td { | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
/* putting the ToC in the infobox (2016-12-20) */ | /* putting the ToC in the infobox (2016-12-20) */ | ||
.infobox #toc { | table.infobox #toc { | ||
width: 100%!important; | width: 100%!important; | ||
padding: initial!important; | padding: initial!important; | ||
} | } | ||