1
0
Fork 0

Narrow content wrapper and text centering

master
Emil Miler 2 years ago
parent 194c735541
commit 7e90a93eb1

@ -40,11 +40,11 @@
</section> </section>
<section class="wrap"> <section class="wrap">
<h1>Obecné Zásady</h1> <h1>Obecné Zásady</h1>
<p>Ut vel mattis leo. Ut rutrum id urna eget congue. Vestibulum sed lobortis magna, eget hendrerit tortor. Nulla tempus viverra neque, in egestas quam aliquet eu. Curabitur tempor eros ac ante bibendum, quis hendrerit odio vehicula. Cras consectetur tellus sit amet ante semper, pharetra gravida nisl laoreet. Donec vel condimentum nisi. Aliquam lorem est, consequat eget diam et, sollicitudin tincidunt risus.</p> <p class="narrow text-center">Ut vel mattis leo. Ut rutrum id urna eget congue. Vestibulum sed lobortis magna, eget hendrerit tortor. Nulla tempus viverra neque, in egestas quam aliquet eu. Curabitur tempor eros ac ante bibendum, quis hendrerit odio vehicula. Cras consectetur tellus sit amet ante semper, pharetra gravida nisl laoreet. Donec vel condimentum nisi. Aliquam lorem est, consequat eget diam et, sollicitudin tincidunt risus.</p>
</section> </section>
<section class="wrap"> <section class="wrap">
<h1>Učitleský checklist</h1> <h1>Učitleský checklist</h1>
<p>Phasellus porta, velit sit amet varius laoreet, libero ex hendrerit diam, et commodo magna est non odio. Donec lacinia fringilla egestas. Nullam quis urna sit amet eros dignissim varius in non justo. In hac habitasse platea dictumst. Maecenas quis nisi mollis, fringilla justo et, eleifend purus. Donec convallis fringilla sem.</p> <p class="narrow text-center">Phasellus porta, velit sit amet varius laoreet, libero ex hendrerit diam, et commodo magna est non odio. Donec lacinia fringilla egestas. Nullam quis urna sit amet eros dignissim varius in non justo. In hac habitasse platea dictumst. Maecenas quis nisi mollis, fringilla justo et, eleifend purus. Donec convallis fringilla sem.</p>
<div class="checklist"> <div class="checklist">
<div class="card" data-tilt> <div class="card" data-tilt>
<img src="static/pedf-logo-white.svg" alt=""> <img src="static/pedf-logo-white.svg" alt="">
@ -71,11 +71,11 @@
</section> </section>
<section class="wrap"> <section class="wrap">
<h1>Vzorové příběhy</h1> <h1>Vzorové příběhy</h1>
<p>Donec dapibus quis dui at interdum. Vivamus vel libero lorem. Suspendisse eu hendrerit lorem. Suspendisse nec nisi quis sem venenatis sagittis. Etiam ut porttitor dolor. Integer in tristique quam.</p> <p class="narrow text-center">Donec dapibus quis dui at interdum. Vivamus vel libero lorem. Suspendisse eu hendrerit lorem. Suspendisse nec nisi quis sem venenatis sagittis. Etiam ut porttitor dolor. Integer in tristique quam.</p>
</section> </section>
<section class="wrap"> <section class="wrap">
<h1>Na koho se obrátit</h1> <h1>Na koho se obrátit</h1>
<p>Na koho se obrátit a kde najít pomoc? Níže najdete stručný seznam kontaktů na organizace a instituce, které se touto problematikou zabývají a mohou vám poskytnout odbornou výpomoc.</p> <p class="narrow text-center">Na koho se obrátit a kde najít pomoc? Níže najdete stručný seznam kontaktů na organizace a instituce, které se touto problematikou zabývají a mohou vám poskytnout odbornou výpomoc.</p>
<div class="contact-list"> <div class="contact-list">
<div class="contact"> <div class="contact">
... ...
@ -97,7 +97,8 @@
</section> </section>
<section> <section>
<h1>FAQ</h1> <h1>FAQ</h1>
<div class="faq-list"> <p class="narrow text-center">Possimus totam officia unde odit voluptate sint iste. At explicabo sunt et iusto sint. Enim ipsam aliquam eos quos aspernatur beatae. Nostrum architecto sed excepturi eaque et. </p>
<div class="faq-list narrow">
<div class="faq"> <div class="faq">
<div class="mark"></div> <div class="mark"></div>
<div> <div>

@ -30,6 +30,15 @@ body {
padding: 0 1rem; padding: 0 1rem;
} }
.narrow {
max-width: 60rem;
margin: 0 auto;
}
.text-center {
text-align: center;
}
img { img {
display: block; display: block;
max-width: 100%; max-width: 100%;
@ -55,6 +64,8 @@ section {
/* Specific */ /* Specific */
.intro { .intro {
min-height: 100vh;
header { header {
border-bottom: 1px solid #5D6E81; border-bottom: 1px solid #5D6E81;
margin-bottom: 4em; margin-bottom: 4em;
@ -128,6 +139,7 @@ section {
border-radius: 1em; border-radius: 1em;
padding: 2em; padding: 2em;
background-color: $col-bg; background-color: $col-bg;
text-align: left;
img { img {
width: 100%; width: 100%;
@ -166,6 +178,7 @@ section {
.faq-list { .faq-list {
width: 100%; width: 100%;
margin-top: 5em;
.faq { .faq {
position: relative; position: relative;

Loading…
Cancel
Save