From 793aaad7f7ccb3d65d1f427f86daa4514900c812 Mon Sep 17 00:00:00 2001 From: Sourav Badami Date: Mon, 4 Sep 2017 21:53:10 +0530 Subject: [PATCH] Repositioned featured website block and leaderboard section --- website/static/css/style.css | 3 ++- website/templates/index.html | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/website/static/css/style.css b/website/static/css/style.css index 0d52d94e8..99bbfea23 100644 --- a/website/static/css/style.css +++ b/website/static/css/style.css @@ -342,12 +342,13 @@ a:hover{ border-bottom: 1px solid #888; background-color: #ddd; padding: 10px; + margin-top: -7px; } .leaderboard-panel .box{ border: 3px solid #009688; padding:7px; margin-right:5px; - padding-top:10px; + padding-top:0px; background:white; } .leaderboard-name, diff --git a/website/templates/index.html b/website/templates/index.html index 51753d9fb..30b4dcf95 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -114,8 +114,8 @@

{% trans "Design" %}

-
-
+
+

{% trans "Featured Websites" %}

@@ -176,13 +176,25 @@

{% trans "Featured Websites" %}

+
-
+
+
+

Latest activity

+
+ {% for activity in activities %} + {% include '_activity.html' %} + {% endfor %} +
+ View All Activity +
+
{% now "F" %} {% trans "Leaderboard" %}
+
The 1st Place Hunter for {% now "F" %} will receive
@@ -220,18 +232,6 @@

{% trans "Featured Websites" %}

- -
-
-

Latest activity

-
- {% for activity in activities %} - {% include '_activity.html' %} - {% endfor %} -
- View All Activity -
-

Subscriptions: