summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/website/css/main.css40
-rw-r--r--static/website/templates/fetch_tutorials.html9
-rw-r--r--static/website/templates/index.html12
3 files changed, 55 insertions, 6 deletions
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 %}
- <a href="{% url 'website:fetch_posts' category tut.tutorial_name %}">
- {{tut.tutorial_name}}
- </a>
- <br>
+ <div class="tutorial">
+ <a href="{% url 'website:fetch_posts' category tut.tutorial_name %}">
+ {{tut.tutorial_name}}
+ </a>
+ </div>
{% 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 %}
- <div class="col-lg-4 col-">
+ <div class="category col-lg-4">
<a href="{% url 'website:fetch_tutorials' category %}">{{ category }}</a>
<br>
{% load count_tags %}
- Count = {% category_post_count category %}
+ <span class="posts">
+ {% category_post_count category %} posts,
+ </span>
+ <span class="replies">
+ {% category_post_count category %} replies
+ </span>
+ <span class="helper">
+ A
+ </span>
</div>
{% endfor %}
<div class="clear"></div>