This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic); | |
.card | |
{ | |
background: #f1ecd0; | |
font-family: 'PT Sans', sans-serif; | |
position: relative; | |
padding: 60px; | |
width: 580px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body | |
{ | |
font: 16px/1.5 Helvetica,sans-serif; | |
} | |
.card | |
{ | |
/*не стоит зря ограничивать высоту | |
тогда при переполнении контентом он вылезет из |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div | |
{ | |
width: 200px; | |
height: 200px; | |
line-height: 200px; | |
text-align: center; | |
border: 1px solid; | |
} | |
img |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'PT Sans'; | |
font-style: normal; | |
font-weight: 400; | |
src: local('PT Sans'), local('PTSans-Regular'), url(http://themes.googleusercontent.com/static/fonts/ptsans/v4/oOt0DNfso2UXZt7DYCiN2gLUuEpTyoUstqEm5AMlJo4.woff) format('woff'); | |
} | |
.card |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ШРИФТ PT Sans!!! | |
http://yadisk.cc/d/9SY7DG5rGVj | |
http://yadisk.cc/d/h-4Gy1GtGVd | |
*/ | |
/* сбрасываем дефолтные отступы*/ | |
body | |
{ | |
margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ШРИФТ PT Sans!!! | |
http://yadisk.cc/d/9SY7DG5rGVj | |
http://yadisk.cc/d/h-4Gy1GtGVd | |
*/ | |
/* сбрасываем дефолтные отступы*/ | |
body | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ШРИФТ PT Sans!!! | |
http://yadisk.cc/d/9SY7DG5rGVj | |
http://yadisk.cc/d/h-4Gy1GtGVd | |
*/ | |
/* сбрасываем дефолтные отступы*/ | |
body | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Домашка */ | |
body | |
{ | |
margin: 0; | |
padding: 0; | |
font-family: PT Sans; | |
font-size: 14px; | |
} | |
.card |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="b-news-translation"> | |
<article class="b-news-translation__col"> | |
<h3 class="b-news-translation__title"></h3> | |
<div class="b-news-item"> | |
<div class="b-date"></div> | |
<div class="b-news-item__body"></div> | |
</div> | |
</article> | |
... | |
</section> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 | |
{ | |
font: 16px/1.6em Helvetica, sans-serif; | |
} | |
a | |
{ | |
background: #faf4d3; | |
} |