aboutsummaryrefslogtreecommitdiff
path: root/scss/tag.scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss/tag.scss')
-rw-r--r--scss/tag.scss17
1 files changed, 10 insertions, 7 deletions
diff --git a/scss/tag.scss b/scss/tag.scss
index 02539fa..3b1376c 100644
--- a/scss/tag.scss
+++ b/scss/tag.scss
@@ -16,21 +16,18 @@
}
}
& p {
- display: none;
- @media only screen and (max-width: vars.$bp-little) {
- display: block;
- }
+ display: block;
+ margin-top: 0.5rem;
}
}
.tag {
cursor: pointer;
+ padding: 0.5rem;
+ border-radius: 16px;
@media only screen and (max-width: vars.$bp-little) {
cursor: auto;
}
- & h4:hover {
- text-decoration: underline;
- }
&.active {
& h4 {
margin-bottom: 0.5rem;
@@ -39,4 +36,10 @@
display: block;
}
}
+ &:hover {
+ background: var(--tag-hover);
+ & h4 {
+ font-weight: bold;
+ }
+ }
}