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.
64 lines
744 B
CSS
64 lines
744 B
CSS
3 years ago
|
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
}
|