update banner

This commit is contained in:
yuki 2025-10-10 20:17:07 -03:00
parent db3fef4809
commit 459e9565b3
Signed by: yuki
GPG key ID: 0C98E6FF04EC3915
4 changed files with 22 additions and 6 deletions

Binary file not shown.

View file

@ -6,7 +6,7 @@
<body>
<div class="main-page-wrapper">
<div class="header-wrapper">
<img class="header-banner" src="/img/home_banner.jpg" alt="yukinets">
<a href="/"><div class="header-banner" alt="yukinets"></div></a>
</div>
{% include "topmost_navbar.njk" %}
<marquee class="motd" behavior="scroll" direction="left">

View file

@ -1,3 +1,5 @@
@use "sass:color" as c;
@use "general";
@use "fonts";
@use "main-palette" as mp;
@ -8,14 +10,28 @@ body {
background-repeat: repeat;*/
a { color: mp.$link; }
a:hover { color: c.adjust($color: mp.$link, $saturation: 4%, $lightness: 10%); }
}
.header-wrapper{
display: inline;
.header-wrapper {
.header-banner {
display: inherit;
background-image: url("/img/home_banner.jpg");
width: 300px;
height: 140px;
border: 1px solid mp.$border;
border-radius: 0% 0% 20px 0%;
}
}
.header-banner:hover{ background-image: url("/img/home_banner_hover.jpg"); }
}
.navbar-wrapper {
ul li {
display: inline;
a {
font-family: fonts.$ll;
font-weight: normal;
font-size: 1em;
}
}
}

BIN
img/home_banner_hover.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB