mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
Less obscure and simpler B&W thumb rollover CSS
This commit is contained in:
parent
d0e1d7ce66
commit
63c669e47c
1 changed files with 20 additions and 29 deletions
|
@ -187,35 +187,6 @@ ul#menu li {
|
|||
color: #aaa;
|
||||
}
|
||||
|
||||
/* Flickr thumbnails */
|
||||
#flickr {
|
||||
clear: both;
|
||||
}
|
||||
#flickr li {
|
||||
display: block;
|
||||
float: left;
|
||||
height: 75px;
|
||||
width: 75px;
|
||||
overflow: hidden;
|
||||
margin: 20px 0 0 20px;
|
||||
}
|
||||
#flickr li img {
|
||||
/* opacity: 0.7;*/
|
||||
}
|
||||
#flickr li img:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#flickr li:first-child {
|
||||
background: url(/images/photos/4302496460_a1ec313d06.jpg) no-repeat top left;
|
||||
}
|
||||
#flickr li:first-child:hover {
|
||||
background-position: 0 -75px;
|
||||
}
|
||||
#flickr li img:first-child {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* Inline flat list style */
|
||||
ul.inline {
|
||||
list-style: none;
|
||||
|
@ -224,3 +195,23 @@ ul.inline {
|
|||
ul.inline li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* Flickr thumbnails */
|
||||
#flickr {
|
||||
clear: both;
|
||||
}
|
||||
#flickr li {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
margin: 20px 0 0 20px;
|
||||
display: block;
|
||||
position: relative;
|
||||
height: 75px;
|
||||
width: 75px;
|
||||
}
|
||||
#flickr li img {
|
||||
position: absolute;
|
||||
}
|
||||
#flickr li img:hover {
|
||||
top: -75px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue