From 77bd99150d16d46d71c783ead9ce5ffb36718e9e Mon Sep 17 00:00:00 2001 From: boyska Date: Fri, 9 Jun 2017 12:11:30 +0200 Subject: [PATCH] spostato stile talk in un file css (wow) --- talks/_templates/grid.html | 44 ----------------------- themes/hackit0x14/static/css/hackit.css | 46 +++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 44 deletions(-) diff --git a/talks/_templates/grid.html b/talks/_templates/grid.html index 1faae1d..3868faf 100644 --- a/talks/_templates/grid.html +++ b/talks/_templates/grid.html @@ -1,47 +1,3 @@ - - diff --git a/themes/hackit0x14/static/css/hackit.css b/themes/hackit0x14/static/css/hackit.css index bc94753..b5a0e22 100644 --- a/themes/hackit0x14/static/css/hackit.css +++ b/themes/hackit0x14/static/css/hackit.css @@ -85,3 +85,49 @@ blockquote { margin-left: auto; margin-right: auto; } + + +/* TALK */ + + +.talk-grid { + table-layout: auto; + width: 100%; + border-collapse: collapse; + text-align: center; +} +.talk-grid > thead th:first-child { + max-width: 5em; +} + +.talk-grid > thead th { + text-align: center; +} +.talk-grid tr { height: 1.5em; } + + +.rooms-4 .talk { width: 25%; } +.rooms-3 .talk { width: 33%; } +.rooms-2 .talk { width: 50%; } +.rooms-1 .talk { width: 100%; } +td.talk { + border: 1px solid #444; + padding: 4px; +} + +td.talk > a { + text-decoration: none; +} + +.talk-grid tr { line-height: 1em; } + +.talk-grid tr:hover td:first-child { + background-color: rgb(152, 14, 14); + background-color: rgba(152, 14, 14, 0.79); +} + +.talk-grid tr:hover td { + background-color: rgb(60, 22, 22) +} + +.talk-title a { font-size: 50%; }