forked from mirrors/pronouns.cc
feat: move 'beta' text out of logo svg
This commit is contained in:
parent
9a36e4ec24
commit
48b41c7135
2 changed files with 16 additions and 4 deletions
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 7.9 KiB |
|
@ -121,6 +121,7 @@
|
||||||
>
|
>
|
||||||
<NavbarBrand href="/" aria-label="pronouns.cc landing page">
|
<NavbarBrand href="/" aria-label="pronouns.cc landing page">
|
||||||
<Logo />
|
<Logo />
|
||||||
|
<span id="beta-text">beta</span>
|
||||||
{#if commit === "[unknown]"}
|
{#if commit === "[unknown]"}
|
||||||
<Badge color="danger">DEV</Badge>
|
<Badge color="danger">DEV</Badge>
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -179,3 +180,14 @@
|
||||||
</Nav>
|
</Nav>
|
||||||
</Collapse>
|
</Collapse>
|
||||||
</Navbar>
|
</Navbar>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/* These exact values make it look almost identical to the SVG version, which is what we want */
|
||||||
|
#beta-text {
|
||||||
|
font-size: 0.7em;
|
||||||
|
position: relative;
|
||||||
|
font-style: italic;
|
||||||
|
bottom: 12px;
|
||||||
|
right: 3px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue