Fix names and add scss for work page

pull/48/merge
Nicholas Antonov 2017-12-07 16:55:16 -05:00
parent 893d8abc4a
commit 7438b5c217
5 changed files with 9 additions and 4 deletions

View File

@ -11,7 +11,7 @@
<link REL="SHORTCUT ICON" HREF="/static/images/favicon.ico">
{% block extra_css %}{% endblock %}
<link href="{% sass_src 'scss/test.scss' %}" rel="stylesheet" type="text/css" />
<link href="{% sass_src 'scss/global.scss' %}" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{{ jquery_home }}"></script>
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
<script type="text/javascript" src="/static/js/sitewide1.js"></script>

View File

@ -4,6 +4,7 @@
{% load humanize %}
{% load purchased %}
{% load lib_acqs %}
{% load sass_tags %}
{% block title %}&#151;
{% if work.is_free %}
{{ work.title }} is a Free eBook. {% for fmt in work.formats %}[{{ fmt }}]{% endfor %}
@ -18,6 +19,7 @@
<link rel="stylesheet" href="/static/css/ui-lightness/jquery-ui-1.8.16.custom.css" type="text/css" media="screen">
{{ kwform.media.css }}
{% endif %}
<link href="{% sass_src 'scss/bookview.scss' %}" rel="stylesheet" type="text/css" />
{% endblock %}
{% block extra_js %}

View File

@ -0,0 +1,3 @@
* {
color: pink !important;
}

3
static/scss/global.scss Normal file
View File

@ -0,0 +1,3 @@
* {
color: red ;
}

View File

@ -1,3 +0,0 @@
* {
color: red !important;
}