diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-29 10:37:37 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-29 10:37:37 +0200 |
commit | cbc2a0152e006aa9d2b4e3461b88cf4822acf003 (patch) | |
tree | b81617200d32f923c8a0632dd19974a86c5063fd /src/components | |
parent | d4c4f780577efe28819667c8564126917360cafb (diff) | |
download | puszcza-cbc2a0152e006aa9d2b4e3461b88cf4822acf003.tar.gz puszcza-cbc2a0152e006aa9d2b4e3461b88cf4822acf003.zip |
Add background to joinus
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/JoinUs.vue | 45 |
1 files changed, 37 insertions, 8 deletions
diff --git a/src/components/JoinUs.vue b/src/components/JoinUs.vue index 55d8171..ab2d853 100644 --- a/src/components/JoinUs.vue +++ b/src/components/JoinUs.vue @@ -1,28 +1,46 @@ <template> - <div class="joinus"> - <div class="title"> - <h1 class="text">Rozpocznij swoją harcerską przygodę!</h1> + <section class="joinus"> + <div class="heading"> + <div class="title"> + <h1 class="text">Rozpocznij swoją harcerską przygodę!</h1> + </div> + <div class="button"> + <router-link to="/join-us">Dołącz do nas!</router-link> + </div> </div> - <div class="button"> - <router-link to="/join-us">Dołącz do nas!</router-link> - </div> - </div> + </section> </template> <style scoped> .joinus { + width: 100%; + + padding: 80px 20%; + + background: #dddddd; +} + +.heading { + max-width: 750px; + padding: 100px 0; + + display: flex; + flex-direction: column; } .title { background-color: #340c0e; color: #ffffff; - max-width: 330px; + max-width: 260px; + height: 85px; + margin-bottom: 20px; text-align: left; } .title .text { + margin: 0; padding: 10px; } @@ -36,4 +54,15 @@ color: #ffffff; text-decoration: none; } + +@media (max-width: 500px) { + .heading { + margin: 0; + align-items: center; + } + + .joinus { + padding: 80px 20px; + } +} </style> \ No newline at end of file |