From 45196b08d6099f402a5dd05038ecf7a7325608b6 Mon Sep 17 00:00:00 2001 From: lesion Date: Tue, 23 May 2017 22:25:31 +0200 Subject: [PATCH] son gusti ma almeno si legge --- talks/_templates/grid.html | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/talks/_templates/grid.html b/talks/_templates/grid.html index 1e8c746..9d55ea5 100644 --- a/talks/_templates/grid.html +++ b/talks/_templates/grid.html @@ -2,21 +2,39 @@ .talk-grid { table-layout: auto; width: 100%; - border-collapse: unset; + border-collapse: collapse; + text-align: center; } .talk-grid > thead th:first-child { max-width: 5em; } -td.talk { - border: 1px solid; - border-radius: 0.3em; + +.talk-grid > thead th { + text-align: center; } + +td.talk { + width: 33%; + border: 1px solid #444; + padding: 4px; +} + +td.talk > a { + text-decoration: none; +} + .talk-grid tr { line-height: 1em; } -.talk-grid tr:hover { + +.talk-grid tr:hover td:first-child { background-color: rgb(152, 14, 14); background-color: rgba(152, 14, 14, 0.79); } -.talk-grid td:first-child { font-size: 60%; } + +.talk-grid tr:hover td { + background-color: rgb(60, 22, 22) +} + +