fixing the length of menu underline; fixing the padding for the menu elements; adding the sign up button on the main page; this closes #37

This commit is contained in:
Nikita Lvov
2020-07-06 10:54:54 +02:00
parent f1f0ef21dc
commit 92acf24852
3 changed files with 18 additions and 5 deletions

View File

@@ -201,10 +201,18 @@ svg:not(:root) {
text-decoration: none;
}
.main-menu-entry-svg {
padding-left: 0 !important;
}
.main-menu-underline {
text-align: -webkit-center;
}
.main-menu-underline-line {
background-color: #e4154b;
height: 5px;
width: 100%;
width: 50%;
}
.affiliation-text a:hover {

View File

@@ -1,6 +1,11 @@
{%- if config.ACCOUNTS %}
{%- if not current_user.is_authenticated %}
<div class="short-menu-right-button">
<a href="{{ url_for('security.register') }}">
<i class="user plus icon circular"></i> Sign Up
</a>
</div>
<div class="short-menu-right-button">
<a href="{{url_for_security('login', next=request.path)}}" style="text-decoration:none">

View File

@@ -111,9 +111,9 @@
</div>
</div>
{%- endblock navbar_header %}
<div class="ui two column grid stackable container">
<div class="ui grid stackable container">
<div class="three column row centered" style="padding-bottom: 0;">
<div class="two wide column main-menu-entry">
<div class="two wide column main-menu-entry main-menu-entry-svg">
<a href="{{url_for('invenio_theme_frontpage.index')}}" title="Home">
<svg shape-rendering="geometricPrecision" id="int-menu-q-home-icon"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg"
@@ -135,8 +135,8 @@
{%- endfor %}
</div>
<div class="row">
<div class="six wide column centered">
<div class="main-menu-underline"></div>
<div class="column centered main-menu-underline">
<div class="main-menu-underline-line"></div>
</div>
</div>
<div class="row">