From 95e43bce69f2d743f87e06b12116ef4ed49507f3 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 21 Apr 2021 06:57:21 +0200 Subject: Improved blobfox preview, added bunhd preview --- assets/css/components/_project.scss | 11 +- content/projects/blobfox-emojis/.preview.png | Bin 564103 -> 0 bytes content/projects/blobfox-emojis/.preview.xcf | Bin 0 -> 2878374 bytes content/projects/blobfox-emojis/preview.png | Bin 196757 -> 177752 bytes content/projects/bunhd-emojis/.preview.svg | 2589 ++++++++++++++++++++++++++ content/projects/bunhd-emojis/index.md | 1 + content/projects/bunhd-emojis/preview.png | Bin 0 -> 65792 bytes scripts/build_content.sh | 2 + 8 files changed, 2595 insertions(+), 8 deletions(-) delete mode 100644 content/projects/blobfox-emojis/.preview.png create mode 100644 content/projects/blobfox-emojis/.preview.xcf create mode 100644 content/projects/bunhd-emojis/.preview.svg create mode 100644 content/projects/bunhd-emojis/preview.png diff --git a/assets/css/components/_project.scss b/assets/css/components/_project.scss index 943bf68..388d4b9 100644 --- a/assets/css/components/_project.scss +++ b/assets/css/components/_project.scss @@ -15,12 +15,7 @@ background-color: prop(--colors --bg); } - &::after { - content: ''; - background-image: linear-gradient(340deg, rgba(#000, .85) 5em, transparent 100%); - } - - @include multi('element' 'picture', '&::after') { + @include multi('element' 'picture') { display: block; position: absolute; z-index: 10; @@ -38,7 +33,7 @@ right: 1em; bottom: 1em; min-width: 15em; - box-shadow: 0 .3em 1em rgba(#000, .5); + box-shadow: 0 .3em 1em rgba(#000, .35); } @include media('<=sm') { @@ -47,7 +42,7 @@ } @include element('card') { - left: 1em; + width: calc(100% - 2em); min-width: 0; } } diff --git a/content/projects/blobfox-emojis/.preview.png b/content/projects/blobfox-emojis/.preview.png deleted file mode 100644 index 16c7bf0..0000000 Binary files a/content/projects/blobfox-emojis/.preview.png and /dev/null differ diff --git a/content/projects/blobfox-emojis/.preview.xcf b/content/projects/blobfox-emojis/.preview.xcf new file mode 100644 index 0000000..ae246c0 Binary files /dev/null and b/content/projects/blobfox-emojis/.preview.xcf differ diff --git a/content/projects/blobfox-emojis/preview.png b/content/projects/blobfox-emojis/preview.png index 7e30573..decfa3a 100644 Binary files a/content/projects/blobfox-emojis/preview.png and b/content/projects/blobfox-emojis/preview.png differ diff --git a/content/projects/bunhd-emojis/.preview.svg b/content/projects/bunhd-emojis/.preview.svg new file mode 100644 index 0000000..4997e45 --- /dev/null +++ b/content/projects/bunhd-emojis/.preview.svg @@ -0,0 +1,2589 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/bunhd-emojis/index.md b/content/projects/bunhd-emojis/index.md index 361b15d..75d4b3f 100644 --- a/content/projects/bunhd-emojis/index.md +++ b/content/projects/bunhd-emojis/index.md @@ -1,6 +1,7 @@ --- title: BunHD category: emj +preview: preview.png --- ![](screenshot.png) diff --git a/content/projects/bunhd-emojis/preview.png b/content/projects/bunhd-emojis/preview.png new file mode 100644 index 0000000..1099113 Binary files /dev/null and b/content/projects/bunhd-emojis/preview.png differ diff --git a/scripts/build_content.sh b/scripts/build_content.sh index e627edc..154a93f 100755 --- a/scripts/build_content.sh +++ b/scripts/build_content.sh @@ -186,6 +186,7 @@ fi if [ -z "$1" ]; then find "$CONTENT_DIR" \ -type f \ + ! -name ".*" \ $mdfilter \ | while read file_in do @@ -195,6 +196,7 @@ elif [ "$1" = "all_md" ]; then find "$CONTENT_DIR" \ -type f \ -name "*.md" \ + ! -name ".*" \ $mdfilter \ | while read file_in do -- cgit v1.2.3-70-g09d2