diff --git a/resources/base.scss b/resources/base.scss index e7a3b3e..1559ffe 100644 --- a/resources/base.scss +++ b/resources/base.scss @@ -966,20 +966,18 @@ input::placeholder{ text-align: center; } -#fa-icon-links:hover, -#fa-icon-links:active, -#fa-icon-links:hover #fa-icon, -#fa-icon-links:active #fa-icon { - color: $theme_color; +.nav-fa-icon { + i { + margin-right: 0.1em; + color: #000; + font-size: 22.5px; + } } -#fa-icon { - margin-right: 0.1em; - color: #000; - font-size:22.5px; -} -#fa-icon-active { - margin-right: 0.1em; - color: $theme_color; - font-size:22.5px; +.nav-fa-icon-active { + i { + color: $theme_color; + font-size: 22.5px; + margin-right: 0.1em; + } } \ No newline at end of file diff --git a/resources/icons/logo.png b/resources/icons/logo.png new file mode 100644 index 0000000..1786dfd Binary files /dev/null and b/resources/icons/logo.png differ diff --git a/templates/base.html b/templates/base.html index a281b47..4d1e0f9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -217,58 +217,24 @@
  • {{ _('Home') }}
  • {% for node in mptt_tree(nav_bar) recursive %} - {% if node.key != "chat" %} -
  • - - {% if node.key == "problems" %} - {% if node.key not in nav_tab %} - - {% else %} - - {% endif %} - {% endif %} - - {% if node.key == "submit" %} - {% if node.key not in nav_tab %} - - {% else %} - - {% endif %} - {% endif %} - - {% if node.key == "user" %} - {% if node.key not in nav_tab %} - - {% else %} - - {% endif %} - {% endif %} - - {% if node.key == "contest" %} - {% if node.key not in nav_tab %} - - {% else %} - - {% endif %} - {% endif %} - {% if node.key == "about" %} - {% if node.key not in nav_tab %} - - {% else %} - - {% endif %} - {% endif %} - - {{ user_trans(node.label) }} - {% if not node.is_leaf_node %} - - {% endif %} - - {% with children=node.get_children() %} - {% if children %}{% endif %} - {% endwith %} -
  • - {% endif %} +
  • + + + {% if node.key == "problems" %} {% endif %} + {% if node.key == "submit" %} {% endif %} + {% if node.key == "user" %} {% endif %} + {% if node.key == "contest" %} {% endif %} + {% if node.key == "about" %} {% endif %} + + {{ user_trans(node.label) }} + {% if not node.is_leaf_node %} + + {% endif %} + + {% with children=node.get_children() %} + {% if children %}{% endif %} + {% endwith %} +
  • {% endfor %}