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 <noreply@anthropic.com>
This commit is contained in:
+1
-15
@@ -1,18 +1,4 @@
|
|||||||
/* ========================================================================
|
/* OPENBUREAU — Flarum custom styles. Schriften via Custom Header laden. */
|
||||||
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):
|
|
||||||
<link rel="preconnect" href="https://fonts.bunny.net">
|
|
||||||
<link rel="stylesheet" href="https://fonts.bunny.net/css?family=newsreader:400,400i,500,500i,600,600i|ibm-plex-mono:400,500|space-grotesk:400,500,700|inter:400,500,600">
|
|
||||||
|
|
||||||
2) Flarum-Admin → Appearance → "Custom Styles":
|
|
||||||
→ diesen ganzen Inhalt hier reinkopieren (ab :root unten)
|
|
||||||
|
|
||||||
Live-Quelle dieser Datei: openbureau.ch/flarum.css
|
|
||||||
======================================================================== */
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--ob-bg: hsl(35, 14%, 96%);
|
--ob-bg: hsl(35, 14%, 96%);
|
||||||
|
|||||||
Reference in New Issue
Block a user