Permalink
Browse files

Added back books.

  • Loading branch information...
fredwu committed Jan 20, 2011
1 parent 0a8a582 commit b7ebed8cffdfcae4bc9e510114fd324d76354cf9
@@ -6,6 +6,7 @@
'names' => 'names',
'nicks' => 'a.k.a.',
'sites' => 'sites',
+ 'books' => 'books',
'services' => 'social',
}
@@ -13,7 +13,7 @@ def link_to_service(name, service)
end
def link_to_book(isbn)
- link_to isbn, 'http://books.google.com/books?as_isbn=' + isbn
+ link_to isbn, 'http://www.google.com/search?tbs=bks:1&tbo=1&q=isbn:' + isbn
end
def markdownsize(text)
@@ -159,11 +159,11 @@ body
li
font-size: 13px
padding-top: 5px
- &.social
+ &.social, &.books
margin-bottom: -3px
li
float: left
- margin-right: 5px
+ margin-right: 3px
a
display: block
width: 16px
@@ -182,6 +182,9 @@ body
background: url("/images/social-icons/mixi.png") no-repeat
li.twitter a
background: url("/images/social-icons/twitter.png") no-repeat
+ &.books
+ li a
+ background: url("/images/social-icons/book.png") no-repeat
td.bios
width: 520px
font-size: 15px
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -193,29 +193,31 @@ body {
#container table#list tr.person td.meta table td ul li {
font-size: 13px;
padding-top: 5px; }
- #container table#list tr.person td.meta table td ul.social {
+ #container table#list tr.person td.meta table td ul.social, #container table#list tr.person td.meta table td ul.books {
margin-bottom: -3px; }
- #container table#list tr.person td.meta table td ul.social li {
+ #container table#list tr.person td.meta table td ul.social li, #container table#list tr.person td.meta table td ul.books li {
float: left;
- margin-right: 5px; }
- #container table#list tr.person td.meta table td ul.social li a {
+ margin-right: 3px; }
+ #container table#list tr.person td.meta table td ul.social li a, #container table#list tr.person td.meta table td ul.books li a {
display: block;
width: 16px;
height: 16px;
text-indent: -9999px;
border: none; }
- #container table#list tr.person td.meta table td ul.social li.facebook a {
+ #container table#list tr.person td.meta table td ul.social li.facebook a, #container table#list tr.person td.meta table td ul.books li.facebook a {
background: url("/images/social-icons/facebook.png") no-repeat; }
- #container table#list tr.person td.meta table td ul.social li.friendfeed a {
+ #container table#list tr.person td.meta table td ul.social li.friendfeed a, #container table#list tr.person td.meta table td ul.books li.friendfeed a {
background: url("/images/social-icons/friendfeed.png") no-repeat; }
- #container table#list tr.person td.meta table td ul.social li.github a {
+ #container table#list tr.person td.meta table td ul.social li.github a, #container table#list tr.person td.meta table td ul.books li.github a {
background: url("/images/social-icons/github.png") no-repeat; }
- #container table#list tr.person td.meta table td ul.social li.iddy a {
+ #container table#list tr.person td.meta table td ul.social li.iddy a, #container table#list tr.person td.meta table td ul.books li.iddy a {
background: url("/images/social-icons/iddy.png") no-repeat; }
- #container table#list tr.person td.meta table td ul.social li.mixi a {
+ #container table#list tr.person td.meta table td ul.social li.mixi a, #container table#list tr.person td.meta table td ul.books li.mixi a {
background: url("/images/social-icons/mixi.png") no-repeat; }
- #container table#list tr.person td.meta table td ul.social li.twitter a {
+ #container table#list tr.person td.meta table td ul.social li.twitter a, #container table#list tr.person td.meta table td ul.books li.twitter a {
background: url("/images/social-icons/twitter.png") no-repeat; }
+ #container table#list tr.person td.meta table td ul.books li a {
+ background: url("/images/social-icons/book.png") no-repeat; }
#container table#list tr.person td.bios {
width: 520px;
font-size: 15px; }

0 comments on commit b7ebed8

Please sign in to comment.