MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary |
(added .box, adjusted background colors) |
||
Line 7: | Line 7: | ||
/* Common boxes */ | /* Common boxes */ | ||
.title { border: 1px solid #5a7db5; background: url("http://zeldadungeon.net/wp-content/themes/default/images/Box2Color.png"); font-weight: bold; font-size: 1.1em; } | .box { margin: 1em 0em; border: 1px solid #5a7db5; padding: .2em; background-color: #f6f6f6; } | ||
.title { border: 1px solid #5a7db5; padding: .5em; background: url("http://zeldadungeon.net/wp-content/themes/default/images/Box2Color.png"); font-weight: bold; font-size: 1.1em; } | |||
.header { background: url("http://zeldadungeon.net/wp-content/themes/default/images/Box1Color.png"); font-weight: bold; } | .header { background: url("http://zeldadungeon.net/wp-content/themes/default/images/Box1Color.png"); font-weight: bold; } | ||
.label { background: url("http://zeldadungeon.net/wp-content/themes/default/images/Box1.png"); } | .label { background: url("http://zeldadungeon.net/wp-content/themes/default/images/Box1.png"); } | ||
.even { background-color: # | .even { background-color: #ffffff; } | ||
/* Infobox */ | /* Infobox */ | ||
.infobox { float: right; margin: 0 0 1em 1em; border: 1px solid #5a7db5; border-collapse: collapse; background-color: #f6f6f6 | .infobox { float: right; margin: 0 0 1em 1em; border: 1px solid #5a7db5; border-collapse: collapse; width: 22em; background-color: #f6f6f6; font-size: .95em; text-align: left; } | ||
.infobox .title { text-align: center; } | .infobox .title { text-align: center; } | ||
.infobox th, .infobox td { border: 1px solid #5a7db5; } | .infobox th, .infobox td { border: 1px solid #5a7db5; } | ||
/* Navbox */ | /* Navbox */ | ||
.navbox { clear: both; margin: auto; border: 1px solid #5a7db5; width: 70%; font-size: .85em | .navbox { clear: both; margin: auto; border: 1px solid #5a7db5; width: 70%; border-collapse: collapse; background-color: #f6f6f6; font-size: .85em; } | ||
.navbox .title { position: relative; } | .navbox .title { position: relative; } | ||
.navbox .title span { position: absolute; right: .5em; } | .navbox .title span { position: absolute; right: .5em; } |