blob: 02539faef14023457f05f18ada886a09d314c668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
@use "vars";
.tags {
display: grid;
grid-template-columns: 1fr 1fr;
margin-top: 1rem;
column-gap: 2rem;
row-gap: 1rem;
@media only screen and (max-width: vars.$bp-little) {
grid-template-columns: 1fr;
row-gap: 2rem;
}
& h4 {
@media only screen and (max-width: vars.$bp-little) {
margin-bottom: 0.5rem;
}
}
& p {
display: none;
@media only screen and (max-width: vars.$bp-little) {
display: block;
}
}
}
.tag {
cursor: pointer;
@media only screen and (max-width: vars.$bp-little) {
cursor: auto;
}
& h4:hover {
text-decoration: underline;
}
&.active {
& h4 {
margin-bottom: 0.5rem;
}
& p {
display: block;
}
}
}
|