MediaWiki:FFXIWeatherForecast.css
From HorizonXI Wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
.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%)
}
