MediaWiki:FFXIWeatherForecast.css: Difference between revisions

From HorizonXI Wiki
No edit summary
No edit summary
 
Line 9: Line 9:
.special-weatherforecast-table tr:nth-child(odd) td{
.special-weatherforecast-table tr:nth-child(odd) td{
     background-color: #12396c15;
     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%)
}