move author / abstract around

This commit is contained in:
sanj 2010-12-30 15:22:52 +05:30
parent 5159e94922
commit 1483af7275
4 changed files with 31 additions and 20 deletions

View File

@ -16,3 +16,8 @@
} }
#tooltip h4, #tooltip div { margin: 0; } #tooltip h4, #tooltip div { margin: 0; }
#tooltip img {
width: auto;
height: 120px;
}

View File

@ -15,9 +15,6 @@ body {
padding: 4px; padding: 4px;
} }
#essay {
width: 60%;
}
.para { .para {
padding: 8px; padding: 8px;

View File

@ -6,7 +6,7 @@ $(function() {
$(window).resize(function() { $(window).resize(function() {
var docWidth = $(document).width(); var docWidth = $(document).width();
var essayWidth = docWidth - 400; var essayWidth = docWidth - 400;
$('#essay').css("width", essayWidth); $('#leftWrapper').css("width", essayWidth);
}); });
$(window).trigger("resize"); $(window).trigger("resize");
}); });

View File

@ -88,24 +88,33 @@
{% autoescape off %} {% autoescape off %}
<div id="loading"></div> <div id="loading"></div>
<div id="wrapper"> <div id="wrapper">
<h1> <div id="leftWrapper">
{{ text.title }} <h1>
</h1> {{ text.title }}
<div id="padmaSidebar"> </h1>
<div id="padmaSidebarWrapper"></div> <h4>
<div id="aboutTxt"> - <a href="#authorbio">{{ text.author }}</a>
<h3>Author: </h3> </h4>
<span class="author_name">{{ text.author }}</span> <div id="essayAbstract">
<div class="author_bio">{{ text.author_bio }}</div> <h3>Abstract:</h3>
<div class="abstract"> <p>
<h4>Abstract: </h4> {{ text.abstract }}
<span class="abstract_text">{{ text.abstract }}</span> </p>
</div> </div>
<div id="padmaSidebar">
<div id="padmaSidebarWrapper"></div>
</div> </div>
</div>
<div id="essay"> <div id="essay">
{{ text.html }} {{ text.html }}
</div>
<div id="authorBio">
<a name="authorbio"></a>
<h3>About the Author:</h3>
<p>
{{ text.author_bio }}
</p>
</div>
</div> </div>
</div> </div>
{% endautoescape %} {% endautoescape %}