diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-25 17:00:16 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-25 17:00:16 +0100 |
commit | afd66e3652de73529ff43607ff41dad1a90cf351 (patch) | |
tree | 61cbe24ff4a4077b6b4deebb5024729ffa60840f /pages | |
parent | f301358274fa1370d00211fc8d2bce848654ddcf (diff) | |
download | puszcza-afd66e3652de73529ff43607ff41dad1a90cf351.tar.gz puszcza-afd66e3652de73529ff43607ff41dad1a90cf351.zip |
Add decorations
Diffstat (limited to 'pages')
-rw-r--r-- | pages/oboz/2020.vue | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/pages/oboz/2020.vue b/pages/oboz/2020.vue index 5d61c69..af9b3d4 100644 --- a/pages/oboz/2020.vue +++ b/pages/oboz/2020.vue @@ -1,7 +1,10 @@ <template> <section class="oboz"> <div class="header"> - <h1>Obóz 2020</h1> + <div class="logo"> + <img src="/assets/2020.svg" alt="" /> + <h1>Obóz 2020</h1> + </div> <div class="troops"> <h3>19 PDH Puszcza</h3> <h3>7 PDH Binduga</h3> @@ -27,6 +30,7 @@ </div> <h3 style="margin-top: 10vh">Tutaj niedługo znajdziesz relacje z obozu</h3> <pure-post-list loading :posts="[]" /> + <span class="fether" /> </section> </template> @@ -40,13 +44,16 @@ export default { days() { let now = new Date(Date.now()) let oboz = new Date(2020, 7, 6) - return Math.round((oboz.getTime() - now.getTime()) / 86400000) + return Math.round((oboz.getTime() - now.getTime()) / 86400000) - 30 }, }, } </script> <style scoped> +.oboz { + position: relative; +} .header { display: flex; flex-direction: column; @@ -61,6 +68,7 @@ h1 { color: white; padding: 0.25em 0.75em; width: max-content; + margin-top: -4px; } .troops { @@ -88,6 +96,10 @@ h1 { flex-direction: column; } + .logo img { + width: 100px; + } + h1 { font-size: 2em; } @@ -100,4 +112,33 @@ h1 { height: 50vh; max-height: 300px; } + +.oboz::after { + width: 100px; + height: 200px; + background: url('/assets/fether.svg'); + background-repeat: no-repeat; + background-size: contain; + position: absolute; + bottom: 0; + right: 5%; +} + +@media (min-width: 750px) { + .oboz::after { + content: ''; + } +} + +@media (min-width: 910px) { + .oboz::after { + content: none; + } +} + +@media (min-width: 1210px) { + .oboz::after { + content: ''; + } +} </style> |