From bf178382eca98280c5525f51363f734abce0cf6b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 5 Nov 2015 01:22:18 -0500 Subject: story view --- StoneIsland/www/css/blogs.css | 27 ++++++++++++++++++++++++--- StoneIsland/www/index.html | 6 +++--- StoneIsland/www/js/lib/blogs/StoryView.js | 31 +++++++++++++++++++++++++++---- 3 files changed, 54 insertions(+), 10 deletions(-) diff --git a/StoneIsland/www/css/blogs.css b/StoneIsland/www/css/blogs.css index ec945f65..58c45468 100644 --- a/StoneIsland/www/css/blogs.css +++ b/StoneIsland/www/css/blogs.css @@ -1,17 +1,38 @@ .story #story { display: block } -#content.story { overflow: scroll } #story { display: none; } +#story .links { + margin: 0; + text-align: center; +} +#story .links li { + padding: 10px; + list-style-type: none; + display: inline-block; +} +#story .links li:before { + content: ' | ', +} +#story .links li:first-child:before { + content: '', +} +#story .links li.active { + font-weight: bold; +} +#story .content > div { + display: none; +} +#story .content div.active { + display: block; +} .hub #hub { display: block } -#content.hub { overflow: scroll } #hub { display: none; } .archive #archive { display: block } -#content.archive { overflow: scroll } #archive { display: none; } \ No newline at end of file diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index e0183655..8ea9c626 100644 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -78,11 +78,11 @@

STORY

+ +