1
0
Fork 0

Add common button styles

master
Emil Miler 2 years ago
parent 273ffb81bb
commit cce996315a

@ -161,6 +161,9 @@
</div> </div>
</a> </a>
</div> </div>
<div class="wrap">
<a href="pribehy" class="button">Podívat se na všechny příběhy</a>
</div>
</section> </section>
<section class="wrap" id="kontakty"> <section class="wrap" id="kontakty">
<h1>Na koho se obrátit</h1> <h1>Na koho se obrátit</h1>

@ -61,7 +61,27 @@ h1 {
} }
section { section {
padding-top: 3rem; padding: 3rem 0;
}
.button {
display: flex;
justify-content: center;
align-items: center;
color: $col-white;
text-decoration: none;
font-size: 1.25rem;
font-weight: bold;
border-radius: 2.5rem;
height: 5rem;
margin: 0 auto;
border: .15rem solid $col-accent;
width: 100%;
max-width: 30em;
&:hover {
background-color: $col-accent;
}
} }
@ -220,23 +240,8 @@ body.noscroll {
} }
.button { .button {
display: flex;
justify-content: center;
align-items: center;
color: #fff;
text-decoration: none;
font-size: 1.25rem;
font-weight: bold;
border-radius: 2.5rem;
height: 5rem;
width: 100%; width: 100%;
max-width: 80%; max-width: 80%;
margin: 0 auto;
border: .15rem solid $col-accent;
&:hover {
background-color: $col-accent;
}
} }
} }
} }
@ -394,7 +399,7 @@ body.noscroll {
} }
.stories { .stories {
padding-top: 5rem; padding-top: 5rem; // To clear the image
background-image: url("/static/img/bg/2.svg"); background-image: url("/static/img/bg/2.svg");
background-size: 90rem auto; background-size: 90rem auto;
background-position: center top; background-position: center top;

Loading…
Cancel
Save