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
14 changes: 9 additions & 5 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 @@ -35,14 +36,17 @@

a {
background-color: var(--acm-light);
border-radius: 5px;
padding: 0.3em;
color: var(--acm-dark);
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: var(--perma-dark);
pointer-events: not-allowed;
}
}
Expand Down
5 changes: 3 additions & 2 deletions src/routes/(site)/blog/labelfield.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
margin-bottom: 0.2em;
margin-right: var(--size-sm);
padding: 0.25em 0.8em 0.25em 0.8em;
background-color: #eeeeee;
color: #212121;
background-color: var(--acm-light);
color: var(--acm-dark);
border-radius: var(--size-sm);
border: 2px solid #e0e0e0;
cursor: pointer;
Expand All @@ -107,6 +107,7 @@
transition: 1s ease-in-out;
background-color: #81d4fa;
border-color: #4fc3f7;
color: var(--acm-dark);

&:before {
content: '✓ ';
Expand Down