From af3e4d8942680a5c08492d2ed179d8e401a8bf57 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Sun, 24 Nov 2013 15:27:40 +0530 Subject: basic color scheme set --- static/website/css/main.css | 40 +++++++++++++++++++++++++++ static/website/templates/fetch_tutorials.html | 9 +++--- static/website/templates/index.html | 12 ++++++-- 3 files changed, 55 insertions(+), 6 deletions(-) create mode 100644 static/website/css/main.css (limited to 'static') diff --git a/static/website/css/main.css b/static/website/css/main.css new file mode 100644 index 0000000..997a154 --- /dev/null +++ b/static/website/css/main.css @@ -0,0 +1,40 @@ +#header-wrapper { + +} +#header-inner { + +} +#content-wrapper { + padding: 0 0 25px 0; +} +#content-inner { + +} +#content .category { + min-height: 50px; + border-bottom: 1px solid #f5f5f5; +} +#content .category .posts { + color: #7395d9; +} +#content .category .replies { + color: #a26dc8; +} +#content .category .helper { + position: absolute; + right: 20px; + top: 5px; + font-size: 1.5em; + color: #cccccc; +} +#content .tutorial { + min-height: 50px; + border-bottom: 1px solid #f5f5f5; +} +#footer-wrapper { + background-color: #2d2d2d; + min-height: 60px; +} +#footer-inner { + +} diff --git a/static/website/templates/fetch_tutorials.html b/static/website/templates/fetch_tutorials.html index 524930f..a99caec 100644 --- a/static/website/templates/fetch_tutorials.html +++ b/static/website/templates/fetch_tutorials.html @@ -1,9 +1,10 @@ {% extends 'website/templates/base.html' %} {% block content %} {% for tut in tutorials %} - - {{tut.tutorial_name}} - -
+
+ + {{tut.tutorial_name}} + +
{% endfor %} {% endblock %} diff --git a/static/website/templates/index.html b/static/website/templates/index.html index b936643..c8b11b3 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -1,11 +1,19 @@ {% extends 'website/templates/base.html' %} {% block content %} {% for category in categories %} -
+
{{ category }}
{% load count_tags %} - Count = {% category_post_count category %} + + {% category_post_count category %} posts, + + + {% category_post_count category %} replies + + + A +
{% endfor %}
-- cgit