More css tweaks

This commit is contained in:
Pieter Vander Vennet 2020-11-14 03:26:09 +01:00
parent 3fdb84e481
commit c86f4e4aff
10 changed files with 36 additions and 25 deletions

View file

@ -5,6 +5,7 @@ import {QueryParameters} from "./Logic/Web/QueryParameters";
import {UIEventSource} from "./Logic/UIEventSource";
import * as $ from "jquery";
import LayoutConfig from "./Customizations/JSON/LayoutConfig";
import {Utils} from "./Utils";
let defaultLayout = "bookcases"
// --------------------- Special actions based on the parameters -----------------
@ -29,6 +30,10 @@ if(location.href.indexOf("pietervdvn.github.io") >= 0){
defaultLayout = "bookcases"
}
const customCssQP = QueryParameters.GetQueryParameter("custom-css", "", "If specified, the custom css from the given link will be loaded additionaly");
if(customCssQP.data !== undefined && customCssQP.data !== ""){
Utils.LoadCustomCss(customCssQP.data);
}
let testing: UIEventSource<string>;