share/spice/forecast/forecast.css
/*
	TODO: Namespace everything
*/

/* Primary/Alt Icons */
.fe_icon-wrap {
	position: relative;
	display: inline-block;
}
.fe_icon,
.fe_icon--alt {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
}
.fe_icon {
	display: block;
}

.fe_icon--alt {
	display: none;
	opacity: 0.81;
}

.fe_icon--alert {
	font-size: 16px;
	margin-top: -1px;
	margin-right: 0.5em;
	display: inline-block;
	vertical-align: middle;
}

/* Other Styling */
.fe_currently,
.fe_day {
	height: 16em;
}

.fe_currently {
	text-align: center;
	width: 20em;
}
.fe_day {
	width: 10em;
}

.fe_current-wrap {
	display: inline-block;
	margin-top: 0.25em;
	max-width: 100%;
}
.fe_current__top {
	font-size: 2em;
}
.fe_current__bottom {
	font-size: 1.1em;
	text-align: center;
	position: absolute;
	bottom: 0.25em;
	left: 1.25em;
	right: 1.25em;
	margin-bottom: 1em;
}
	.fe_summary {
		overflow: hidden;
		max-height: 2.6em;
		display: block;
		text-overflow: ellipsis;
	}
	.fe_current__bottom .fe_summary {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.fe_summary h6,
	.fe_current__bottom h6 {
		font-weight: normal !important;
		padding-bottom: 0;
	}
	.fe_current__bottom h6 {
		font-size: 1em;
	}
	.fe_summary h6 {
		font-size: 1em;
	}

	.fe_icon-wrap--current {
		width: 80px;
		height: 80px;
		vertical-align: bottom;
		margin-bottom: 0;
		margin-left: 0.55em;
	}
	.fe_icon-wrap--daily {
		float: right;
		width: 40px;
	}
	/*h1*/.fe_temp {
		display: inline-block;
		line-height: 1.3;
		margin-bottom: 0 !important;
		margin-right: -.25em;
		font-size: 2em;
	}

	.fe_temp_corner {
		text-align: right;
		position: absolute;
		bottom: 0;
		right: 0;
		padding-right: 1em;
		font-size: 0.9em;
	}
		.fe_temp_corner h1 {
			margin-bottom: 0 !important;
		}

	.fe_sep {
		padding: 0 0.25em;
		display: inline-block;
	}

	.fe_label,
	.fe_date {
		text-align: left;
		font-size: 1.15em;
	}
	.fe_date {
		font-size: 1em;
	}

    .fe_label a, .fe_label a:visited {
		color: inherit;
    }

	/*h1*/.fe_low_temp,
	.fe_date {
		margin-top: -0.25em;
	}
		.fe_label + .fe_date {
			margin-top: -0.5em;
		}

	.fe_day .fe_summary {
		margin-top: 1em;
		max-height: 5.4em;
	}

	.fe_alert {
		margin-left: 0.5em;
	}

/*
	Mobile-Specific Objects
*/

.is-mobile .fe_current-wrap--mob {
    margin-top: -0.5em;
}

.fe_current-wrap--mob .fe_currently {
	margin: -0.5em;
	min-height: 14.25em;
	height: auto;
	width: auto;
}
.fe_current-wrap--mob .fe_current-wrap {
	margin-top: 0.5em;
}

.fe_current-wrap--mob .fe_current__bottom {
	margin-top: 1.25em;
	margin-bottom: 1em;
	position: static;
	font-size: 1em;
}

.fe_meta {
	padding-top: 0.125em;
	float: right;
}
	.fe_meta .fe_sep {
		padding: 0 0.5em;
	}
	.fe_meta .fe_more-at {
		display: inline;
		font-size: 1em;
		color: inherit;
	}

.fe_days {
	display: block;
	padding-left: 0.6em;
	white-space: nowrap;
	overflow: hidden;
	overflow-x: auto;
	min-height: 150px;
	-webkit-overflow-scrolling: touch;
	margin-bottom: -0.5em;
}
	.fe_day--bar {
		text-align: center;
		display: inline-block;
		min-height: 150px;
		min-width: 48px;
		width: 11.6%;
	}
		.fe_day--bar .fe_label {
			padding-top: 0;
			text-transform: uppercase;
			text-align: center;
			font-size: 0.9em;
		}

.fe_icon-wrap--bar {
	margin-top: 2px;
	height: 26px;
	width: 26px;
}

.fe_temp_bar {
	border-radius: 2em;
	margin: 0 auto 3em;
	white-space: nowrap;
	position: relative;
	width: 0.7em;
	top: 1.5em;
}
	.fe_temp_bar .fe_high_temp,
	.fe_temp_bar .fe_low_temp {
		font-size: 0.8em;
		position: absolute;
		width: 2em;
		left: -0.5em;
	}

	.fe_temp_bar .fe_high_temp {
		top: -1.5em;
	}

	.fe_temp_bar .fe_low_temp {
		bottom: -1.5em;
	}

#fe_temp_switch {
	text-decoration: none;
	cursor: pointer;
}

#fe_temp_switch .is-active {
	font-weight: bold;
}

/*
    Dark mode specific changes
*/

.dark-bg .fe_icon { display: none; }

.dark-bg .fe_icon--alt { display: block; }