Template:Infobox legislative election/styles.css
Appearance
From Wikipedia, the free encyclopedia
/* {{pp-template}} */ .ib-legis-elect{ line-height:1.5em; max-width:32em; min-width:22em; width:auto; } .ib-legis-elect-embed{ background-color:#ddd; font-size:120%; font-weight:bold } .ib-legis-elect.infobox-subheader{ line-height:130%; } .ib-legis-elect-error{ color:red; } .ib-legis-elect.infobox-data{ text-align:center; } .ib-legis-elect.infobox-label{ width:5em; } .ib-legis-elect.infobox-below{ padding:03px } .ib-legis-elect-results{ width:100%; margin:0; } .ib-legis-elect-resultstd{ padding-bottom:2px!important; padding-top:2px!important; padding-left:4px!important; padding-right:4px!important; } .ib-legis-elect-resultsth[scope="row"]{ background-color:transparent; } .ib-legis-elect-resultstr:nth-child(odd), .ib-legis-elect-resultstr:nth-child(odd)th[scope="row"]{ background-color:#eee; } @mediascreen{ html.skin-theme-clientpref-night.ib-legis-elect-resultstr:nth-child(odd), html.skin-theme-clientpref-night.ib-legis-elect-resultstr:nth-child(odd)th[scope="row"]{ color:#fff; background-color:#080906; } } @mediascreenand(prefers-color-scheme:dark){ html.skin-theme-clientpref-os.ib-legis-elect-resultstr:nth-child(odd), html.skin-theme-clientpref-os.ib-legis-elect-resultstr:nth-child(odd)th[scope="row"]{ color:#fff; background-color:#080906; } } td.ib-legis-elect-percent, td.ib-legis-elect-seats{ text-align:right; } .ib-legis-elect-p{ color:green; } .ib-legis-elect-m{ color:red; } .ib-legis-elect-map{ width:100%; border-spacing:0; border-top:1px#aaasolid; } .ib-legis-elect-befaft{ width:100%; border-spacing:0; border-top:1px#aaasolid; } .ib-legis-elect-befaftth, .ib-legis-elect-50{ width:50%; } .ib-legis-elect-befaft-right{ text-align:right; } .ib-legis-elect-befimg{ padding-right:3px; } .ib-legis-elect-aftimg{ padding-left:3px; }