Logo css change

This commit is contained in:
gabeszm 2025-01-06 10:59:16 +01:00
parent 375ef7c953
commit 9f6db74f67
2 changed files with 432 additions and 435 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,6 @@
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<title><?php bloginfo("name"); ?> - <?php wp_title(); ?></title>
<meta charset="<?php bloginfo("charset"); ?>">
@ -8,14 +9,14 @@
<meta name="author" content="Nippy">
<meta name="keywords" content="RavePriest1, Blog,">
<link rel="shortcut icon" href="<?php echo get_bloginfo(
"template_directory"
); ?>/assets/img/favicons/favicon.ico">
"template_directory"
); ?>/assets/img/favicons/favicon.ico">
<link rel="apple-touch-icon" sizes="120x120" href="<?php echo get_bloginfo(
"template_directory"
); ?>/assets/img/favicons/favicon-120.png">
"template_directory"
); ?>/assets/img/favicons/favicon-120.png">
<link rel="apple-touch-icon" sizes="152x152" href="<?php echo get_bloginfo(
"template_directory"
); ?>/assets/img/favicons/favicon-152.png">
"template_directory"
); ?>/assets/img/favicons/favicon-152.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php wp_head(); ?>
</head>
@ -29,50 +30,50 @@
<?php
$nav_position = get_theme_mod("esc_header_nav_position", "default");
$header_layout = get_theme_mod("esc_header_layout", "default");
?>
$nav_position = get_theme_mod("esc_header_nav_position", "default");
$header_layout = get_theme_mod("esc_header_layout", "default");
?>
<header id="header" class="header pinning-nav pinned pinning-top header--nav-position-<?php echo esc_attr(
$nav_position
); ?> header--layout-<?php echo esc_attr($header_layout); ?>">
$nav_position
); ?> header--layout-<?php echo esc_attr($header_layout); ?>">
<!-- Logo -->
<div class="header__logo header__logo--img">
<?php if (has_custom_logo()): ?>
<?php the_custom_logo(); ?>
<?php else: ?>
<h1 class="site-title">
<a href="<?php echo esc_url(home_url("/")); ?>">
<?php bloginfo("name"); ?>
</a>
</h1>
<?php endif; ?>
<?php if (has_custom_logo()): ?>
<?php the_custom_logo(); ?>
<?php else: ?>
<h1 class="site-title">
<a href="<?php echo esc_url(home_url("/")); ?>">
<?php bloginfo("name"); ?>
</a>
</h1>
<?php endif; ?>
</div>
<!-- Main Navigation -->
<nav class="main-nav">
<?php
$nav_classes = ["main-nav__list"];
$nav_link_active = get_theme_mod("esc_header_nav_active", "diagonal-line");
$nav_link_hover = get_theme_mod("esc_header_nav_hover", "diagonal-line");
$nav_classes = ["main-nav__list"];
$nav_link_active = get_theme_mod("esc_header_nav_active", "diagonal-line");
$nav_link_hover = get_theme_mod("esc_header_nav_hover", "diagonal-line");
if ("diagonal-line" === $nav_link_active) {
$nav_classes[] = "main-nav__list--active-diagonal-line";
}
if ("diagonal-line" === $nav_link_active) {
$nav_classes[] = "main-nav__list--active-diagonal-line";
}
if ("diagonal-line" === $nav_link_hover) {
$nav_classes[] = "main-nav__list--hover-diagonal-line";
}
$nav_classes = implode(" ", $nav_classes);
if ("diagonal-line" === $nav_link_hover) {
$nav_classes[] = "main-nav__list--hover-diagonal-line";
}
$nav_classes = implode(" ", $nav_classes);
wp_nav_menu([
"theme_location" => "header-menu",
"menu_id" => "menu-menu-1",
"menu_class" => $nav_classes,
"container" => false,
]);
?>
wp_nav_menu([
"theme_location" => "header-menu",
"menu_id" => "menu-menu-1",
"menu_class" => $nav_classes,
"container" => false,
]);
?>
</nav>
<div class="header__spacer"></div>
@ -82,49 +83,56 @@
<ul class="social-links social-links--circle">
<li class="social-links__item">
<a class="social-links__link" href="https://search.rp1.hu" target="_blank" title="Keresés" alt="kereses" aria-label="Keresés"><i class="fa fa-search"></i></a>
<li class="social-links__item">
<a class="social-links__link" href="https://search.rp1.hu" target="_blank" title="Keresés" alt="kereses"
aria-label="Keresés"><i class="fa fa-search"></i></a>
</li>
<!-- -- <div id="search-overlay">
<div class="search-container">
<form role="search" method="get" id="search-form" action="<?php echo esc_url(
home_url("/")
); ?>" class="input-group">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="fas fa-search text-muted"></i>
</span>
</div>
<input type="search" class="form-control border-0" placeholder="Search" aria-label="search" name="s" id="search-input" value="<?php echo esc_attr(
get_search_query()
); ?>">
</div>
</form>
</div>
</div>
<!-- -- <div id="search-overlay">
<div class="search-container">
<form role="search" method="get" id="search-form" action="<?php echo esc_url(
home_url("/")
); ?>" class="input-group">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="fas fa-search text-muted"></i>
</span>
</div>
<input type="search" class="form-control border-0" placeholder="Search" aria-label="search" name="s" id="search-input" value="<?php echo esc_attr(
get_search_query()
); ?>">
</div>
</form>
</div>
</div>
-->
<li class="social-links__item">
<a class="social-links__link" href="https://streamlabs.com/ravepriest1/tip" target="_blank" title="Támogatás" alt="tamogatas" aria-label="Támogatás"><i class="fa-solid fa-wallet"></i></a>
<a class="social-links__link" href="https://streamlabs.com/ravepriest1/tip" target="_blank"
title="Támogatás" alt="tamogatas" aria-label="Támogatás"><i class="fa-solid fa-wallet"></i></a>
</li>
<li class="social-links__item">
<a class="social-links__link" href="https://git.rp1.hu/explore/repos" target="_blank" title="RP Gitea" alt="rpgitea" aria-label="RP Gitea"><i class="fab fa-git"></i></a>
<a class="social-links__link" href="https://git.rp1.hu/explore/repos" target="_blank" title="RP Gitea"
alt="rpgitea" aria-label="RP Gitea"><i class="fab fa-git"></i></a>
</li>
<li class="social-links__item">
<a class="social-links__link" href="https://www.youtube.com/@RPslair" target="_blank" title="RP YouTube" alt="rpyoutube" aria-label="RP YouTube"><i class="fab fa-youtube"></i></a>
<a class="social-links__link" href="https://www.youtube.com/@RPslair" target="_blank" title="RP YouTube"
alt="rpyoutube" aria-label="RP YouTube"><i class="fab fa-youtube"></i></a>
</li>
<li class="social-links__item">
<a class="social-links__link" href="https://www.twitch.tv/ravepriest1" target="_blank" title="RP Twitch" alt="rptwitch" aria-label="RP Twitch"><i class="fab fa-twitch"></i></a>
<a class="social-links__link" href="https://www.twitch.tv/ravepriest1" target="_blank" title="RP Twitch"
alt="rptwitch" aria-label="RP Twitch"><i class="fab fa-twitch"></i></a>
</li>
<li class="social-links__item">
<a class="social-links__link" href="https://kick.com/ravepriest1" target="_blank" title="RP Kick" alt="rpkick" aria-label="RP Kick"><i class="fab fa-kickstarter"></i></a>
<a class="social-links__link" href="https://kick.com/ravepriest1" target="_blank" title="RP Kick"
alt="rpkick" aria-label="RP Kick"><i class="fab fa-kickstarter"></i></a>
</li>
<li class="social-links__item">
<a class="social-links__link" href="https://discord.gg/gSdVMXRFQc" target="_blank" title="RP Discord" alt="rpdiscord" aria-label="RP Discord"><i class="fab fa-discord"></i></a>
<a class="social-links__link" href="https://discord.gg/gSdVMXRFQc" target="_blank" title="RP Discord"
alt="rpdiscord" aria-label="RP Discord"><i class="fab fa-discord"></i></a>
</li>
</ul>
</nav>
@ -137,4 +145,4 @@
<span class="burger-menu-icon__line"></span>
</a>
<!-- Mobile Burger Menu Icon / End -->
</header>
</header>