inline font css (to improve speed)
This commit is contained in:
parent
083555aeab
commit
80c8ddc09d
2 changed files with 11 additions and 13 deletions
|
@ -1,12 +0,0 @@
|
|||
@font-face {
|
||||
font-family: 'silkscreennormal';
|
||||
src: url('slkscr-webfont.eot');
|
||||
src: url('slkscr-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('slkscr-webfont.woff') format('woff'),
|
||||
url('slkscr-webfont.ttf') format('truetype'),
|
||||
url('slkscr-webfont.svg#silkscreennormal') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
|
12
index.html
12
index.html
|
@ -19,6 +19,7 @@
|
|||
|
||||
<link rel="stylesheet" href="font/stylesheet.css" type="text/css" />
|
||||
<style type="text/css">
|
||||
body { padding:0px; margin:0px; background-color: #e33838; }
|
||||
#einladung {
|
||||
font-family: 'silkscreennormal';
|
||||
position: absolute;
|
||||
|
@ -35,7 +36,16 @@
|
|||
float: right;
|
||||
margin: 20px;
|
||||
}
|
||||
body { padding:0px; margin:0px; background-color: #e33838; }
|
||||
@font-face {
|
||||
font-family: 'silkscreennormal';
|
||||
src: url('font/slkscr-webfont.eot');
|
||||
src: url('font/slkscr-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('font/slkscr-webfont.woff') format('woff'),
|
||||
url('font/slkscr-webfont.ttf') format('truetype'),
|
||||
url('font/slkscr-webfont.svg#silkscreennormal') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Reference in a new issue