From 0c87805459a722b756da50a3ba1bec596868d908 Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Wed, 3 Jul 2013 17:37:58 -0700 Subject: [PATCH] Cleaning up index. --- css/style.css | 12 +++++++++--- lib/data.php | 1 + pages/bio | 2 -- templates/footer.html.tpl | 15 ++++++++++++--- templates/index.html.tpl | 27 ++++++++++++++++----------- templates/projects.html.tpl | 2 +- 6 files changed, 39 insertions(+), 20 deletions(-) diff --git a/css/style.css b/css/style.css index c3cc13c..edef4b4 100644 --- a/css/style.css +++ b/css/style.css @@ -106,12 +106,11 @@ table, td, tr { #content { /*display:none;*/ padding-bottom: 20px; - position:absolute; - top:13em; padding-top:0; } #content.single { margin-left:200px; + max-width:800px; } #nextprev { @@ -247,8 +246,15 @@ margin-bottom:0.2em; margin-bottom:0.25em; /*margin-bottom:0.3em;*/ } +.entries.projects.index li { + width:inherit; + height:auto; +} +.entries.projects.index .thumb { + max-width:400px; + max-height:400px; +} .entries.projects.index li strong { - display:none; } .entries.projects.index li:hover strong { display:inherit; diff --git a/lib/data.php b/lib/data.php index 61ac270..7034b83 100644 --- a/lib/data.php +++ b/lib/data.php @@ -311,6 +311,7 @@ function parse_entry($fileInfo, $page = false) $file['content'] = Markdown($content); + $file['content_short'] = null; if ($passed_more) $file['content_short'] = Markdown($content_short); diff --git a/pages/bio b/pages/bio index 539d4d6..eda45bf 100755 --- a/pages/bio +++ b/pages/bio @@ -14,8 +14,6 @@ He is a designer and consultant for international clients and collaborators, and ###### contact -1242 Market St, FL 2 -San Francisco, CA 94102 [email](mailto:studio@gabrieldunne.com) [blog](http://quilime.com)
diff --git a/templates/footer.html.tpl b/templates/footer.html.tpl index 955eb29..8e4e42c 100644 --- a/templates/footer.html.tpl +++ b/templates/footer.html.tpl @@ -1,7 +1,16 @@ - - - + + + + + + \ No newline at end of file diff --git a/templates/index.html.tpl b/templates/index.html.tpl index 8298d64..90cbd5b 100644 --- a/templates/index.html.tpl +++ b/templates/index.html.tpl @@ -11,21 +11,26 @@ diff --git a/templates/projects.html.tpl b/templates/projects.html.tpl index 5bf408b..0f0b1e1 100644 --- a/templates/projects.html.tpl +++ b/templates/projects.html.tpl @@ -17,7 +17,7 @@ ' . $entry->content); ?> -