From f49d344927c5d4ea067104833c4ac1074bec6263 Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Sun, 28 Sep 2025 21:12:02 +0300 Subject: Improve css --- style.css | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/style.css b/style.css index 70e92e2..bee5b8c 100644 --- a/style.css +++ b/style.css @@ -60,9 +60,9 @@ nav > * { text-decoration: none; text-align: center; + text-wrap: nowrap; overflow: hidden; text-overflow: ellipsis; - white-space: nowrap; } nav > .current { @@ -91,6 +91,11 @@ footer > :last-child { margin-bottom: 0; } +ul { + list-style: none; + padding-left: 0; +} + a, .copy { color: var(--color-primary); @@ -101,22 +106,21 @@ a, color: var(--color-secondary); } -ul { - list-style: none; - padding-left: 0; -} - .links { display: flex; + flex-wrap: wrap; gap: 1rem; + + margin-top: 1rem; } .links > a { flex: 1; + text-decoration: none; text-align: center; - margin-top: 1rem; - padding: 0.25rem; + text-wrap: nowrap; + padding: 0.25rem 1rem; border: 0.1rem solid var(--color-primary); border-radius: 1rem; -- cgit v1.2.3