update banner
This commit is contained in:
parent
db3fef4809
commit
459e9565b3
4 changed files with 22 additions and 6 deletions
Binary file not shown.
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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
BIN
img/home_banner_hover.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
Loading…
Add table
Reference in a new issue