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)
Created page with "{{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; }"
 
Antonfr (talk | contribs)
No edit summary
Line 3: Line 3:
position: relative;
position: relative;
border: 1px solid #aaa;
border: 1px solid #aaa;
background-color: #fff;
background-color: var(--color-surface-1);
    color:inherit;
color: var(--color-base);
width: 100px;
width: 100px;
max-width: 100%;
max-width: 100%;

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:inherit;
	height: 1.5em;
	width: 50%;
}

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