Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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

Template page
Antonfr (talk | contribs)
No edit summary
Antonfr (talk | contribs)
No edit summary
Line 13: Line 13:
position: absolute;
position: absolute;
background-color: #dbdbdb;
background-color: #dbdbdb;
    color:inherit;
color: var(--color-base);
height: 1.5em;
height: 1.5em;
width: 50%;
width: 50%;

Revision as of 19:26, 10 June 2026

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

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

.percentage-bar-text {
	position: absolute;
	width: 100%;
	height: 1.5em;
	text-align: center;
	color: #000;
}