Template:Button/style.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 8: Line 8:
     font-weight: bold;
     font-weight: bold;
     cursor: pointer;
     cursor: pointer;
}
}


Line 20: Line 21:
/*available colors*/
/*available colors*/
.tpl-button-red {
.tpl-button-red {
     background-color: #ff0000;
     background-color:#b50014;
     color: #ffffff;
     color: #ffffff;
}
}

Revision as of 12:21, 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;
}

.tpl-button:hover{
	filter: contrast(1.2);
}

/*available colors*/
.tpl-button-red {
    background-color:#b50014;
    color: #ffffff;
}

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

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

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

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