diff --git a/TealCode/main/static/css/style.css b/TealCode/main/static/css/style.css index 32625b3..5dfd94e 100644 --- a/TealCode/main/static/css/style.css +++ b/TealCode/main/static/css/style.css @@ -17,4 +17,19 @@ .nav-link:hover{ color:rgb(21, 200, 132) !important; +} + +.list-group-item{ + background-color: rgb(32, 102, 99); + color: white; + font-size: 13pt; + transition: 0.1s; + transition-timing-function: linear; + letter-spacing: 1px; +} + +.list-group-item:hover{ + color: white; + letter-spacing: 5px; + background-color: rgb(36, 126, 121); } \ No newline at end of file diff --git a/TealCode/main/templates/base.html b/TealCode/main/templates/base.html index 204a34c..846d05c 100644 --- a/TealCode/main/templates/base.html +++ b/TealCode/main/templates/base.html @@ -27,9 +27,9 @@ - + + {% endblock content %} \ No newline at end of file diff --git a/TealCode/main/templates/main/index.html b/TealCode/main/templates/main/index.html index a398593..df892dc 100644 --- a/TealCode/main/templates/main/index.html +++ b/TealCode/main/templates/main/index.html @@ -12,13 +12,13 @@
- d +

Categories
-
+
{% for category in categorys %} diff --git a/TealCode/main/templates/main/topic.html b/TealCode/main/templates/main/topic.html index 3679d36..6c0966a 100644 --- a/TealCode/main/templates/main/topic.html +++ b/TealCode/main/templates/main/topic.html @@ -1,45 +1,62 @@ {% extends "base.html" %} {% block content %} -
- -
- {% if previous %} - Previous - {% endif %} +
+
+
+

{{ title }}

- - - - - -
- {% if next %} - Next - {% endif %} +
+
+
+
+
+
+ {% if previous %} + + {% endif %} +
+
+ +
+
+ {% if next %} + + {% endif %} +
+
+
-

{{ title }}

+
+
+ nav +
+ +
+
{{code}}
+ + {% if output %} +
#Output: {{output}}
+ {% endif %} + + {% if version %} + tested in version: {{version}} + {% endif %} +
+ +
+ +
+
+
-
{{code}}
- {% if output %} -
-
#Output: {{output}}
- {% endif %} + - {% if version %} -
-

Tested in version: {{version}}

-
- {% endif %} - -
- -
+
+ {% endblock content %} \ No newline at end of file