pedf
/
spin
Archived
1
0
Fork 0

Nový styl hlavičky u článků

master
Emil Miler 3 years ago
parent 417018438a
commit bfa354038f

@ -135,10 +135,9 @@
<section class="articles">
<div class="wrap">
<div class="header">
<h2>Články</h2>
<div>
<p>Zde jsou odkazy na články, ve kterých byl projekt zmíněn.</p>
</div>
<div class="list">
<article>
<a href="#">
@ -160,6 +159,7 @@
</article>
</div>
</div>
</div>
</section>
<footer>

@ -117,20 +117,26 @@ main .team figure label {
font-weight: bold;
}
main .articles .header {
main .articles .wrap {
display: grid;
grid-template-columns: 1fr 4fr;
grid-column-gap: 1em;
align-items: baseline;
grid-column-gap: 3em;
margin-bottom: 4em;
border-bottom: 1px solid var(--color-blue);
}
main .articles .wrap>h2,
main .articles .wrap>div {
margin: 0;
padding-top: 2rem;
}
main .articles .wrap>h2 { border-top: 3px solid var(--color-blue) }
main .articles .wrap>div { border-top: 3px solid #d6e2ff }
main .articles .list {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-column-gap: 2em;
grid-row-gap: 2em;
margin-top: 4em;
}
main .articles .list article a {
color: inherit;
@ -212,7 +218,9 @@ footer img:hover { transform: scale(1.1) }
grid-column-gap: 1em;
}
main .articles .wrap,
main .articles .list { grid-template-columns: 1fr }
main .articles .wrap>div { border-top: 0 }
footer { margin: 5em auto }