Browse Source

Terminada parte 6

politica
Celestino Rey 1 year ago
parent
commit
99426c6f8a
3 changed files with 12 additions and 0 deletions
  1. BIN
      Django/mysite/polls/static/polls/images/background.jpeg
  2. +8
    -0
      Django/mysite/polls/static/polls/style.css
  3. +4
    -0
      Django/mysite/polls/templates/polls/index.html

BIN
Django/mysite/polls/static/polls/images/background.jpeg View File

Before After
Width: 6000  |  Height: 4000  |  Size: 5.3 MiB

+ 8
- 0
Django/mysite/polls/static/polls/style.css View File

@ -0,0 +1,8 @@
li a {
color: green;
}
body {
background: white url("images/background.jpeg") no-repeat;
background-size: 50% 50%;
}

+ 4
- 0
Django/mysite/polls/templates/polls/index.html View File

@ -1,3 +1,7 @@
{% load static %}
<link rel="stylesheet" href="{% static 'polls/style.css' %}">
{% if latest_question_list %}
<ul>
{% for question in latest_question_list %}


Loading…
Cancel
Save