Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed all label formats to match the original. #731

Merged
merged 9 commits into from
Dec 15, 2022
16 changes: 10 additions & 6 deletions src/lib/components/blog/labels.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
href={makeBlogPostsPageUrl([label])}
class:selected={selectedLabels.includes(label)}
data-sveltekit-prefetch
target="_blank">#{label}</a
target="_blank"
rel="noopener noreferrer">#{label}</a
>
{/each}
</div>
Expand All @@ -34,15 +35,18 @@
font-size: 1em;

a {
background-color: var(--acm-light);
border-radius: 5px;
padding: 0.3em;
background-color: #eeeeee;
DavidJSolano marked this conversation as resolved.
Show resolved Hide resolved
color: #212121;
DavidJSolano marked this conversation as resolved.
Show resolved Hide resolved
border-radius: var(--size-sm);
border: 2px solid #e0e0e0;
DavidJSolano marked this conversation as resolved.
Show resolved Hide resolved
padding: 0.25em 0.8em 0.25em 0.8em;
text-decoration: none;
}

.selected {
background-color: var(--acm-gray);
color: var(--perma-light);
background-color: #81d4fa;
DavidJSolano marked this conversation as resolved.
Show resolved Hide resolved
border-color: #4fc3f7;
color: #212121;
DavidJSolano marked this conversation as resolved.
Show resolved Hide resolved
pointer-events: not-allowed;
}
}
Expand Down