Nie działa mi edycja ikon, nie chce się zmieniać ich rozmiar. Robię wszystko na podstawie kursu z yt HTML lekcji 3.
fontello.css
@font-face {
font-family: 'fontello';
src: url('../font/fontello.eot?44527830');
src: url('../font/fontello.eot?44527830#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?44527830') format('woff2'),
url('../font/fontello.woff?44527830') format('woff'),
url('../font/fontello.ttf?44527830') format('truetype'),
url('../font/fontello.svg?44527830#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?44527830#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-user:before { content: '\e800'; font-size:76px; margin-top:20px;} /* '' */
.icon-mail:before { content: '\e801'; font-size:76px; margin-top:20px; } /* '' */
.icon-twitter:before { content: '\f099'; font-size:76px; margin-top:35px; } /* '' */
.icon-facebook:before { content: '\f09a'; font-size:76px; margin-top: 35px; } /* '' */
.icon-gplus:before { content: '\f0d5'; font-size:76px; margin-top:35px;} /* '' */
.icon-mail-alt:before { content: '\f0e0'; font-size:76px; margin-top:20px; } /* '' */
.icon-laptop:before { content: '\f109'; font-size:76px; margin-top:20px; } /* '' */
.icon-youtube:before { content: '\f167'; font-size:76px; margin-top:35px; } /* '' */
.icon-graduation-cap:before { content: '\f19d'; font-size:76px; margin-top:20px; } /* '' */
indeks.html
<!DOCTYPE HTML>
<html lang="pl">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>moje-Portfolio</title>
<meta name="description" content=" Ucze sie robić strony w HTML, to jest efekt mej pracy"/>
<meta name="keywords" content="nauka,strony,programowanie,html"/>
<link rel="stylesheet" href="style.css" type="text/css"/>
<link rel="stylesheet" href="css/fontello.css" type="text/css"/>
<link href='http://fonts.googleapis.com/css?family=Josefin+Sans&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="container">
<div class="rectangle">
<div id="logo">to ja</div>
<div id="zegar">12:00:00</div>
<div style="clear:both;"></div>
</div>
<div class="square">
<div class="tile1">
<i class="icon-user"></i><br/>Kim jestem?
</div>
<div class="tile1">
<i class="icon-laptop"></i><br/>Co oferuje
</div>
<div style="clear:both;"></div>
<div class="tile2">
<i class="icon-graduation-cap"></i><br/>CV
</div>
<div class="tile3">
<i class="icon-mail"></i><br/>Kontakt
</div>
<div style="clear:both;"></div>
<div class="tile4">
<i>Bla bla bla.</i> </br> </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">
<i class="icon-gplus"></i>
</div>
<div class="tw">
<i class="icon-twitter"></i>
</div>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
<div class="rectangle">2015 © -zapraszam.<i class="icon-mail-alt"></i>
</div>
</div>
</body>
</html>