diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-20 08:05:59 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-20 08:05:59 +0100 |
| commit | 78cbbc5b75822614f5ba5fabc68a8c0f39c4cb28 (patch) | |
| tree | a9710b20d40c8eb203e0f3e5b61025412ef36a37 | |
| parent | 869976b711d862581d1d99bf884dd166b1ecdf3b (diff) | |
Better news index styling
| -rw-r--r-- | public/css/modules/news-index.css | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/public/css/modules/news-index.css b/public/css/modules/news-index.css index 0f12380..891f0de 100644 --- a/public/css/modules/news-index.css +++ b/public/css/modules/news-index.css @@ -1,8 +1,14 @@ .news-index__item { display: block; + box-sizing: border-box; + border: 2px solid var(--text-color); transition: background 100ms; padding-block: var(--margin-block-md); - padding-inline: var(--spacing-inline-sm); + padding-inline: var(--padding-inline-sm); +} + +.news-index__item:not(:first-child) { + border-top-width: 0; } .news-index__item:hover { |
