Closed Matt5K closed 2 years ago
I created a webhook for this repository already calling "https://5knoten.de/assets/webhook_custom_css.php" (see "Settings" -> "Webhooks").
This file now has to be created. It could have the content of the example above with changes for the paths and the git account.
Probably better use https://5knoten.de/uploads/webhook_custom_css.php as URL.
Changed Webhook-URL to https://5knoten.de/uploads/webhook_custom_css.php
Done
To centralize general shoreditch CSS fixes the @import feature of CSS could be used (https://www.w3schools.com/cssref/pr_import_rule.asp). Via @import it is possible to load CSS rules into a CSS file from a web ressource.
Example:
@import url("https://5knoten.de/assets/custom_shoreditch.css"); /* Using a url */
Todo:
For manual CSS updates
To auto update CSS changes
@import url("https://5knoten.de/assets/custom_shoreditch.css");
at the first line --- remove any general CCS rules