diff --git a/faerun_calendar/static/faerun_calendar/css/main.css b/faerun_calendar/static/faerun_calendar/css/main.css new file mode 100644 index 0000000..9e58cbc --- /dev/null +++ b/faerun_calendar/static/faerun_calendar/css/main.css @@ -0,0 +1,36 @@ +h1 { + text-align: center; +} + +table.month, table.month th, table.month td { + border: 1px solid white; + border-collapse: collapse; + padding: 5px; + background: gainsboro; +} + +table.month th { + text-align: center; +} + +table.month td { + text-align: right; +} + +table.month td.current { + background: dimgrey; + color: white; +} + +table.month th.subtitle { + font-style: italic; + font-weight: normal; +} + +table.month { + margin: 10px; + float: left; + width: 300px; + max-width: 300px; + border-radius: 10px; +} diff --git a/faerun_calendar/templates/faerun_calendar/index.html b/faerun_calendar/templates/faerun_calendar/index.html index b977875..21aa548 100644 --- a/faerun_calendar/templates/faerun_calendar/index.html +++ b/faerun_calendar/templates/faerun_calendar/index.html @@ -1,23 +1,16 @@ +{% load static %} +
| {{title}} | +{{title}} | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{subtitle}} | -{{subtitle}} | {% endif %} {% if oneday != 1 %}||||||||||||||||||
| 16 | 17 | 18 | + {% if title == "Миртул" %} +19 | + {% else %}19 | + {% endif %} +20 | ||||||||||||||