From 2d8f09ae9dbedc127987e4629ae3db62191bb4dd Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 4 Jan 2020 15:08:52 +0100 Subject: Add day countdown --- components/Posts/PostList/PurePostList.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'components/Posts') diff --git a/components/Posts/PostList/PurePostList.vue b/components/Posts/PostList/PurePostList.vue index ace069f..2fe98cb 100644 --- a/components/Posts/PostList/PurePostList.vue +++ b/components/Posts/PostList/PurePostList.vue @@ -1,6 +1,6 @@ @@ -105,4 +157,36 @@ h1 { content: ''; } } + +.story::before, +.story::after { + content: ''; + background-image: url('/assets/tomahawk.svg'); + background-size: contain; + width: 70px; + height: 70px; + display: block; + top: 30px; + margin: auto; + margin-bottom: 20px; +} + +.story::after { + display: none; + -moz-transform: scaleX(-1); + -o-transform: scaleX(-1); + -webkit-transform: scaleX(-1); + transform: scaleX(-1); + filter: FlipX; + -ms-filter: 'FlipX'; +} + +@media (min-width: 510px) { + .story::before, + .story::after { + display: inline-block; + position: relative; + margin: 0 10px; + } +} diff --git a/static/_headers b/static/_headers new file mode 100644 index 0000000..cb762ef --- /dev/null +++ b/static/_headers @@ -0,0 +1 @@ +Access-Control-Allow-Origin: * diff --git a/static/assets/tomahawk.svg b/static/assets/tomahawk.svg new file mode 100644 index 0000000..7e49c2c --- /dev/null +++ b/static/assets/tomahawk.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.4.1 From 8c92c3a031392838fe4cc23005c1c7654d6a0073 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 26 Jan 2020 13:05:02 +0100 Subject: Fix mobile --- components/Posts/EmptyCampStory.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/Posts') diff --git a/components/Posts/EmptyCampStory.vue b/components/Posts/EmptyCampStory.vue index 57bea40..b9ecd12 100644 --- a/components/Posts/EmptyCampStory.vue +++ b/components/Posts/EmptyCampStory.vue @@ -1,5 +1,5 @@