.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Captain ALM 2022-07-27 00:44:43 +01:00
parent eecf2e9a70
commit a20e1ec947
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
4 changed files with 11 additions and 8 deletions

View File

@ -23,8 +23,11 @@ main{
} }
.home-button{ .home-button{
display: inline-block; display: inline-block;
overflow: hidden;
}
.home-button > div{
font-size: 60px; font-size: 60px;
padding: 7px 10px 6px; padding: 8px 10px;
} }
.nav{ .nav{
width: 100%; width: 100%;

View File

@ -9,7 +9,7 @@ a{
.header, .nav, footer{ .header, .nav, footer{
background-color: #1d1d1e; background-color: #1d1d1e;
} }
.home-button, .menu a{ .home-button > div, .menu a{
color: #e0e0e0; color: #e0e0e0;
} }
.home-button:hover, .menu a:hover, .hmb:hover{ .home-button:hover, .menu a:hover, .hmb:hover{

View File

@ -16,14 +16,14 @@
<body> <body>
<header class="header"> <header class="header">
{{ if .Light }} {{ if .Light }}
<a href="?light" class="home-button no-dec"><b>&#8962;</b></a> <div><a href="?light" class="home-button no-dec"><b>&#8962;</b></a></div>
<a href="?{{ .Parameters }}" class="home-button no-dec"><b>&#9790;</b></a> <div><a href="?{{ .Parameters }}" class="home-button no-dec"><b>&#9790;</b></a></div>
{{ else }} {{ else }}
<a href="?" class="home-button no-dec"><b>&#8962;</b></a> <div><a href="?" class="home-button no-dec"><b>&#8962;</b></a></div>
{{ if eq .Parameters "" }} {{ if eq .Parameters "" }}
<a href="?light" class="home-button no-dec"><b>&#9737;</b></a> <div><a href="?light" class="home-button no-dec"><b>&#9737;</b></a></div>
{{ else }} {{ else }}
<a href="?light&{{ .Parameters }}" class="home-button no-dec"><b>&#9737;</b></a> <div><a href="?light&{{ .Parameters }}" class="home-button no-dec"><b>&#9737;</b></a></div>
{{ end }} {{ end }}
{{ end }} {{ end }}
<input class="nav-menu" type="checkbox" id="nav-menu"/> <input class="nav-menu" type="checkbox" id="nav-menu"/>

View File

@ -9,7 +9,7 @@ a{
.header, .nav, footer{ .header, .nav, footer{
background-color: #e2e2e1; background-color: #e2e2e1;
} }
.home-button, .menu a{ .home-button > div, .menu a{
color: #1f1f1f; color: #1f1f1f;
} }
.home-button:hover, .menu a:hover, .hmb:hover{ .home-button:hover, .menu a:hover, .hmb:hover{