Added email and phone support in navmenu. TODO: language picker
This commit is contained in:
parent
707a0a5ab6
commit
42e82afb0b
@ -457,30 +457,35 @@ input:checked + .slider:before {
|
|||||||
border-bottom:8px solid #006f18;
|
border-bottom:8px solid #006f18;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#nav p { /* For email and phone for example */
|
||||||
|
color:#FFF;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
#nav ul { /*lista stílus igazítás*/
|
#nav ul { /*lista stílus igazítás*/
|
||||||
padding:0;
|
padding:0;
|
||||||
margin:0;
|
margin:0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav ul:After {
|
#nav ul:After {
|
||||||
content: "";
|
content: "";
|
||||||
display:block;
|
display:block;
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav ul li {
|
#nav ul li {
|
||||||
display:list-item;
|
display:list-item;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
float:left;
|
float:left;
|
||||||
background-color:#11bf22;
|
background-color:#11bf22;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav ul li i { /*betűméret - szélesség (ikonsor)*/
|
#nav ul li i { /*betűméret - szélesség (ikonsor)*/
|
||||||
font-size:30px;
|
font-size:30px;
|
||||||
width:40px;
|
width:40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav ul li a { /*betűméret - menü szöveg*/
|
#nav ul li a { /*betűméret - menü szöveg*/
|
||||||
display:block;
|
display:block;
|
||||||
@ -516,12 +521,12 @@ input:checked + .slider:before {
|
|||||||
|
|
||||||
#nav ul ul li i { /*almenü ikon igazítása*/
|
#nav ul ul li i { /*almenü ikon igazítása*/
|
||||||
margin-right:12px;
|
margin-right:12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav ul ul li a {
|
#nav ul ul li a {
|
||||||
padding:16px 20px;
|
padding:16px 20px;
|
||||||
text-align:left;
|
text-align:left;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 3. almenü követően */
|
/* 3. almenü követően */
|
||||||
nav ul ul ul li {
|
nav ul ul ul li {
|
||||||
|
@ -20,6 +20,9 @@
|
|||||||
<li><a href="#"><i class="fas fa-envelope-square"></i><Br/>{{ section.contact_text }}</a>
|
<li><a href="#"><i class="fas fa-envelope-square"></i><Br/>{{ section.contact_text }}</a>
|
||||||
<ul>
|
<ul>
|
||||||
{% if section.facebook %}
|
{% if section.facebook %}
|
||||||
|
<li><a href="mailto:{{ section.email }}"><i class="fas fa-envelope-square"></i>Email</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% if section.facebook %}
|
||||||
<li><a href="{{section.facebook}}"><i class="fab fa-facebook"></i>Facebook</a></li>
|
<li><a href="{{section.facebook}}"><i class="fab fa-facebook"></i>Facebook</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if section.linkedin %}
|
{% if section.linkedin %}
|
||||||
@ -33,6 +36,12 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
{% if section.email or section.phone %}
|
||||||
|
<li>
|
||||||
|
<p>{{ section.email }}</p>
|
||||||
|
<p>{{ section.phone }}</p>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user