Skip to content

Commit

Permalink
C figure не получилось
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonov Alexey committed Nov 12, 2016
1 parent 5eedff1 commit 0fde218
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 40 deletions.
6 changes: 6 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ figure,
margin: 0;
}

.main-info
{
text-align: left;
padding: 0;
}

.main-info h2
{
font-size: 1em;
Expand Down
80 changes: 40 additions & 40 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ <h1 class="logo">Мяндекс.<span>Муррркет</span></h1>
</header>
<main class="main">
<article class="cat male">
<figure class="img-content">
<header class="img-content">
<img src="images/01.jpg" alt="Генрих 4" title="Генрих 4">
</figure>
<div class="info main-info">
</header>
<section class="info main-info">
<h2><a class="name" href="/7">Генрих IV (Henri IV, Henri le Grand). Born in 2014 year</a></h2>
<p><a class="category" href="/5">Кошка с черных окрасом</a></p>
<p class="sex">Мальчик</p>
Expand Down Expand Up @@ -52,18 +52,18 @@ <h2><a class="name" href="/7">Генрих IV (Henri IV, Henri le Grand). Born i
<input type="radio" id="cat1star5" name="rating1">
</div>
<p><span class="price current-price">1000</span></p>
</div>
</section>
<div class="info description">
<p>
Самодостаточный кот.
</p>
</div>
</article>
<article class="cat male">
<figure class="img-content">
<header class="img-content">
<img src="images/2.JPG" alt="Василий" title="Василий">
</figure>
<div class="info main-info">
</header>
<section class="info main-info">
<h2><a class="name" href="/7">Василий</a></h2>
<p><a class="category" href="/5">Сибирская кошка</a></p>
<p class="sex">Мальчик</p>
Expand Down Expand Up @@ -93,18 +93,18 @@ <h2><a class="name" href="/7">Василий</a></h2>
<p>
<span class="price current-price">1000</span> <span class="price old-price">1500</span>
</p>
</div>
</section>
<div class="info description">
<p>
Суровый кот, без вредных привычек.
</p>
</div>
</article>
<article class="cat male">
<figure class="img-content">
<header class="img-content">
<img src="images/3.jpg" alt="Барсик" title="Барсик">
</figure>
<div class="info main-info">
</header>
<section class="info main-info">
<h2><a class="name" href="/7">Барсик</a></h2>
<p><a class="category" href="/5">Сибирская кошка</a></p>
<p class="sex">Мальчик</p>
Expand Down Expand Up @@ -134,18 +134,18 @@ <h2><a class="name" href="/7">Барсик</a></h2>
<p>
<span class="price current-price">1200</span>
</p>
</div>
</section>
<div class="info description">
<p>
Стиснительный и лаксковый кот. Любит забираться на повыше.
</p>
</div>
</article>
<article class="cat female">
<figure class="img-content">
<header class="img-content">
<img src="images/4.jpg" alt="Даша" title="Даша">
</figure>
<div class="info main-info">
</header>
<section class="info main-info">
<h2><a class="name" href="/7">Даша</a></h2>
<p><a class="category" href="/5">Бирманская кошка</a></p>
<p class="sex">Девочка</p>
Expand Down Expand Up @@ -175,18 +175,18 @@ <h2><a class="name" href="/7">Даша</a></h2>
<p>
<span class="price current-price">1300</span> <span class="price old-price">1400</span>
</p>
</div>
</section>
<div class="info description">
<p>
Очень любит коробки.
</p>
</div>
</article>
<article class="cat female">
<figure class="img-content">
<header class="img-content">
<img src="images/5.jpg" alt="Василиса" title="Василиса">
</figure>
<div class="info main-info">
</header>
<section class="info main-info">
<h2><a class="name" href="/7">Василиса</a></h2>
<p><a class="category" href="/5">Сиамская кошка</a></p>
<p class="sex">Девочка</p>
Expand Down Expand Up @@ -216,18 +216,18 @@ <h2><a class="name" href="/7">Василиса</a></h2>
<p>
<span class="price current-price">1500</span> <span class="price old-price">1700</span>
</p>
</div>
</section>
<div class="info description">
<p>
Красаица, умница. Любит фотографироваться.
</p>
</div>
</article>
<article class="cat male">
<figure class="img-content">
<header class="img-content">
<img src="images/6.jpg" alt="Котя" title="Котя">
</figure>
<div class="info main-info">
</header>
<section class="info main-info">
<h2><a class="name" href="/7">Котя</a></h2>
<p><a class="category" href="/5">Рыжая кошка</a></p>
<p class="sex">Мальчик</p>
Expand Down Expand Up @@ -257,18 +257,18 @@ <h2><a class="name" href="/7">Котя</a></h2>
<p>
<span class="price current-price">250</span> <span class="price old-price">300</span>
</p>
</div>
</section>
<div class="info description">
<p>
Игривый котенок.
</p>
</div>
</article>
<article class="cat male">
<figure class="img-content">
<header class="img-content">
<img src="images/7.jpg" alt="Базилио" title="Базилио">
</figure>
<div class="info main-info">
</header>
<section class="info main-info">
<h2><a class="name" href="/7">Базилио</a></h2>
<p><a class="category" href="/5">Серый кот</a></p>
<p class="sex">Мальчик</p>
Expand Down Expand Up @@ -298,18 +298,18 @@ <h2><a class="name" href="/7">Базилио</a></h2>
<p>
<span class="price current-price">2000</span>
</p>
</div>
</section>
<div class="info description">
<p>
Сердитый кот.
</p>
</div>
</article>
<article class="cat female">
<div class="img-content">
<header class="img-content">
<img src="images/8.jpg" alt="Маруся" title="Маруся">
</div>
<div class="info main-info">
</header>
<section class="info main-info">
<h2><a class="name" href="/7">Маруся</a></h2>
<p><a class="category" href="/5">Трехцветная кошка</a></p>
<p class="sex">Девочка</p>
Expand Down Expand Up @@ -339,18 +339,18 @@ <h2><a class="name" href="/7">Маруся</a></h2>
<p>
<span class="price current-price">1300</span> <span class="price old-price">1350</span>
</p>
</div>
</section>
<div class="info description">
<p>
Добрая, весела кошка. С ней вам всегда будет не скучно.
</p>
</div>
</article>
<article class="cat female">
<figure class="img-content">
<header class="img-content">
<img src="images/9.jpg" alt="Варя" title="Варя">
</figure>
<div class="info main-info">
</header>
<section class="info main-info">
<h2><a class="name" href="/7">Варя</a></h2>
<p><a class="category" href="/5">Рыжая кошка</a></p>
<p class="sex">Девочка</p>
Expand Down Expand Up @@ -380,18 +380,18 @@ <h2><a class="name" href="/7">Варя</a></h2>
<p>
<span class="price current-price">1400</span>
</p>
</div>
</section>
<div class="info description">
<p>
Любит сидеть на окне.
</p>
</div>
</article>
<article class="cat male">
<figure class="img-content">
<header class="img-content">
<img src="images/10.JPG" alt="Мурзик" title="Мурзик">
</figure>
<div class="info main-info">
</header>
<section class="info main-info">
<h2><a class="name" href="/7">Мурзик</a></h2>
<p><a class="category" href="/5">Сибирская кошка</a></p>
<p class="sex">Мальчик</p>
Expand Down Expand Up @@ -421,7 +421,7 @@ <h2><a class="name" href="/7">Мурзик</a></h2>
<p>
<span class="price current-price">1099</span>
</p>
</div>
</section>
<div class="info description">
<p>
Любопытный кот.
Expand Down

0 comments on commit 0fde218

Please sign in to comment.