add support for css variants
This commit is contained in:
parent
56c087b455
commit
56fd7755ef
|
@ -7,6 +7,9 @@
|
|||
<script type="text/javascript" src="/qo/js/jquery.js"></script>
|
||||
[script]
|
||||
<link rel="stylesheet" type="text/css" href="[css]"/>
|
||||
[if-any css_variant]
|
||||
<link rel="stylesheet" type"text/css" href="[theme_url]/static/custom-[css_variant]/style.css"/>
|
||||
[end]
|
||||
["<!--[if lt IE 10]>"]<style>
|
||||
div#services > ul > li { width: 48%; float: left; height: 18em; }
|
||||
div#centre { padding-top: 45px; margin-top: 0px; }
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
<script type="text/javascript" src="/qo/js/jquery.js"></script>
|
||||
<link rel="shortcut icon" href="{% static "fabicon.ico" %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static "style.css" %}" >
|
||||
{% if css_variant %}
|
||||
<link rel="stylesheet" type="text/css" href="{% static "" %}custom-{{css_variant}}/style.css" >
|
||||
{% endif %}
|
||||
{% block extra_css %}
|
||||
{% endblock %}
|
||||
{% block extra_scripts %}
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
<script type="text/javascript" src="/qo/js/jquery.js"></script>
|
||||
<link rel="shortcut icon" href="{% static "fabicon.ico" %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static "style.css" %}" >
|
||||
{% if css_variant %}
|
||||
<link rel="stylesheet" type="text/css" href="{% static "" %}custom-{{css_variant}}/style.css" >
|
||||
{% endif %}
|
||||
{% block extra_css %}
|
||||
{% endblock %}
|
||||
{% render_block "css" %}
|
||||
|
|
Reference in New Issue