Created
May 7, 2012 22:03
-
-
Save smmurf/2630786 to your computer and use it in GitHub Desktop.
Страница карточек
This file contains 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
/** | |
* Страница карточек | |
*/ | |
.card { | |
overflow: auto; | |
margin: 5px; | |
padding: 5px; | |
border: 1px solid #ccc; | |
} | |
.photo { | |
float: left; | |
display: inline-block; | |
margin-right: 3px; | |
width: 64px; | |
height: 64px; | |
border: 1px solid #ccc; | |
text-align: center; | |
} | |
.photo img, | |
.photo i { | |
vertical-align: middle; | |
} | |
.photo img { | |
max-width: 64px; | |
max-height: 64px; | |
} | |
.photo i { | |
display: inline-block; | |
height: 100%; | |
} | |
.card h2 { | |
margin-top: 0; | |
word-spacing: .4ex; | |
letter-spacing: .2ex; | |
font-variant: small-caps; | |
font-size: large; | |
} |
This file contains 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
<!-- content to be placed inside <body>…</body> --> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6300/50952485.2/0_b328b_cbbc7166_XS.jpg" alt="photo"><i class="photo__i"></i> | |
</span> | |
<h2 class="card__title">Иванова Надежда Соломоновна</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6300/50952485.2/0_b328c_3fd835ed_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Константинопольский-Мовсесян Василий Заурович</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6209/50952485.2/0_b328d_5d26f2a_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Ли Си Цын</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6300/50952485.2/0_b328c_3fd835ed_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Аввакуумов Варлаам Харлампович</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6300/50952485.2/0_b328b_cbbc7166_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Зальц Ираида Арчибальдовна</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6300/50952485.2/0_b328c_3fd835ed_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Наум Федор Патрикеевич</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6209/50952485.2/0_b328d_5d26f2a_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Апполинарий Кондратьевич</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6300/50952485.2/0_b328b_cbbc7166_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Марина Викторовна</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6300/50952485.2/0_b328c_3fd835ed_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Павленко Павел Павлович</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6209/50952485.2/0_b328d_5d26f2a_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Петров Никифор</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6300/50952485.2/0_b328b_cbbc7166_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Какая-то Валентина Михайловна</h2> | |
</div> | |
<div class="card"> | |
<span class="photo"> | |
<img src="http://img-fotki.yandex.ru/get/6300/50952485.2/0_b328c_3fd835ed_XS.jpg" alt="photo"><i></i> | |
</span> | |
<h2>Делчев Яков Спиридонович</h2> | |
</div> |
This file contains 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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment