From ead3bbc58d066bc920ba4eac8595830e660e09bd Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Wed, 30 Sep 2026 16:20:40 +0200 Subject: [PATCH] chore: migrate js to css can be done with modern css without js --- assets/css/style.css | 6 +++++- assets/js/header.js | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index c81befb8..f1a78a7b 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -491,4 +491,8 @@ i.fab { } #displayMode ul.pickMode li:hover { background: light-dark(#dbdbcd, #25250a); -} \ No newline at end of file +} + +section ul li::before { + content: '» '; +} diff --git a/assets/js/header.js b/assets/js/header.js index 35b7996d..13dd592a 100644 --- a/assets/js/header.js +++ b/assets/js/header.js @@ -9,7 +9,6 @@ $(document).ready(function() { // $("a[href^='#']").click(function(e){e.preventDefault(); $('body').scrollTo($(this).attr('href'),1000, {offset:-20}); }); - $('section ul li').prepend("» "); // Mode picker setDisplayModeIcon(getDisplayMode());