Template: Round button/styles.css
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
margin-right: 0.5em; | margin-right: 0.5em; | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
} | } | ||
Line 15: | Line 14: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: space-evenly; | |||
width: 100%; | |||
height: 100%; | |||
padding: 12px; | |||
} | } | ||
Line 21: | Line 23: | ||
width: 68px; | width: 68px; | ||
height: 68px; | height: 68px; | ||
} | |||
.tpl-round-button-large a { | |||
padding: 15px; | padding: 15px; | ||
} | } |
Revision as of 09:19, 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;
text-align: center;
background-color: #53946b;
display: flex;
align-items: center;
justify-content: space-evenly;
width: 100%;
height: 100%;
padding: 12px;
}
.tpl-round-button-large {
width: 68px;
height: 68px;
}
.tpl-round-button-large a {
padding: 15px;
}
.tpl-round-button-large a:hover {
text-decoration: none;
opacity: 0.8;
}