From c745b00704b8742a2a29fe0aea265373ffa3cadc Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 11 Jul 2011 00:41:02 +0530 Subject: [PATCH] little styling on web page --- edgware/static/css/articleDemo.css | 14 ++++++++------ edgware/static/css/files/browse.css | 1 + edgware/templates/article_frontend.html | 21 ++++++++++++--------- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/edgware/static/css/articleDemo.css b/edgware/static/css/articleDemo.css index 6c118c6..dbbe255 100644 --- a/edgware/static/css/articleDemo.css +++ b/edgware/static/css/articleDemo.css @@ -29,7 +29,7 @@ text-decoration:none;} } #articleEditWrapper { - margin-bottom: 20px; + margin-bottom: 0px; } #header ul li { @@ -277,7 +277,7 @@ top:64px;} { position:fixed; left:950px; top:105px; - font-family: Geneva, Helvetica, sans-serif; + font-family: "DejaVu Sans", Arial, sans-serif; font-size:14px; } @@ -306,8 +306,6 @@ a img } .pdfLink { - margin-left: 8px; - color: #393939; text-decoration: none; font-family: "DejaVu Sans", Arial, sans-serif; } @@ -315,6 +313,7 @@ a img .pdfLink a { text-decoration: none; + color: #000; } .pdfLink a:hover { @@ -327,8 +326,11 @@ h5 { } #articleAdminH { + font-weight: normal; cursor: pointer; - margin: 4px; + margin: 0px; + font-size: 14px; + font-family: "DejaVu Sans", Arial, sans-serif; } #articleAdminH:hover { @@ -340,7 +342,7 @@ h5 { } #scrollDots { - margin-top: 0px; + margin-top: 12px; } .dotDiv { diff --git a/edgware/static/css/files/browse.css b/edgware/static/css/files/browse.css index 494ce85..10491aa 100644 --- a/edgware/static/css/files/browse.css +++ b/edgware/static/css/files/browse.css @@ -78,3 +78,4 @@ h5 { text-decoration: underline; color: #000; } + diff --git a/edgware/templates/article_frontend.html b/edgware/templates/article_frontend.html index d52011a..6743a37 100644 --- a/edgware/templates/article_frontend.html +++ b/edgware/templates/article_frontend.html @@ -232,15 +232,6 @@ p {
-

{{ article.name }} - - << - - get pdf - - >> - -

{% if is_owner %}
Article Admin
@@ -276,6 +267,18 @@ p {
{% endif %} + +

+ + + Get .pdf + + +

+
+

{{ article.name }} + +

{% for a_b in articles_before %} {{a_b.order}}. {{a_b.name}}