Chcąc wstawić na stronę ikony Fontello napotkałem spory problem, nie wyświetlają się. Wie może ktoś dlaczego ?
HTML
<!DOCTYPE HTML>
<html lang="pl">
<head>
<meta charset="utf-8" />
<title>portfolio</title>
<meta name="portfolio" content="Stworze dla Ciebie świetną strone WWW!" />
<meta name="keywords" content="portfolio, WWW, webmaster, programista, strona" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="stylesheet" href="portfolio.css" type="text/css"/>
<link rel="stylesheet" href="css/fontello.css" type="text/css"/>
<link href='https://fonts.googleapis.com/css?family=Lato|Josefin+Sans&subset=latin-ext,latin' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="box">
<div class="rectangle"></div>
<div id="logo">Jan Kowalski</div>
<div id="zegar">12.00.00</div>
<div style="clear: both;"></div>
<div class="square">
<div class="tile1">1</div>
<div class="tile1">1</div>
<div style="clear: both;"></div>
<div class="tile2">2</div>
<div class="tile3">3</div>
<div style="clear: both;"></div>
<div class="tile4">4</div>
</div>
<div class="square">
<div class="tile5">5</div>
<div class="yt">
<i class="icon-youtube"></i>
</div>
<div class="fb">
<i class="icon-facebook"></i>
</div>
<div class="gplus">gplus</div>
<div class="tw">tw</div>
<div style="clear: both;"></div>
</div>
<div style="clear: both;"></div>
<div class="rectangle">2016 © </div>
</div>
</body>
</html>
CSS
body
{
background-color: #303030;
color: #FFFFFF;
font-family: 'Lato', sans-serif;
font-size: 20px;
}
#box
{
width: 1000px;
margin-left: auto;
margin-right: auto;
}
.rectangle
{
width: 960px;
margin: 20px;
color: white;
}
.square
{
width: 50%;
float: left;
}
#logo
{
float:left;
font-family: 'Josefin Sans', sans-serif;
font-size: 70px;
width: 600px;
}
#zegar
{
float:left;
font-family: 'Josefin Sans', sans-serif;
font-size: 70px;
}
.tile1
{
margin: 10px;
width: 230px;
height: 142px;
float: left;
background-color: #3095D3;
}
.tile2
{
margin: 10px;
width: 230px;
height: 142px;
float: left;
background-color: #666666;
}
.tile3
{
margin: 10px;
width: 230px;
height: 142px;
float: left;
background-color: #93C748;
}
.tile4
{
margin: 10px;
width: 480px;
height: 142px;
background-color: #ee5a32;
}
.tile5
{
margin: 10px;
width: 480px;
height: 304px;
background-color: #666666;
}
.yt
{
margin: 10px;
width: 105px;
height: 142px;
float: left;
background-color: #D94348;
}
.fb
{
margin: 10px;
width: 105px;
height: 142px;
float: left;
background-color: #4668b3;
}
.gplus
{
margin: 10px;
width: 105px;
height: 142px;
float: left;
background-color: #d95333;
}
.tw
{
margin: 10px;
width: 105px;
height: 142px;
float: left;
background-color: #3095d3;
}
CSS Fontello
@font-face {
font-family: 'fontello';
src: url('../font/fontello.eot?62524664');
src: url('../font/fontello.eot?62524664#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?62524664') format('woff2'),
url('../font/fontello.woff?62524664') format('woff'),
url('../font/fontello.ttf?62524664') format('truetype'),
url('../font/fontello.svg?62524664#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'fontello';
src: url('../font/fontello.svg?62524664#fontello') format('svg');
}
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "fontello";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal;
text-transform: none;
/* fix buttons height, for twitter bootstrap */
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: .2em;
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */
/* Font smoothing. That was taken from TWBS */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
.icon-facebook:before { content: '\e800'; } /* '' */
.icon-twitter:before { content: '\e801'; } /* '' */
.icon-youtube:before { content: '\e802'; font-size: 70px} /* '' */
.icon-gplus:before { content: '\e803'; font-size: 70px; } /* '' */
.icon-user:before { content: '\e804'; } /* '' */
.icon-laptop:before { content: '\e805'; } /* '' */
.icon-graduation-cap:before { content: '\e806'; } /* '' */
.icon-mail:before { content: '\e807'; } /* '' */
.icon-mail-alt:before { content: '\e808'; } /* '' */