move hovers into nav folder
This commit is contained in:
parent
371e308852
commit
35bcfe9567
5 changed files with 7 additions and 7 deletions
BIN
_img/hover.xcf
BIN
_img/hover.xcf
Binary file not shown.
|
|
@ -78,13 +78,13 @@ 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/default_hover.jpg');
|
||||
&#home:hover ~ #nav-hover { --hover-image: url('/img/home_hover.jpg'); }
|
||||
&#about:hover ~ #nav-hover { --hover-image: url('/img/about_hover.jpg'); }
|
||||
&#blog:hover ~ #nav-hover { --hover-image: url('/img/blog_hover.jpg'); }
|
||||
&#reviews:hover ~ #nav-hover { --hover-image: url('/img/reviews_hover.jpg'); }
|
||||
&#links:hover ~ #nav-hover { --hover-image: url('/img/links_hover.jpg'); }
|
||||
&#contact:hover ~ #nav-hover { --hover-image: url('/img/contact_hover.jpg'); }
|
||||
--hover-image: url('/img/nav/default_hover.jpg');
|
||||
&#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%;
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
BIN
img/nav/home_hover.jpg
Normal file
BIN
img/nav/home_hover.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
Loading…
Add table
Reference in a new issue