little styling on web page

This commit is contained in:
Sanj 2011-07-11 00:41:02 +05:30
parent fd8ce6c2dc
commit c745b00704
3 changed files with 21 additions and 15 deletions

View File

@ -29,7 +29,7 @@ text-decoration:none;}
} }
#articleEditWrapper { #articleEditWrapper {
margin-bottom: 20px; margin-bottom: 0px;
} }
#header ul li { #header ul li {
@ -277,7 +277,7 @@ top:64px;}
{ position:fixed; { position:fixed;
left:950px; left:950px;
top:105px; top:105px;
font-family: Geneva, Helvetica, sans-serif; font-family: "DejaVu Sans", Arial, sans-serif;
font-size:14px; font-size:14px;
} }
@ -306,8 +306,6 @@ a img
} }
.pdfLink { .pdfLink {
margin-left: 8px;
color: #393939;
text-decoration: none; text-decoration: none;
font-family: "DejaVu Sans", Arial, sans-serif; font-family: "DejaVu Sans", Arial, sans-serif;
} }
@ -315,6 +313,7 @@ a img
.pdfLink a { .pdfLink a {
text-decoration: none; text-decoration: none;
color: #000;
} }
.pdfLink a:hover { .pdfLink a:hover {
@ -327,8 +326,11 @@ h5 {
} }
#articleAdminH { #articleAdminH {
font-weight: normal;
cursor: pointer; cursor: pointer;
margin: 4px; margin: 0px;
font-size: 14px;
font-family: "DejaVu Sans", Arial, sans-serif;
} }
#articleAdminH:hover { #articleAdminH:hover {
@ -340,7 +342,7 @@ h5 {
} }
#scrollDots { #scrollDots {
margin-top: 0px; margin-top: 12px;
} }
.dotDiv { .dotDiv {

View File

@ -78,3 +78,4 @@ h5 {
text-decoration: underline; text-decoration: underline;
color: #000; color: #000;
} }

View File

@ -232,15 +232,6 @@ p {
<div id="contents"> <div id="contents">
<div class="english"> <div class="english">
<div id="dotsHeader"> <div id="dotsHeader">
<p><span id="articleName">{{ article.name }}</span>
<span class="pdfLink">
&lt;&lt;
<a target="_blank" href="/edit/print_article/?id={{article.id}}" title="Download PDF">
get pdf
</a>
&gt;&gt;
</span>
</p>
{% if is_owner %} {% if is_owner %}
<div id="articleEditWrapper"> <div id="articleEditWrapper">
<h5 id="articleAdminH">Article Admin</h5> <h5 id="articleAdminH">Article Admin</h5>
@ -276,6 +267,18 @@ p {
</div> </div>
</div> </div>
{% endif %} {% endif %}
<p>
<span class="pdfLink">
<a target="_blank" href="/edit/print_article/?id={{article.id}}" title="Download PDF">
Get .pdf
</a>
</span>
</p>
<br />
<p><span id="articleName">{{ article.name }}</span>
</p>
</div> </div>
{% for a_b in articles_before %} {% for a_b in articles_before %}
<a href="../../{{a_b.product.id}}/{{a_b.order}}/">{{a_b.order}}</a>. {{a_b.name}}<br /> <a href="../../{{a_b.product.id}}/{{a_b.order}}/">{{a_b.order}}</a>. {{a_b.name}}<br />