diff --git a/coinmanager/coinc/static/coinc/styles.css b/coinmanager/coinc/static/coinc/styles.css new file mode 100644 index 0000000..58901c1 --- /dev/null +++ b/coinmanager/coinc/static/coinc/styles.css @@ -0,0 +1,56 @@ +/* encoding: utf-8 + + Copyright (C) 2020 willipink.eu + Author Moritz Münch moritzmuench@mailbox.org + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +*/ + + + +body { + margin: 10px; + border: 0px; + padding: 0px; + font-family: Open Sans; +} + +a, a:visited, a:active { + text-decoration: none; + color: black; +} + +table { + margin: 0px 0px 30px 0px; + border: 0px; + padding: 0px; + border-collapse: collapse; + width: 500px; +} + +table td { padding: 5px; } + +table > thead > tr > td { + border-bottom: 2px solid black; + background-color: #9fc5e8; + font-weight: bold; +} + +table > tbody > tr > td { + border: 1px solid black; +} + +table > tbody > tr:nth-of-type(odd) { background: white; } +table > tbody > tr:nth-of-type(even) { background: lightblue; } diff --git a/coinmanager/coinc/templates/coinc/index.html b/coinmanager/coinc/templates/coinc/index.html index 765a9d3..4e76dfa 100644 --- a/coinmanager/coinc/templates/coinc/index.html +++ b/coinmanager/coinc/templates/coinc/index.html @@ -21,7 +21,8 @@ - Münzsammlung + Münzsammlung {% load static %} + {% if countrys %} {% for country in countrys %} {% show_country country %} {% endfor %} {% else %}