diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-17 18:37:38 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-17 18:37:38 +0200 |
| commit | 7d9f874364ec6e255e62eb3027011bfed267904c (patch) | |
| tree | 711e3ce9fba99abdff89016f15b9bc763d61f03f /src/components/atoms/headings/heading.module.scss | |
| parent | 9a186b357b32325cf77fdce39a6c6c9aff76d8a5 (diff) | |
chore: adjust articles styles
* change animation on article card hover
* change comments section alignment
Diffstat (limited to 'src/components/atoms/headings/heading.module.scss')
| -rw-r--r-- | src/components/atoms/headings/heading.module.scss | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/components/atoms/headings/heading.module.scss b/src/components/atoms/headings/heading.module.scss index 8620f6f..a420bc1 100644 --- a/src/components/atoms/headings/heading.module.scss +++ b/src/components/atoms/headings/heading.module.scss @@ -6,11 +6,23 @@ letter-spacing: 0.01ex; &--regular { - margin: 0; + margin-bottom: 0; + margin-top: 0; + } + + &--left { + text-align: left; + } + + &--center { + width: fit-content; + margin-left: auto; + margin-right: auto; } &--margin { - margin: 0 0 var(--spacing-sm); + margin-top: 0; + margin-bottom: var(--spacing-sm); & + & { margin-top: var(--spacing-md); |
