From d483b309f9e004f3cd54e22b9ca478395366e112 Mon Sep 17 00:00:00 2001 From: ShijuKAbraham Date: Fri, 4 Oct 2019 15:46:24 +0530 Subject: [PATCH] Responsive UI and navbar updated --- .../templates/fossee_manim/about.html | 4 +- fossee_manim/templates/fossee_manim/base.html | 368 ++++++++++-------- .../fossee_manim/proposal_status.html | 2 +- .../fossee_manim/search_results.html | 2 +- static/css/index.css | 27 ++ 5 files changed, 239 insertions(+), 164 deletions(-) diff --git a/fossee_manim/templates/fossee_manim/about.html b/fossee_manim/templates/fossee_manim/about.html index 13b5a01..46d307d 100644 --- a/fossee_manim/templates/fossee_manim/about.html +++ b/fossee_manim/templates/fossee_manim/about.html @@ -5,7 +5,7 @@ {% endblock %} {% block content %} -
+

About FOSSEE Animations

@@ -14,6 +14,6 @@

What do we do and why?


-
+
{% endblock content %} diff --git a/fossee_manim/templates/fossee_manim/base.html b/fossee_manim/templates/fossee_manim/base.html index 06d7071..b0a9c80 100644 --- a/fossee_manim/templates/fossee_manim/base.html +++ b/fossee_manim/templates/fossee_manim/base.html @@ -1,179 +1,227 @@ - - - - {% block title %} - HomePage - {% endblock %} - - - - - - - - - - - - - - - - - + + + + {% block title %} + HomePage + {% endblock %} + + + + + + + + + + + + + + + + + + + - {% block extra %} + {% block extra %} - {% endblock %} - - - {% block header %} - + + {% endblock %} - {% block content %} -

+ {% block content %} +

Base Template Content. Please override me

- - {% endblock %} - - - - - {% block footer %} - + + {% endblock footer %} + - - - - - - + END Bootstrap-Alert --> + + + - + \ No newline at end of file diff --git a/fossee_manim/templates/fossee_manim/proposal_status.html b/fossee_manim/templates/fossee_manim/proposal_status.html index 7294d3a..72fe544 100644 --- a/fossee_manim/templates/fossee_manim/proposal_status.html +++ b/fossee_manim/templates/fossee_manim/proposal_status.html @@ -5,7 +5,7 @@ {% endblock %} {% block content %} -
+

Proposal Status

diff --git a/fossee_manim/templates/fossee_manim/search_results.html b/fossee_manim/templates/fossee_manim/search_results.html index 303b735..5ad3118 100644 --- a/fossee_manim/templates/fossee_manim/search_results.html +++ b/fossee_manim/templates/fossee_manim/search_results.html @@ -6,7 +6,7 @@ {% block content %}

-
+
{% if s_result %} {% for anime in s_result %}
diff --git a/static/css/index.css b/static/css/index.css index 9d7643a..cec0bcb 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -123,4 +123,31 @@ hr { #circle:hover { background-color: #ffe0b2; border-radius: 50%; + } + +.footer{ + right: 0; + left: 0; + bottom: 0; + padding: 1rem; + text-align: center; } +a{ + color:white; +} + +a:hover{ + color:white; + background-color: gray; +} + +.navbar-toggler-icon { + display: inline-block; + width: 1.5em; + height: 1.5em; + vertical-align: middle; + content: ""; + background: no-repeat center center; + background-size: 100% 100%; + background-color: white; + }