add beta tag to menu

This commit is contained in:
Philipp Kühn 2018-08-22 19:16:36 +02:00
parent d57825adb5
commit 3406e47ac7
2 changed files with 14 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<div class="navigation__header"> <div class="navigation__header">
<h1 class="navigation__logo"> <h1 class="navigation__logo">
tiptap tiptap <span class="navigation__beta">beta</span>
</h1> </h1>
<a href="https://github.com/heyscrumpy/tiptap" target="_blank"> <a href="https://github.com/heyscrumpy/tiptap" target="_blank">
<icon class="navigation__icon" name="github" /> <icon class="navigation__icon" name="github" />

View File

@ -24,6 +24,19 @@
height: 1.5rem; height: 1.5rem;
} }
&__beta {
display: inline-block;
vertical-align: middle;
background-color: $color-white;
color: $color-black;
font-size: 0.6rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.05rem;
padding: 0.1rem 0.2rem;
border-radius: 5px;
}
&__links { &__links {
padding: 0.5rem; padding: 0.5rem;
background-color: rgba($color-black, 0.9); background-color: rgba($color-black, 0.9);