create a "plain" style with next to no CSS
This commit is contained in:
parent
06d948a709
commit
757b067e16
@ -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)
|
||||
|
8
incorporealcms/static/css/plain.css
Normal file
8
incorporealcms/static/css/plain.css
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
.img-25 {
|
||||
max-width: 25% !important;
|
||||
}
|
||||
|
||||
.img-50 {
|
||||
max-width: 50% !important;
|
||||
}
|
@ -22,6 +22,7 @@
|
||||
<div class="styles">
|
||||
<a href="?style=dark">[dark]</a>
|
||||
<a href="?style=light">[light]</a>
|
||||
<a href="?style=plain">[plain]</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user