add temporary navbar hover
This commit is contained in:
parent
35bcfe9567
commit
f9cb750c17
4 changed files with 4 additions and 0 deletions
BIN
_img/hover.xcf
BIN
_img/hover.xcf
Binary file not shown.
|
|
@ -79,12 +79,14 @@ body {
|
|||
&:hover { background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, c.adjust($color: mp.$link, $saturation: 4%, $lightness: -10%) 100%); }
|
||||
}
|
||||
--hover-image: url('/img/nav/default_hover.jpg');
|
||||
/* TODO: finish each navbar image
|
||||
&#home:hover ~ #nav-hover { --hover-image: url('/img/nav/home_hover.jpg'); }
|
||||
&#about:hover ~ #nav-hover { --hover-image: url('/img/nav/about_hover.jpg'); }
|
||||
&#blog:hover ~ #nav-hover { --hover-image: url('/img/nav/blog_hover.jpg'); }
|
||||
&#reviews:hover ~ #nav-hover { --hover-image: url('/img/nav/reviews_hover.jpg'); }
|
||||
&#links:hover ~ #nav-hover { --hover-image: url('/img/nav/links_hover.jpg'); }
|
||||
&#contact:hover ~ #nav-hover { --hover-image: url('/img/nav/contact_hover.jpg'); }
|
||||
*/
|
||||
}
|
||||
#nav-hover {
|
||||
width: 100%;
|
||||
|
|
@ -92,6 +94,8 @@ body {
|
|||
max-height: 103px;
|
||||
background: mp.$bg;
|
||||
background-image: var(--hover-image, none);
|
||||
/* temporary until i finish navbar images */
|
||||
&:hover { --hover-image: url('/img/nav/temp_hover.jpg'); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
BIN
img/nav/about_hover.jpg
Normal file
BIN
img/nav/about_hover.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
BIN
img/nav/temp_hover.jpg
Normal file
BIN
img/nav/temp_hover.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
Loading…
Add table
Reference in a new issue