More languages
More actions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
.tpl-button { | .tpl-button { | ||
display: inline-block; | display: inline-block; | ||
padding: 10px | padding: 10px; | ||
text-align: center; | text-align: center; | ||
border-radius: 8px; | |||
border-radius: | |||
font-weight: bold; | font-weight: bold; | ||
cursor: pointer; | cursor: pointer; | ||
line-height:0; | |||
} | } | ||
Revision as of 12:49, 21 September 2023
/* Button.css */
.tpl-button {
display: inline-block;
padding: 10px;
text-align: center;
border-radius: 8px;
font-weight: bold;
cursor: pointer;
line-height:0;
}
.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,.tpl-button-blue > p > a{
color:#fff;
}
.tpl-button-green > p > a,.tpl-button-yellow > p > a{
color:#333;
}
.tpl-button-blue {
background-color: #143fbf;
}
.tpl-button-green {
background-color: #52CF44;
}
.tpl-button-yellow {
background-color: #FFDA1F;
}
.tpl-button:hover{ /*colors other than red, which we use for Citizen, are automatically recalculated on a filter value*/
filter:brightness(110%) saturate(100%);
}