add stream button

This commit is contained in:
Lyn Fugmann 2024-09-24 16:33:50 +02:00
parent b2e465abc4
commit 8153caea03
3 changed files with 23 additions and 0 deletions

View file

@ -57,3 +57,22 @@ header {
.nav-item.active::after { .nav-item.active::after {
opacity: 1; opacity: 1;
} }
.nav-item-stream {
padding: .75rem 1.4rem;
border: 2px solid var(--color-primary);
border-radius: 3rem;
color: var(--color-primary);
font-family: Aileron;
font-weight: 500;
letter-spacing: 2px;
text-decoration: none;
text-transform: uppercase;
transition: .2s ease-out;
transition-property: color, background-color;
}
.nav-item-stream:hover {
color: var(--color-livestream-active);
background-color: var(--color-primary);
}

View file

@ -12,6 +12,9 @@
href="{{ entry.url }}">{{ entry.title }}</a> href="{{ entry.url }}">{{ entry.title }}</a>
</li> </li>
{%- endfor %} {%- endfor %}
<li>
<a class="nav-item-stream" href="https://stream.ifsr.de/" target="_blank" rel="noopener">Stream</a>
</li>
</ul> </ul>
</nav> </nav>
</div> </div>

View file

@ -66,5 +66,6 @@ p {
--page-width: 1280px; --page-width: 1280px;
--color-text: #495057; --color-text: #495057;
--color-primary: {{ eseColor }}; --color-primary: {{ eseColor }};
--color-livestream-active: #fff;
} }