From 36f84858567a4a248f9fb409381b97d94659b9a5 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Wed, 13 Nov 2013 15:28:29 +0530 Subject: styling pages --- static/css/default.css | 49 ++++++++++++++++++++++++++++++++--- templates/base.html | 2 +- templates/conference/details.html | 30 ++++++++++++---------- templates/conference/keynote.html | 33 ++++++++++++++++-------- templates/conference/sponsors.html | 51 ++++++++++++++++++++++++++----------- templates/conference/talks.html | 2 +- templates/conference/tutorials.html | 18 ++++++++----- 7 files changed, 134 insertions(+), 51 deletions(-) diff --git a/static/css/default.css b/static/css/default.css index e0ceb44..d79867b 100644 --- a/static/css/default.css +++ b/static/css/default.css @@ -1,3 +1,7 @@ + .clearfix { + clear: both; + } + html, body { height: 100%; @@ -292,7 +296,7 @@ #header { position: relative; - height: 150px; + height: 110px; } /*********************************************************************************/ @@ -302,7 +306,7 @@ #logo { position: absolute; - top: 3em; + top: 1.6em; left: 0; width: 100%; } @@ -350,7 +354,7 @@ padding: 0em 1.5em; height: 150px; letter-spacing: 0.20em; - line-height: 150px; + line-height: 130px; text-decoration: none; font-size: 0.90em; font-weight: 600; @@ -611,4 +615,41 @@ { float: right; } - + + /* Custom Styles */ + table { + padding: 10px 10px 50px; + margin: 0 auto; + } + th { + text-align: left; + } + td{ + padding: 10px 15px; + width: 80; + } + tr:nth-child(even) {background: #f5f5f5} + tr:nth-child(odd) {background: #ffffff} + + .wrap { + max-width: 90%; + margin: 0 auto; + } + .wrap iframe{ + margin: 0 auto; + } + .sponsor { + width: 90%; + margin: 0 auto; + padding: 25px 0; + border-bottom: 5px solid #f5f5f5; + } + .sponsor img { + float: left; + width: 20%; + } + .sponsor p { + float: right; + width: 70%; + text-align: justify; + } diff --git a/templates/base.html b/templates/base.html index 72aa996..16f0446 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,7 +14,7 @@