From 30fa8548ee75c17e165f0632509bceed4b7e60ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyrille=20M=C3=A9dard=20de=20Chardon?= Date: Sat, 27 Sep 2014 16:51:05 +0200 Subject: [PATCH] Tweeked layout, event date on newline --- css/level2.css | 6 +++++- js/level2.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/css/level2.css b/css/level2.css index ffcca4b..9ab8cd2 100644 --- a/css/level2.css +++ b/css/level2.css @@ -80,11 +80,15 @@ h1, h2, h3, h4, h5, h6 { .logo { text-align: left; font-size: 4em; - margin-left: -67px; +} + +.logo > .row > div { + margin-left: -20px; } .logo img { height: 100px; + padding-right: 10px; } .logo .row > div:first-child { diff --git a/js/level2.js b/js/level2.js index e53dbc2..d0a8949 100644 --- a/js/level2.js +++ b/js/level2.js @@ -256,7 +256,7 @@ function l2events() { var l2event_ob = events.results[l2event_name]; - output += '

' + l2event_name + ' ' + moment.unix(l2event_ob.printouts.StartDate, "YYYY-MM-DD HH:mm:ss").format('dddd, D MMMM HH:mm') + '

' + l2event_ob.printouts['Has description'][0]; + output += '

' + l2event_name + '
' + moment.unix(l2event_ob.printouts.StartDate, "YYYY-MM-DD HH:mm:ss").format('dddd, D MMMM HH:mm') + '

' + l2event_ob.printouts['Has description'][0]; }; output += "";