Private
Public Access
1
0

fix: usr: the css problem had been solved on reponsive gfx on homepage #4

This commit is contained in:
2026-04-18 10:34:46 +02:00
parent bd074c5c9d
commit a9ee28b395
5 changed files with 20 additions and 19 deletions

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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;
}
} }

View File

@@ -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>