Skip to content

Commit

Permalink
refactor: HD logo image 高清图标
Browse files Browse the repository at this point in the history
  • Loading branch information
MOxFIVE committed Apr 17, 2016
1 parent 938b847 commit acc93bb
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions source/css/_partial/customise/social-icon.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Binary file modified source/img/SegmentFault.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/img/TiddlyWiki.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/img/V2EX.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/img/新浪微博.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/img/知乎.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/img/简书.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/img/网易云音乐.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/img/虾米音乐.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/img/豆瓣.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit acc93bb

Please sign in to comment.