forked from wezm/wezm.net
Add CSS transition to feed icons
This commit is contained in:
parent
7f7debb6fd
commit
02412458f3
2 changed files with 18 additions and 15 deletions
|
@ -77,16 +77,18 @@ a
|
|||
h1 a
|
||||
text-decoration: none
|
||||
|
||||
|
||||
body.home h1 > a:hover
|
||||
border-bottom: 2px solid #111
|
||||
|
||||
|
||||
h1 a
|
||||
&:link, &:visited
|
||||
color: #111
|
||||
|
||||
|
||||
body.home h1 > a
|
||||
-webkit-transition: border-bottom-color 500ms
|
||||
border-bottom: 2px solid rgba(17, 17, 17, 0.0)
|
||||
|
||||
&:hover
|
||||
border-bottom-color: rgba(17, 17, 17, 1.0)
|
||||
|
||||
|
||||
sup
|
||||
vertical-align: super
|
||||
font-size: 0.8em
|
||||
|
@ -271,7 +273,7 @@ a
|
|||
margin-left: 2em
|
||||
|
||||
img
|
||||
-webkit-transition: opacity 500ms
|
||||
-webkit-transition: opacity 500ms ease-in
|
||||
position: absolute
|
||||
top: -75px
|
||||
|
||||
|
@ -359,6 +361,13 @@ img.alignleft
|
|||
margin: 5px 10px 5px 0
|
||||
|
||||
|
||||
img.feed-icon
|
||||
-webkit-transition: opacity 500ms
|
||||
opacity: 0.5
|
||||
|
||||
&:hover
|
||||
opacity: 1.0
|
||||
|
||||
#content .alignright, img.alignright
|
||||
float: right
|
||||
margin: 5px 0 5px 10px
|
||||
|
@ -413,9 +422,3 @@ table
|
|||
|
||||
img a
|
||||
border: none
|
||||
|
||||
img.feed-icon
|
||||
opacity: 0.75
|
||||
|
||||
&:hover
|
||||
opacity: 1.0
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<section id="technical" class="column">
|
||||
<div>
|
||||
<h1><a href="/technical/articles/">Technical</a>
|
||||
<sup><a href="http://feeds.feedburner.com/wezm-technical"><img src="/images/black-feed-icon.png" width="12" height="12" alt="Black Feed Icon" /></a></sup>
|
||||
<sup><a href="http://feeds.feedburner.com/wezm-technical"><img src="/images/black-feed-icon.png" class="feed-icon" width="12" height="12" alt="Black Feed Icon" /></a></sup>
|
||||
</h1>
|
||||
<ul class="articles">
|
||||
<% technical_articles[0..4].each do |article| %>
|
||||
|
@ -27,7 +27,7 @@
|
|||
<section id="personal" class="column">
|
||||
<div>
|
||||
<h1><a href="/personal/articles/">Personal</a>
|
||||
<sup><a href="http://feeds.feedburner.com/wezm-personal"><img src="/images/black-feed-icon.png" width="12" height="12" /></a></sup>
|
||||
<sup><a href="http://feeds.feedburner.com/wezm-personal"><img src="/images/black-feed-icon.png" class="feed-icon" width="12" height="12" /></a></sup>
|
||||
</h1>
|
||||
<ul class="articles">
|
||||
<% personal_articles[0..4].each do |article| %>
|
||||
|
|
Loading…
Reference in a new issue