Skip to content

Commit

Permalink
cleanup filter colors, emoji wall space a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
tjheffner committed Jan 27, 2024
1 parent b680d8d commit 2192de4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/lib/components/EmojiWall.svelte
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<script>
const WALL_SIZE = 84
const WALL_SIZE = 96
// The first emoji in the array becomes the dominant background
// The others intersperse randomly
const emojis = [
['🌊','🦑','🦀','🐳','🦐','🐡','🐠','🦈','🏄‍♂️','🏝'],
['🌳','🦥','🦜','🐊','🐸','🐒','🌺','🍄','🐯','🐜'],
['🏜','🌵','🌞','🦂','🐍','🤠','🦇','🦉','🐫'],
['🌊','🦑','🦀','🐳','🦐','🐡','🐠','🦈','🏄‍♂️','🏝','🦞','🐋'],
['🌳','🦥','🦜','🐊','🐸','🐒','🌺','🍄','🐯','🐜','🦟','🐝'],
['🏜','🌵','🌞','🦂','🐍','🤠','🦇','🦉','🐫', '🦗'],
['🏔','🏕','🌲','🦅','🌝','🏂']
]
Expand Down Expand Up @@ -52,7 +52,7 @@
let visible = shuffleArray(scenes[initial])
</script>

<div class="block text-shadow text-4xl md:text-6xl mt-4 lg:mt-8 w-full max-h-[400px] md:max-h-[450px] overflow-hidden lg:overflow-visible" aria-hidden="true">
<div class="block text-shadow text-4xl md:text-6xl mt-4 p-8 lg:mt-8 w-full max-h-[370px] md:max-h-[415px] overflow-hidden" aria-hidden="true">
{#each visible as f, i}
<!-- <span>{i}</span> -->
<button
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/PostItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<span
class="
w-fit rounded-full
bg-alternate dark:bg-secondary px-2
bg-alternate px-2
py-1 text-xs font-bold
text-red-600 text-white md:px-4 dark:text-gray-900
">
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(main)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<a href="/about">about</a>.
</p>
<p />
<p>Thanks for stopping by, check out the links that work. ✌️</p>
<p>Thanks for stopping by, check out the <a href="/blogroll">links that work</a>. ✌️</p>
</Slice>

<Slice title="Currently...">
Expand Down
6 changes: 3 additions & 3 deletions src/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@
/* filters on /blog page */
.filter {
@apply m-1 inline-block whitespace-nowrap rounded rounded-md px-4 py-2;
@apply border-secondary bg-alternate text-secondary font-bold;
@apply border-accent bg-gray-200 text-gray-900 font-bold;
@apply dark:border-slate-600 dark:bg-gray-800 dark:text-gray-100;
@apply ring-secondary transition-all duration-200 ease-in-out hover:ring-2;
@apply ring-accent transition-all duration-200 ease-in-out hover:ring-2;
}
.activefilter {
@apply border-secondary bg-accent text-orange-100;
Expand Down Expand Up @@ -186,7 +186,7 @@
transition: transform 0.2s;
}
.emoji:hover {
transform: scale(3);
transform: scale(2);
}

/*
Expand Down

0 comments on commit 2192de4

Please sign in to comment.