You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
766 B
CSS
66 lines
766 B
CSS
|
|
|
|
main {
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.list {
|
|
padding: 0;
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
|
|
gap: 16px;
|
|
}
|
|
|
|
.card {
|
|
/* transform: skew(14deg); */
|
|
aspect-ratio: 1;
|
|
border: 1px solid currentColor;
|
|
padding: 32px;
|
|
font-stretch: 50%;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
font-size: 32px;
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
}
|
|
|
|
.card:hover {
|
|
background-color: grey;
|
|
}
|
|
|
|
.card > * {
|
|
/* transform: skew(-28deg); */
|
|
}
|
|
|
|
.card svg {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
header {
|
|
display: block;
|
|
font-size: 28px;
|
|
}
|
|
|
|
header .title {
|
|
display: inline;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.search {
|
|
margin-top: 16px;
|
|
display: block;
|
|
}
|
|
|
|
.search input {
|
|
font-size: 28px;
|
|
}
|
|
}
|