2020-02-20 08:38:32 +11:00
|
|
|
.grid {
|
2020-08-26 12:10:24 +02:00
|
|
|
display: grid;
|
|
|
|
grid-column-gap: 4rem;
|
|
|
|
grid-row-gap: 10rem;
|
|
|
|
grid-template-columns: repeat(4, [col] 1fr [col]);
|
|
|
|
grid-template-rows: fit-content, fit-content, auto;
|
2020-02-20 08:38:32 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
.auto-grid {
|
2020-08-26 12:10:24 +02:00
|
|
|
display: grid;
|
|
|
|
grid-gap: var(--l-gap);
|
|
|
|
grid-template-columns: repeat(
|
|
|
|
auto-fit,
|
|
|
|
minmax(var(--auto-grid-min-size), 1fr)
|
|
|
|
);
|
2020-02-20 08:38:32 +11:00
|
|
|
}
|
|
|
|
|
2020-05-12 04:00:32 +05:30
|
|
|
@media screen and (max-width: 880px) {
|
2020-08-26 12:10:24 +02:00
|
|
|
.auto-grid {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2020-05-12 04:00:32 +05:30
|
|
|
}
|
|
|
|
|
2020-02-20 08:38:32 +11:00
|
|
|
.small-left-grid {
|
2020-08-26 12:10:24 +02:00
|
|
|
display: grid;
|
|
|
|
grid-gap: 1rem;
|
2020-02-20 08:38:32 +11:00
|
|
|
|
2020-08-26 12:10:24 +02:00
|
|
|
@media (min-width: #{pxToRem(800)}) {
|
|
|
|
grid-template-columns: 10rem 60ch;
|
|
|
|
}
|
2020-02-20 08:38:32 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
.block__dictionary {
|
2020-08-26 12:10:24 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 50rem;
|
|
|
|
padding: 0 1rem;
|
2020-02-20 08:38:32 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
.block__word {
|
2020-08-26 12:10:24 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
grid-column: span 2;
|
|
|
|
margin: 1rem;
|
2020-02-20 08:38:32 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
.block__type {
|
2020-08-26 12:10:24 +02:00
|
|
|
align-items: flex-start;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 4fr;
|
2020-02-20 08:38:32 +11:00
|
|
|
}
|
|
|
|
|
2020-05-28 21:18:01 -07:00
|
|
|
.list {
|
2020-08-26 12:10:24 +02:00
|
|
|
margin: 1rem 0;
|
|
|
|
li {
|
|
|
|
margin: 0.75rem 0;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2020-05-28 04:01:04 -04:00
|
|
|
}
|