django tutorial #6 completed
This commit is contained in:
parent
0ac32ef62b
commit
751a1df517
3 changed files with 12 additions and 0 deletions
Binary file not shown.
After Width: | Height: | Size: 81 KiB |
10
pedro/django-tutorial/mysite/polls/static/polls/style.css
Normal file
10
pedro/django-tutorial/mysite/polls/static/polls/style.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
li a {
|
||||
color: green;
|
||||
}
|
||||
|
||||
body {
|
||||
/* thanks: https://stackoverflow.com/questions/12605908/change-background-image-opacity/40366996#40366996 */
|
||||
background-image: url("images/background.gif");
|
||||
background-color: rgba(255,255,255,0.6);
|
||||
background-blend-mode: lighten;
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
{% load static %}
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}">
|
||||
{% if latest_question_list %}
|
||||
<ul>
|
||||
{% for question in latest_question_list %}
|
||||
|
|
Loading…
Add table
Reference in a new issue