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>
|
<body>
|
||||||
<div class="main-page-wrapper">
|
<div class="main-page-wrapper">
|
||||||
<div class="header-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>
|
</div>
|
||||||
{% include "topmost_navbar.njk" %}
|
{% include "topmost_navbar.njk" %}
|
||||||
<marquee class="motd" behavior="scroll" direction="left">
|
<marquee class="motd" behavior="scroll" direction="left">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
@use "sass:color" as c;
|
||||||
|
|
||||||
@use "general";
|
@use "general";
|
||||||
@use "fonts";
|
@use "fonts";
|
||||||
@use "main-palette" as mp;
|
@use "main-palette" as mp;
|
||||||
|
|
@ -8,14 +10,28 @@ body {
|
||||||
background-repeat: repeat;*/
|
background-repeat: repeat;*/
|
||||||
|
|
||||||
a { color: mp.$link; }
|
a { color: mp.$link; }
|
||||||
|
a:hover { color: c.adjust($color: mp.$link, $saturation: 4%, $lightness: 10%); }
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-wrapper{
|
.header-wrapper {
|
||||||
display: inline;
|
|
||||||
|
|
||||||
.header-banner {
|
.header-banner {
|
||||||
display: inherit;
|
background-image: url("/img/home_banner.jpg");
|
||||||
|
width: 300px;
|
||||||
|
height: 140px;
|
||||||
border: 1px solid mp.$border;
|
border: 1px solid mp.$border;
|
||||||
border-radius: 0% 0% 20px 0%;
|
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