Merge pull request #66 from netz39/rounded-spacestatus

Make the space status picture rounded
This commit is contained in:
David 2023-11-04 08:16:17 +01:00 committed by GitHub
commit 644cb4361d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -17,7 +17,7 @@
<a aria-label="pull" id="pull" class="toggle" href="#"> <a aria-label="pull" id="pull" class="toggle" href="#">
<i class="fas fa-bars fa-lg"></i> <i class="fas fa-bars fa-lg"></i>
</a> </a>
<!-- Menu --> <!-- Menu -->
<ul class="hide"> <ul class="hide">
{% assign name_page = "" %} {% assign name_page = "" %}
@ -40,7 +40,7 @@
<li><a id="theme-toggle" title="{{ page.title }} " aria-label="{{ page.title }}" onclick="themeToggle()"></a></li> <li><a id="theme-toggle" title="{{ page.title }} " aria-label="{{ page.title }}" onclick="themeToggle()"></a></li>
{% endif %} {% endif %}
<!-- Spacestatus --> <!-- Spacestatus -->
<li><a href="https://www.netz39.de/status/"><img alt="status" src="https://spaceapi.n39.eu/state.png"></a></li> <li><a href="https://www.netz39.de/status/"><img alt="status" src="https://spaceapi.n39.eu/state.png" class="spacestatus"></a></li>
</ul> </ul>
</nav> </nav>
</header> </header>

View file

@ -90,6 +90,13 @@ nav {
} }
} }
nav img.spacestatus {
border-radius: 5px;
padding: 0;
margin-left: 10px;
height: 30px;
}
/* ---- Responsive ---- */ /* ---- Responsive ---- */
@media (min-width: $break) { @media (min-width: $break) {