Template:Progress ring/ProgressRing.css

From Portals of Phereon Wiki
Revision as of 04:43, 19 January 2021 by Kozd (talk | contribs) (Kozd changed the content model of the page Template:Progress ring/ProgressRing.css from "CSS" to "Sanitized CSS": back to template style)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.progress-ring {
	position: relative;
	border-radius: 50%;
}

.progress-ring .circle .mask,
.progress-ring .circle .fill,
.progress-ring .circle .shadow {
	width: 100%;
	height: 100%;
	position: absolute;
	border-radius: 50%;
}

.progress-ring .inset {
	position: absolute;
	border-radius: 50%;
}

.progress-ring .inset .percentage {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

.progress-ring .inset .percentage .numbers span {
	font-weight: 800;
}