diff --git a/kjg/django/mysite/polls/static/polls/images/background.gif b/kjg/django/mysite/polls/static/polls/images/background.gif new file mode 100644 index 0000000..928417e Binary files /dev/null and b/kjg/django/mysite/polls/static/polls/images/background.gif differ diff --git a/kjg/django/mysite/polls/static/polls/images/background2.png b/kjg/django/mysite/polls/static/polls/images/background2.png new file mode 100644 index 0000000..a22ed9e Binary files /dev/null and b/kjg/django/mysite/polls/static/polls/images/background2.png differ diff --git a/kjg/django/mysite/polls/static/polls/style.css b/kjg/django/mysite/polls/static/polls/style.css new file mode 100644 index 0000000..fa7d42e --- /dev/null +++ b/kjg/django/mysite/polls/static/polls/style.css @@ -0,0 +1,8 @@ +li a { + color: green; +} + +body { + #background-position: center center; + background: white url("images/background2.png") no-repeat fixed center center; +} diff --git a/kjg/django/mysite/polls/templates/polls/index.html b/kjg/django/mysite/polls/templates/polls/index.html index 4560139..366983e 100644 --- a/kjg/django/mysite/polls/templates/polls/index.html +++ b/kjg/django/mysite/polls/templates/polls/index.html @@ -1,3 +1,7 @@ +{% load static %} + + + {% if latest_question_list %}