Jump to content

Template:Percentage bar/styles.css: Difference between revisions

From The Republic Wiki
en>Jonesey95
fix text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value
 
Richard470l (talk | contribs)
m 1 revision imported: Add.
 
(No difference)

Latest revision as of 23:59, 12 October 2025

/* {{pp-protected|small=yes}} */
.percentage-bar {
	position: relative;
	border: 1px solid #aaa;
	background-color: #fff;
    color:inherit;
	width: 100px;
	max-width: 100%;
	height: 1.5em;
}

.percentage-bar-fill {
	position: absolute;
	background-color: #dbdbdb;
    color:inherit;
	height: 1.5em;
	width: 50%;
}

.percentage-bar-text {
	position: absolute;
	width: 100%;
	height: 1.5em;
	text-align: center;
	color: #000;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.