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

Template:Button/style.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 18: Line 18:
.tpl-button-red {
.tpl-button-red {
     background-color:#b50014; /* taken from Citizen.css : --color-red-3*/
     background-color:#b50014; /* taken from Citizen.css : --color-red-3*/
    color: #ffffff;
}
}


Line 31: Line 30:
.tpl-button-blue {
.tpl-button-blue {
     background-color: #0000ff;
     background-color: #0000ff;
    color: #ffffff;
}
}


.tpl-button-green {
.tpl-button-green {
     background-color: #00ff00;
     background-color: #00ff00;
    color: #000000;
}
}


.tpl-button-yellow {
.tpl-button-yellow {
     background-color: #ffff00;
     background-color: #ffff00;
    color: #000000;
}
 
.tpl-button:hover{ /*colors other than red, which we use for Citizen, are automatically recalculated on a filter value*/
filter:brightness(110%) saturate(80%);
}
}

Revision as of 12:32, 21 September 2023

/* Button.css */
.tpl-button {
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
 
}

.tpl-button > p > a{
	text-decoration:none;
}

/*available colors*/
.tpl-button-red {
    background-color:#b50014; /* taken from Citizen.css : --color-red-3*/
}

.tpl-button-red:hover{
	background-color:#c33242; /* --color-red-light-3 */
}

.tpl-button-red > p > a{
	color:#fff;
}

.tpl-button-blue {
    background-color: #0000ff;
}

.tpl-button-green {
    background-color: #00ff00;
}

.tpl-button-yellow {
    background-color: #ffff00;
}

.tpl-button:hover{ /*colors other than red, which we use for Citizen, are automatically recalculated on a filter value*/
	filter:brightness(110%) saturate(80%);
}