diff --git a/Django/mysite/polls/static/polls/images/background.jpeg b/Django/mysite/polls/static/polls/images/background.jpeg new file mode 100644 index 0000000..a500a1c Binary files /dev/null and b/Django/mysite/polls/static/polls/images/background.jpeg differ diff --git a/Django/mysite/polls/static/polls/style.css b/Django/mysite/polls/static/polls/style.css new file mode 100644 index 0000000..7693ee6 --- /dev/null +++ b/Django/mysite/polls/static/polls/style.css @@ -0,0 +1,8 @@ +li a { + color: green; +} + +body { + background: white url("images/background.jpeg") no-repeat; + background-size: 50% 50%; +} \ No newline at end of file diff --git a/Django/mysite/polls/templates/polls/index.html b/Django/mysite/polls/templates/polls/index.html index cc41400..04410ae 100644 --- a/Django/mysite/polls/templates/polls/index.html +++ b/Django/mysite/polls/templates/polls/index.html @@ -1,3 +1,7 @@ +{% load static %} + + + {% if latest_question_list %}