Difference between revisions of "Module:Bar box/styles.css"
MyWikiBiz, Author Your Legacy — Tuesday November 26, 2024
Jump to navigationJump to search (Zoran created the page Module:Bar box/styles.css using a non-default content model "CSS") |
|||
Line 1: | Line 1: | ||
+ | /* {{pp-template}} */ | ||
+ | .barbox { | ||
+ | overflow-x: auto; | ||
+ | padding: 0.4em 0 | ||
+ | } | ||
+ | .barbox > table { | ||
+ | border-spacing: 0.8em 0; | ||
+ | font-size: 88%; | ||
+ | text-align: left; | ||
+ | width: 100% | ||
+ | } | ||
+ | .barbox caption { | ||
+ | font-weight: bold; | ||
+ | margin: 0 0.4em; | ||
+ | text-align: center /* not default in MinervaNeue */ | ||
+ | } | ||
+ | |||
+ | .barbox th, .barbox td:not(.bb-b) { | ||
+ | padding-left: 0; | ||
+ | padding-right: 0 | ||
+ | } | ||
+ | |||
+ | .bb-default { | ||
+ | line-height: 1.6 | ||
+ | } | ||
+ | |||
+ | .bb-c { | ||
+ | text-align: center | ||
+ | } | ||
+ | .bb-r { | ||
+ | text-align: right | ||
+ | } | ||
+ | |||
+ | .bb-min3 { | ||
+ | min-width: 3em | ||
+ | } | ||
+ | .bb-min8 { | ||
+ | min-width: 8em | ||
+ | } | ||
+ | |||
+ | .bb-b { | ||
+ | border-left: 1px solid silver; | ||
+ | border-right: 1px solid silver | ||
+ | } | ||
+ | .bb-b > div { | ||
+ | float: left; | ||
+ | overflow: hidden | ||
+ | } |
Latest revision as of 20:50, 15 July 2021
/* {{pp-template}} */ .barbox { overflow-x: auto; padding: 0.4em 0 } .barbox > table { border-spacing: 0.8em 0; font-size: 88%; text-align: left; width: 100% } .barbox caption { font-weight: bold; margin: 0 0.4em; text-align: center /* not default in MinervaNeue */ } .barbox th, .barbox td:not(.bb-b) { padding-left: 0; padding-right: 0 } .bb-default { line-height: 1.6 } .bb-c { text-align: center } .bb-r { text-align: right } .bb-min3 { min-width: 3em } .bb-min8 { min-width: 8em } .bb-b { border-left: 1px solid silver; border-right: 1px solid silver } .bb-b > div { float: left; overflow: hidden }