Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 757b067e16 | |||
| 06d948a709 |
@@ -34,6 +34,7 @@ def render(template_name_or_list, **context):
|
|||||||
PAGE_STYLES = {
|
PAGE_STYLES = {
|
||||||
'dark': 'css/dark.css',
|
'dark': 'css/dark.css',
|
||||||
'light': 'css/light.css',
|
'light': 'css/light.css',
|
||||||
|
'plain': 'css/plain.css',
|
||||||
}
|
}
|
||||||
|
|
||||||
selected_style = request.args.get('style', None)
|
selected_style = request.args.get('style', None)
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
@import '/static/css/base.css';
|
||||||
|
|
||||||
html {
|
html {
|
||||||
color: #CCC;
|
color: #CCC;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
@import '/static/css/base.css';
|
||||||
|
|
||||||
html {
|
html {
|
||||||
color: #222;
|
color: #222;
|
||||||
}
|
}
|
||||||
|
|||||||
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;
|
||||||
|
}
|
||||||
@@ -7,7 +7,6 @@
|
|||||||
<meta property="og:url" content="{{ base_url }}">
|
<meta property="og:url" content="{{ base_url }}">
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename=user_style) }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename=user_style) }}">
|
||||||
<link rel="icon" href="{% if config.FAVICON %}{{ config.FAVICON }}{% else %}{{ url_for('static', filename='img/favicon.png') }}{% endif %}">
|
<link rel="icon" href="{% if config.FAVICON %}{{ config.FAVICON }}{% else %}{{ url_for('static', filename='img/favicon.png') }}{% endif %}">
|
||||||
|
|
||||||
@@ -23,6 +22,7 @@
|
|||||||
<div class="styles">
|
<div class="styles">
|
||||||
<a href="?style=dark">[dark]</a>
|
<a href="?style=dark">[dark]</a>
|
||||||
<a href="?style=light">[light]</a>
|
<a href="?style=light">[light]</a>
|
||||||
|
<a href="?style=plain">[plain]</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user