diff --git a/src/data/templates/gramps-base.html b/src/data/templates/gramps-base.html index 5a1d9ab3a..49a1a8df5 100644 --- a/src/data/templates/gramps-base.html +++ b/src/data/templates/gramps-base.html @@ -13,7 +13,6 @@ {% block css %} - @@ -25,6 +24,9 @@ table td { vertical-align: middle; } + div.content { + background: none; + } .content { padding: 0px 0px 10px; } @@ -53,7 +55,157 @@ color: brown; } {% endif %} -
diff --git a/src/webapp/utils.py b/src/webapp/utils.py index 98385de67..6b4319c28 100644 --- a/src/webapp/utils.py +++ b/src/webapp/utils.py @@ -205,7 +205,7 @@ class Table(object): self.doc = Doc(HtmlDoc.HtmlDoc(make_basic_stylesheet(Table={"set_width":95}), None)) self.doc.doc._backend = HtmlBackend() # You can set elements id, class, etc: - self.doc.doc.htmllist += [Html('div', class_="content", id="Gallery", style="overflow: auto; height:150px; background-color: #261803;")] + self.doc.doc.htmllist += [Html('div', class_="content", id="Gallery", style="overflow: auto; height:150px; background-color: #f4f0ec;")] def columns(self, *args): self.table.columns(*args)