From 05394a2be90a0fdf8c9ab571d07ed6c4a82ce89d Mon Sep 17 00:00:00 2001 From: Linnnus Date: Wed, 27 Mar 2024 14:04:01 +0100 Subject: Use proper BEM convention After reading up on BEM [1] and specifically how to handle deeply nested child elements [2] I made the changes in this patch. [1]: https://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/ [2]: https://scalablecss.com/bem-nesting-grandchild-elements/ --- static/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/base.css') diff --git a/static/base.css b/static/base.css index 65faad2..f9b1ae6 100644 --- a/static/base.css +++ b/static/base.css @@ -49,7 +49,7 @@ body { gap: 1.5em; } -.navbar__links__item { +.navbar__location { /* remove default link styling */ color: inherit; text-decoration: none; -- cgit v1.2.3