- fix language button position

- custom class for forms
This commit is contained in:
antil0pa 2019-05-01 12:49:22 +02:00
parent 45da7504b9
commit 41a90f8b85
2 changed files with 10 additions and 7 deletions

View File

@ -247,10 +247,10 @@ ul.dropdown-content a{
/* Language selector */
#lang-select .btn {
position: absolute;
top: 50px;
color: #f00;
.language-selector .btn {
position: relative;
top: 20px;
/*color: #f00;*/
}
/* Links */
@ -534,7 +534,7 @@ progress::-webkit-progress-bar {
/* Forms
------------------------------------*/
/
.form-title {
position: relative;
top: 60px;
@ -548,6 +548,10 @@ progress::-webkit-progress-bar {
margin-right: auto;
margin-left: auto;
}
.form-number {
max-width: 70px;
height: 15px;
}
.form-field, .buttons{
width: 50%;
margin-right: auto;

View File

@ -23,7 +23,6 @@
{% set show_onpage_menu = header.onpage_menu == true or header.onpage_menu is null %}
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
{% include 'partials/language-selector.html.twig' %}
<ul id="nav" class="nav">
{% for page in pages.children %}
{% if page.visible %}
@ -44,6 +43,6 @@
{% if config.plugins.login.enabled and grav.user.username %}
<li><i class="fa fa-lock"></i> {% include 'partials/login-status.html.twig' %}</li>
{% endif %}
</ul>
</nav>