django tutorial #6 completed

This commit is contained in:
pedrolab 2020-07-20 03:18:49 +02:00
parent 0ac32ef62b
commit 751a1df517
3 changed files with 12 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View 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;
}

View File

@ -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 %}