Permalink
Browse files

refactor: HD logo image 高清图标

  • Loading branch information...
MOxFIVE committed Apr 17, 2016
1 parent 938b847 commit acc93bb6083cd0281ee6b9b72e53a8408dfafa74
@@ -19,24 +19,23 @@
opacity 1
transform scale(1.1)
img-logo = {
"新浪微博": #ecc260
"知乎": #0078d8
"豆瓣": #06c611
V2EX: #e4cdb4
TiddlyWiki: #6283dd
"简书": #e99888
SegmentFault: #018f56
"网易云音乐": #e51e02
"虾米音乐": #ff6a00
}
img-logo = "新浪微博" #ecc260 80%,
"知乎" #0078d8 90%,
"豆瓣" #06c611 88%,
V2EX #e4cdb4 78%,
TiddlyWiki #6283dd 82%,
"简书" #e99888 82%,
SegmentFault #018f56 80%,
"网易云音乐" #e51e02 80%,
"虾米音乐" #ff6a00 82%
for name, color in img-logo
.{name}:before
for i in img-logo
.{i[0]}:before
content '\f18a'
color transparent
#{name}
background: url(root-url + '/img/' + name + '.png') center no-repeat color
#{i[0]}
background: url(root-url + '/img/' + i[0] + '.png') center no-repeat i[1]
background-size: i[2]
.GitHub:before
content '\f18a'
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.

0 comments on commit acc93bb

Please sign in to comment.