Bước tới nội dung

Bản mẫu:Bảng xếp hạng/styles.css

Bách khoa toàn thư mở Wikipedia
/* {{pp-template}}  Bar chart styles - Fixed for ViWiki*/.bar-chart { margin: 0.5em; background-color: #f8f9fa; /* Thay var(--background-color-neutral-subtle) */ border: 1px solid #c0c0c0; border-spacing: 0px;}.bar-chart tbody { display: table; width: 100%;}.bar-chart caption { display: block; font-weight: bold;}.bar-chart th,.bar-chart td { padding: 3px; text-align: left;}/* highlight bars on mouseover */.bar-chart tr:not(:first-child):hover { background-color: #ffffff; /* Thay var(--background-color-base) */}.bar-chart th[scope="col"]:not(.bar-chart-label-type) { width: 15em;}.bar-chart th[scope="row"]:not(.bar-chart-total) { font-weight: normal;}.bar-chart-bar { height: 1.25em; width: 40em;}.bar-chart-bar-line { background-color: #cedff2; height: 1.25em;  margin: 0 0 0 0;  z-index: 0;}.bar-chart-bar-comment { font-size: 90%;  padding-left: 1em;}.bar-chart-bar-numbers { position: relative;  top: -1.4em;  height: 1.25em;  padding: 0 0 0 2em;  z-index: 10; width: 40em;}.bar-chart-caption { border-top: 1px solid #aaa;}@media (min-width: 720px) { .bar-chart-left { float: left; clear: left; margin: 0.5em 1em 0.5em 0; }  .bar-chart-right { float: right; clear: right; margin: 0.5em 0 0.5em 1em; }  .bar-chart-center { margin: 0.5em auto; }}/* Các tùy chỉnh cho chế độ tối và in ấn */@media screen { html.skin-theme-clientpref-night .bar-chart-bar-line {  background-color: #74497e; }}@media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .bar-chart-bar-line {  background-color: #74497e; }}@media print { .bar-chart-bar-line { border: dashed 1pt grey; }}