diff options
| -rw-r--r-- | plugin_loader/loader.py | 4 | ||||
| -rw-r--r-- | plugin_loader/static/styles.css | 3 | ||||
| -rw-r--r-- | plugin_loader/templates/plugin_view.html | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/plugin_loader/loader.py b/plugin_loader/loader.py index 948e1e0f..1461d1d0 100644 --- a/plugin_loader/loader.py +++ b/plugin_loader/loader.py @@ -172,9 +172,7 @@ class Loader: ret = """ <html style="height: fit-content;"> <head> - <link rel="stylesheet" href="/steam_resource/css/2.css"> - <link rel="stylesheet" href="/steam_resource/css/39.css"> - <link rel="stylesheet" href="/steam_resource/css/library.css"> + <link rel="stylesheet" href="/static/styles.css"> <script src="/static/library.js"></script> <script>const plugin_name = '{name}';</script> </head> diff --git a/plugin_loader/static/styles.css b/plugin_loader/static/styles.css new file mode 100644 index 00000000..8d27a538 --- /dev/null +++ b/plugin_loader/static/styles.css @@ -0,0 +1,3 @@ +@import url("/steam_resource/css/2.css"); +@import url("/steam_resource/css/39.css"); +@import url("/steam_resource/css/library.css"); diff --git a/plugin_loader/templates/plugin_view.html b/plugin_loader/templates/plugin_view.html index 8b1e4793..6016a7ae 100644 --- a/plugin_loader/templates/plugin_view.html +++ b/plugin_loader/templates/plugin_view.html @@ -1,6 +1,4 @@ -<link rel="stylesheet" href="/steam_resource/css/2.css"> -<link rel="stylesheet" href="/steam_resource/css/39.css"> -<link rel="stylesheet" href="/steam_resource/css/library.css"> +<link rel="stylesheet" href="/static/styles.css"> <script> const tile_iframes = []; window.addEventListener("message", function (evt) { |
