MediaWiki:FFXIWeatherForecast.css: Difference between revisions
From HorizonXI Wiki
Starfox9507 (talk | contribs) No edit summary |
Starfox9507 (talk | contribs) No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.special-weatherforecast-table th { | .special-weatherforecast-table th { | ||
Line 9: | Line 8: | ||
.special-weatherforecast-table tr:nth-child(odd) td{ | .special-weatherforecast-table tr:nth-child(odd) td{ | ||
background-color: # | background-color: #12396c15; | ||
} | |||
/* | |||
.zone-infobox-weather-div { | |||
max-height: 125px; | |||
overflow: auto; | |||
}*/ | |||
.zone-infobox-weather-div { | |||
overflow-y: auto; | |||
height: 200px; | |||
} | |||
.zone-infobox-weather-div th { | |||
position: sticky; | |||
top: 0; | |||
} | |||
.zone-infobox-weather-table { | |||
font-size : 13px; | |||
margin: 1em 0; | |||
background-color: #f9f9f9; | |||
border-collapse: collapse; | |||
color: black; | |||
width: 100%; | |||
border: 1px #aaa solid; | |||
} | |||
.zone-infobox-weather-table th { | |||
border-left: 1px #aaa solid; | |||
border-right: 1px #aaa solid; | |||
padding: 0.3em 0.4em; | |||
font-weight: bold; | |||
text-align: center; | |||
background-color: #FFD86F; | |||
} | |||
.zone-infobox-weather-table td { | |||
border: 1px #aaa solid; | |||
padding: 0.3em 0.4em; | |||
} | |||
.zone-infobox-weather-table tr:nth-child(even) { | |||
background-color: hsl(54, 66%, 75%) | |||
} | |||
.zone-infobox-weather-table tr:nth-child(odd) { | |||
background-color: hsl(54, 66%, 85%) | |||
} | } |
Latest revision as of 11:12, 29 September 2024
.special-weatherforecast-table th { position: sticky; top: 0; z-index: 1; } .special-weatherforecast-table tr:nth-child(odd) td{ background-color: #12396c15; } /* .zone-infobox-weather-div { max-height: 125px; overflow: auto; }*/ .zone-infobox-weather-div { overflow-y: auto; height: 200px; } .zone-infobox-weather-div th { position: sticky; top: 0; } .zone-infobox-weather-table { font-size : 13px; margin: 1em 0; background-color: #f9f9f9; border-collapse: collapse; color: black; width: 100%; border: 1px #aaa solid; } .zone-infobox-weather-table th { border-left: 1px #aaa solid; border-right: 1px #aaa solid; padding: 0.3em 0.4em; font-weight: bold; text-align: center; background-color: #FFD86F; } .zone-infobox-weather-table td { border: 1px #aaa solid; padding: 0.3em 0.4em; } .zone-infobox-weather-table tr:nth-child(even) { background-color: hsl(54, 66%, 75%) } .zone-infobox-weather-table tr:nth-child(odd) { background-color: hsl(54, 66%, 85%) }