fix: usr: the css problem had been solved on reponsive gfx on homepage #4
This commit is contained in:
@@ -1,14 +1,15 @@
|
|||||||
.hero-auth {
|
#hero-auth {
|
||||||
position: absolute;
|
padding: 20px;
|
||||||
top: 28px;
|
|
||||||
right: 36px;
|
.hero-auth {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-auth-user {
|
.hero-auth-user {
|
||||||
font: 600 13px 'Rajdhani', sans-serif;
|
font: 600 13px 'Rajdhani', sans-serif;
|
||||||
color: rgba(149, 207, 245, 0.75);
|
color: rgba(149, 207, 245, 0.75);
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
@@ -17,6 +18,13 @@
|
|||||||
gap: 6px;
|
gap: 6px;
|
||||||
|
|
||||||
i { font-size: 15px; }
|
i { font-size: 15px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1100px) {
|
||||||
|
.hero-auth {
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-auth-btn {
|
.hero-auth-btn {
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ footer {
|
|||||||
gap: 40px;
|
gap: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Left: brand block
|
|
||||||
.footer-brand {
|
.footer-brand {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -55,7 +54,6 @@ footer {
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Right: navigation
|
|
||||||
.footer-nav-label {
|
.footer-nav-label {
|
||||||
font: 700 11px 'Rajdhani', sans-serif;
|
font: 700 11px 'Rajdhani', sans-serif;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
@@ -91,7 +89,6 @@ footer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bottom copyright bar
|
|
||||||
.footer-copy {
|
.footer-copy {
|
||||||
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
||||||
padding: 16px 60px;
|
padding: 16px 60px;
|
||||||
|
|||||||
@@ -320,7 +320,6 @@ footer nav ul li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
footer nav ul li:nth-child(even) {
|
footer nav ul li:nth-child(even) {
|
||||||
width: 50px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -401,8 +400,4 @@ footer nav ul li a:hover {
|
|||||||
footer nav ul li {
|
footer nav ul li {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer nav ul li:nth-child(even) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,9 +23,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<section
|
<section id="hero-auth">
|
||||||
class="hero{% if app.request.attributes.get('_route') != 'MineSeekerBundle_homepage' %} hero--compact{% endif %}">
|
|
||||||
|
|
||||||
<div class="hero-auth">
|
<div class="hero-auth">
|
||||||
{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
|
{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
|
||||||
<a href="{{ path('MineSeekerBundle_profile') }}" class="hero-auth-btn hero-auth-btn--profile">
|
<a href="{{ path('MineSeekerBundle_profile') }}" class="hero-auth-btn hero-auth-btn--profile">
|
||||||
@@ -56,7 +54,10 @@
|
|||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section
|
||||||
|
class="hero{% if app.request.attributes.get('_route') != 'MineSeekerBundle_homepage' %} hero--compact{% endif %}">
|
||||||
<a class="hero-logo" href="{{ path('MineSeekerBundle_homepage') }}">
|
<a class="hero-logo" href="{{ path('MineSeekerBundle_homepage') }}">
|
||||||
<img src="{{ asset('images/mine-logo-txt.png') }}" alt="MineSeeker"/>
|
<img src="{{ asset('images/mine-logo-txt.png') }}" alt="MineSeeker"/>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user