From 5a17cfc408733c277b82493f6d3543b2e824b84a Mon Sep 17 00:00:00 2001 From: karim Date: Sat, 23 May 2026 20:48:33 +0200 Subject: [PATCH] flarum.css: strip the literal '@import' word from header comment Flarum's LESS parser scans the raw source for the strings '@import' and 'data-uri' as a security check, even inside /* ... */ comments, so the documentation comment itself was tripping the guard. Replaced with a minimal one-liner; full instructions stay in README/chat. Co-Authored-By: Claude Opus 4.7 --- static/flarum.css | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/static/flarum.css b/static/flarum.css index a894347..1e9288f 100644 --- a/static/flarum.css +++ b/static/flarum.css @@ -1,18 +1,4 @@ -/* ======================================================================== - OPENBUREAU — Flarum custom styles - Spiegelt die Typografie und Farben von openbureau.ch ins Forum. - - ZWEI-SCHRITT-SETUP (Flarum erlaubt kein @import in Custom Styles): - - 1) Flarum-Admin → Appearance → "Custom Header" (HTML-Feld): - - - - 2) Flarum-Admin → Appearance → "Custom Styles": - → diesen ganzen Inhalt hier reinkopieren (ab :root unten) - - Live-Quelle dieser Datei: openbureau.ch/flarum.css - ======================================================================== */ +/* OPENBUREAU — Flarum custom styles. Schriften via Custom Header laden. */ :root { --ob-bg: hsl(35, 14%, 96%);