Header - Drop unwanted content, greatly reduce the minimum size

This commit is contained in:
Antoine Le Gonidec 2024-07-25 12:35:34 +02:00
parent f37da22512
commit fdab8b5a28
Signed by: vv221
GPG key ID: 636B78F91CEB80D8
3 changed files with 3 additions and 36 deletions

View file

@ -1258,7 +1258,7 @@ html[lang="el-GR"] .inline_mod_check {
flex-wrap: wrap;
justify-content: center;
flex-direction: column;
min-height: 8em;
min-height: 4em;
}
#header::after {
content: "";
@ -4727,15 +4727,6 @@ img.theme_thumbnail {
right: 0;
}
.khbb_subtitle {
display: flex;
justify-content: space-between;
max-width: 1200px;
margin: 0 auto;
width: 90%;
}
.cat_bar {
display: flex;
flex-wrap: wrap;

View file

@ -70,15 +70,9 @@
}
/* Autres modifs maisons */
.khbb_subtitle {
justify-content: center;
}
.khbb_identity {
max-width: initial;
}
.khbb_subtitle .news {
display: none !important;
}
/* Board */
.cat_bar .lastpost {
display: none !important;

View file

@ -218,26 +218,8 @@ echo '<div class="khbb_body">';
<div id="header">
<h1 class="forumtitle">
<a id="top" href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name_html_safe'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name_html_safe'] . '">', '</a>
</h1>';
// Sur quel compte on est co ? Ou invité.
echo '
<div class="khbb_subtitle">
<div class="khbb_identity" title="">
<span class="textmenu">', $txt['hello_guest'], $context['user']['name'], '</span></a>
</div> ';
// les slogans ! utilisation des "news" pour cela.
// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']) && !empty($context['random_news_line']))
echo '
<div class="news">
<p>', $context['random_news_line'], '</p>
</div>';
echo '
</div>
</div>';
echo '
</h1>
</div>
<div id="wrapper">';
// début menu du haut. On reconstruit sauce maison.
echo '<a class="mobile_user_menu">