diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-12 17:34:26 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-12 17:34:26 +0100 |
| commit | bb5feb14b9ee8fd36653cc624d038052965bf4d2 (patch) | |
| tree | 24eca7f8e4a40442685e61fce30ecc3c24b653da /scss | |
| parent | 64c8ae31ff131e9d1071abeda55a1c1cb2bf5125 (diff) | |
feat(tag): collaspable
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/main.scss | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/scss/main.scss b/scss/main.scss index 4e2e904..b24b490 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -107,6 +107,10 @@ h3 { font-size: 1.5rem; } +h4 { + font-size: 1.25rem; +} + .presentation { position: relative; display: flex; @@ -194,6 +198,32 @@ h3 { } } +.tags { + display: grid; + grid-template-columns: 1fr 1fr; + margin-top: 1rem; + column-gap: 2rem; + row-gap: 1rem; + & h4 { + //text-align: center; + } + & p { + display: none; + } +} + +.tag { + cursor: pointer; + &.active { + & h4 { + margin-bottom: 0.5rem; + } + & p { + display: block; + } + } +} + .credits-legal { width: 70%; } |
