Jump to content

Module:Climate chart/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Izno (talk | contribs) at 04:43, 25 August 2022 (remove print-color-adjust). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
.climate-chart-column {
	width: 1.6em;
	height: 17em;
	position: relative;
	padding: 0;
	margin: 0;
}

.climate-chart-column-spacer,
.climate-chart-column-spacer2 {
	height: 0;
	width: 1.6em;
	position: absolute;
	left: 0;
	padding: 0;
	margin: 0;
}

.climate-chart-column-spacer {
	bottom: 2em;
	border-bottom: dotted 1px #abc;
}

.climate-chart-column-spacer2 {
	bottom: 8em;
	border-bottom: dotted 1px #cba;
}

.climate-chart-column-precip-bar {
	background: #ace;
	position: absolute;
	bottom: 2em;
	left: .2em;
	width: 1.2em;
	overflow: hidden;
}

.climate-chart-column-precip {
	color: blue;
	position: absolute;
	bottom: .5em;
	left: 0;
	width: 1.6em;
	height: 1.5em;
	text-align: center;
}

.climate-chart-column-precip > span {
	font-size: 70%; /* TODO: this is too small per ACCESS */
}

.climate-chart-column-temp-bar {
	background: #e44;
	position: absolute;
	left: .4em;
	width: 0.8em;
	overflow: hidden;
}

.climate-chart-column-temp {
	color: red;
	position: absolute;
	left: 0;
	width: 1.6em;
	height: 1.5em;
	text-align: center;
}

.climate-chart-column-temp > span {
	 font-size: 80%;
}