From 2a62a920f3d5926457f0ddaf74e72a6d80fb3ab7 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 9 Feb 2026 10:38:28 +0100 Subject: cleanup center vs centering helpers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- links/main.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'links') diff --git a/links/main.css b/links/main.css index cf96f2a..ea1cf7f 100644 --- a/links/main.css +++ b/links/main.css @@ -350,11 +350,18 @@ ul.nobull li { height: calc(100vh - (var(--body-spacing) * 2) - var(--header-and-footer-max-height)); } -.center { +/* puts child item into center */ +.centering { display: grid; place-items: center; } +/* positions self in center */ +.center { + display: block; + margin: 0 auto; +} + .squish { display: flex; flex-flow: row wrap; -- cgit 1.4.1