add retina logo

This commit is contained in:
menglingjun 2014-12-23 15:13:34 +08:00
parent e653bd6687
commit 4acd274918
5 changed files with 13 additions and 3 deletions

View File

@ -49,10 +49,14 @@ body, html {
top: 0;
>.logo {
float: left;
width: 180px;
height: 50px;
background: url(./img/logo.png) no-repeat;
float: left;
background-color: #fff;
background-position: center;
background-image: url(./img/logo@1x.png);
background-image: -webkit-image-set(url(./img/logo@1x.png) 1x, url(./img/logo@2x.png) 2x);
background-repeat: no-repeat;
}
>.action-groups {
@ -148,7 +152,7 @@ body, html {
background: rgba(112, 119, 128, 1);
margin-top: -40px;
}
.close-editor {
position: absolute;
right: 0;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

BIN
css/img/logo@1x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
css/img/logo@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -139,6 +139,12 @@ a:hover {
.i-tangencyshapes:before {
content: '\e027';
}
.i-rangemode:before {
content: '\e029';
}
.i-pointmode:before {
content: '\e028';
}
.glyf-editor {
width: 100%;
height: 100%;