diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-19 10:41:51 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-19 10:41:51 +0100 |
| commit | 41a42b051e1c8f9f5bcc6ec749b6d60c8b4ff7fd (patch) | |
| tree | dccd59912c9cfbc4c936405c2bc5bdc9ac7a05dc /public/css/modules/news-index.css | |
| parent | ba389e0b558d27d9d2e30c9f9f681e50d03309bd (diff) | |
Improves block spacing
Diffstat (limited to 'public/css/modules/news-index.css')
| -rw-r--r-- | public/css/modules/news-index.css | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/public/css/modules/news-index.css b/public/css/modules/news-index.css index 721d106..0f12380 100644 --- a/public/css/modules/news-index.css +++ b/public/css/modules/news-index.css @@ -1,26 +1,11 @@ -.news-index { - display: flex; - flex-direction: column; - gap: var(--spacing-block-lg); -} - .news-index__item { display: block; transition: background 100ms; - padding-block: var(--spacing-block-md); + padding-block: var(--margin-block-md); padding-inline: var(--spacing-inline-sm); - margin-block: var(--spacing-block-sm); } .news-index__item:hover { background: var(--background-highlight-color); transition-duration: 300ms; } - -.news-index__item :first-child { - margin-block-start: 0; -} - -.news-index__item :last-child { - margin-block-end: 0; -}
\ No newline at end of file |
