Template: Round button/styles.css
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
.tpl-round-button { | .tpl-round-button { | ||
display: inline-block; | display: inline-block; | ||
width: 54px; | |||
height: 54px; | |||
margin-right: 0.5em; | |||
margin-bottom: 0.5em; | |||
} | } | ||
Line 6: | Line 10: | ||
border-radius: 50%; | border-radius: 50%; | ||
color: #ffffff; | color: #ffffff; | ||
padding: 12px; | padding: 12px; | ||
text-align: center; | text-align: center; | ||
background-color: #53946b; | background-color: #53946b; | ||
display: flex; | |||
align-items: center; | align-items: center; | ||
justify-content: space-evenly; | justify-content: space-evenly; |
Revision as of 09:11, 21 July 2021
.tpl-round-button {
display: inline-block;
width: 54px;
height: 54px;
margin-right: 0.5em;
margin-bottom: 0.5em;
}
.tpl-round-button a {
border-radius: 50%;
color: #ffffff;
padding: 12px;
text-align: center;
background-color: #53946b;
display: flex;
align-items: center;
justify-content: space-evenly;
}
.tpl-round-button-large a {
width: 68px;
height: 68px;
padding: 15px;
}
.tpl-round-button-large a:hover {
text-decoration: none;
opacity: 0.8;
}