Template: Four-buttons/styles.css
No edit summary |
m (1 revision imported) |
(No difference)
|
Latest revision as of 18:10, 24 December 2023
.tpl-four-buttons {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.tpl-four-buttons a {
width: 22%;
background-color: #eee;
text-align: center;
color: inherit;
border-radius: 3px;
padding: 0.5em;
border: 1px solid #eee;
margin-bottom: 1em;
}
@media ( max-width: 600px ) {
.tpl-four-buttons a {
width: 43%;
}
}
.tpl-four-buttons a:hover {
text-decoration: none;
border-color: green;
}
.tpl-four-buttons-desc:after {
display: block;
font-size: 4em;
content: "→";
line-height: 0.7em;
}
.tpl-four-buttons a:hover .tpl-four-buttons-desc:after {
color: green;
}
.tpl-four-buttons-title {
font-size: 110%;
font-weight: bolder;
display: block;
}