From 757b067e16b1b1d20c763419f8fc18aebb019053 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Tue, 9 Mar 2021 09:10:33 -0600 Subject: [PATCH] create a "plain" style with next to no CSS --- incorporealcms/lib.py | 1 + incorporealcms/static/css/plain.css | 8 ++++++++ incorporealcms/templates/base.html | 1 + 3 files changed, 10 insertions(+) create mode 100644 incorporealcms/static/css/plain.css diff --git a/incorporealcms/lib.py b/incorporealcms/lib.py index 711c042..5973e1f 100644 --- a/incorporealcms/lib.py +++ b/incorporealcms/lib.py @@ -34,6 +34,7 @@ def render(template_name_or_list, **context): PAGE_STYLES = { 'dark': 'css/dark.css', 'light': 'css/light.css', + 'plain': 'css/plain.css', } selected_style = request.args.get('style', None) diff --git a/incorporealcms/static/css/plain.css b/incorporealcms/static/css/plain.css new file mode 100644 index 0000000..264e44a --- /dev/null +++ b/incorporealcms/static/css/plain.css @@ -0,0 +1,8 @@ + +.img-25 { + max-width: 25% !important; +} + +.img-50 { + max-width: 50% !important; +} diff --git a/incorporealcms/templates/base.html b/incorporealcms/templates/base.html index 3146cb9..0d71a44 100644 --- a/incorporealcms/templates/base.html +++ b/incorporealcms/templates/base.html @@ -22,6 +22,7 @@
[dark] [light] + [plain]
{% endblock %}