mirror of
https://github.com/ivuorinen/heart2.git
synced 2026-01-26 03:13:59 +00:00
Entypo webfont added, see license at http://creativecommons.org/licenses/by-sa/3.0/
This commit is contained in:
BIN
f/entypo.eot
Normal file
BIN
f/entypo.eot
Normal file
Binary file not shown.
13
f/entypo.svg
Normal file
13
f/entypo.svg
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" > <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
|
||||
<defs >
|
||||
<font id="entypo" horiz-adv-x="508" ><font-face
|
||||
font-family="Entypo"
|
||||
units-per-em="1000"
|
||||
panose-1="0 0 0 0 0 0 0 0 0 0"
|
||||
ascent="750"
|
||||
descent="-250"
|
||||
alphabetic="0" />
|
||||
<missing-glyph horiz-adv-x="500" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 471 B |
BIN
f/entypo.ttf
Normal file
BIN
f/entypo.ttf
Normal file
Binary file not shown.
BIN
f/entypo.woff
Normal file
BIN
f/entypo.woff
Normal file
Binary file not shown.
10
index.html
10
index.html
@@ -30,6 +30,7 @@
|
||||
}
|
||||
div.attribution a {
|
||||
text-transform: uppercase;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
}
|
||||
@@ -43,11 +44,12 @@
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-left: -200px;
|
||||
margin-top: -300px;
|
||||
margin-top: -200px;
|
||||
|
||||
text-align: center;
|
||||
font-size: 500px;
|
||||
line-height: 0%;
|
||||
color: #fff;
|
||||
line-height: 100%;
|
||||
|
||||
|
||||
-webkit-animation: heartanimation 10s infinite;
|
||||
@@ -64,8 +66,8 @@
|
||||
@-webkit-keyframes heartanimation
|
||||
{
|
||||
0% { font-size: 500px; color: #f00; }
|
||||
50% { font-size: 1000px; color: #900; width: 800px; height: 400px; margin-left: -400px; }
|
||||
100% { font-size: 500px; color: #f00; width: 400px; height: 200px; margin-left: -200px; }
|
||||
50% { font-size: 1000px; color: #900; width: 800px; height: 400px; margin-top: -400px; margin-left: -400px; }
|
||||
100% { font-size: 500px; color: #f00; width: 400px; height: 200px; margin-top: -200px; margin-left: -200px; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user