From 330e128ede6263a5e1e9e3359b8f8e7819a496b9 Mon Sep 17 00:00:00 2001 From: alban Date: Mon, 13 Jan 2020 14:54:40 +0100 Subject: [PATCH] [fix] tweak the ux --- assets/programme.css | 60 +++++++++++++++++++++++--------------------- programme.html | 1 - 2 files changed, 32 insertions(+), 29 deletions(-) diff --git a/assets/programme.css b/assets/programme.css index 746360f..ef38c7a 100644 --- a/assets/programme.css +++ b/assets/programme.css @@ -1,18 +1,18 @@ *{ - font-family:"Museo W01 500",Arial,Helvetica Neue,Helvetica,sans-serif; + font-family:"Museo W01 500",Arial,Helvetica Neue,Helvetica,sans-serif; - -webkit-font-smoothing: antialiased; - -webkit-text-stroke-width: 0.2px; - -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + -webkit-text-stroke-width: 0.2px; + -moz-osx-font-smoothing: grayscale; font-size: 16pt; line-height: 1.46em; } h1{ -font-size:36pt; + font-size:36pt; } h2{ -font-size:24pt; -margin-top:36pt; + font-size:24pt; + margin-top:36pt; } a:link {color:#ff5555;} @@ -20,38 +20,42 @@ a:visited {color:#ff5555;} a:hover {color:#999999;} a:active {color:#ff5555;} -ul li { -} body { - font-family:sans-serif; - background:#000; - color:#ff5555; - width: auto; - padding: 2% 5%; + font-family:sans-serif; + background:#000; + color:#ff5555; + width: auto; + padding: 2% 5%; } table{ -display:none; + display:none; } + table tr td { - color: #ccc; - padding: 10px; - text-align: center; + color: #ccc; + padding: 10px; + text-align: center; } + td.links a { - display: block; - border-radius: 10px; - background: #333; - padding: 3% 6%; - margin: 10%; - text-align: center; - text-overflow: ellipsis; - overflow: hidden; + display: block; + border-radius: 10px; + background: #333; + padding: 3% 6%; + margin: 10%; + text-align: center; + text-overflow: ellipsis; + overflow: hidden; } tr:nth-child(even) {background: #181818} th { - font-size: 12pt; + font-size: 12pt; } td.name { - min-width: 250px; + min-width: 250px; +} +span.info { + float: right; + color: #655; } diff --git a/programme.html b/programme.html index 506930f..8e479c9 100644 --- a/programme.html +++ b/programme.html @@ -368,7 +368,6 @@ jQuery(function(){ jQuery("h2").live("click",function(e){ var el = jQuery(this); el.next().toggle(); - el.find(".info").toggle(); })