cobalt/web/src/components/sidebar/CobaltLogo.svelte

28 lines
563 B
Svelte
Raw Normal View History

<script>
import IconCobalt from '$lib/icons/Cobalt.svelte';
</script>
2024-06-14 11:33:01 +01:00
<div id="cobalt-logo">
<IconCobalt />
2024-06-14 11:33:01 +01:00
</div>
<style>
#cobalt-logo {
display: flex;
justify-content: center;
align-items: center;
padding: calc(var(--padding) * 2);
/* accommodate space for scaling animation */
padding-bottom: calc(
var(--padding) * 2 - var(--sidebar-inner-padding)
);
2024-06-14 11:33:01 +01:00
}
2024-06-14 12:33:33 +01:00
@media screen and (max-width: 535px) {
#cobalt-logo {
display: none;
}
}
2024-06-14 11:33:01 +01:00
</style>