clickable logo

This commit is contained in:
realaravinth
2021-07-03 22:32:40 +05:30
parent 791935f245
commit e1e1040ca9
7 changed files with 25 additions and 16 deletions

View File

@@ -29,7 +29,7 @@ a {
}
li {
// list-style: none;
// list-style: none;
}
html {

View File

@@ -3,10 +3,8 @@
<main class="auth-main">
<div class="auth-inner-container">
<img src="<.=
crate::FILES.get("./static/cache/img/icon-trans.png").unwrap().>"
class="auth__logo" alt="mcaptcha logo" />
<. include!("../logo.html"); .>
<form
class="sitekey-form"
method="POST"

5
templates/auth/logo.html Normal file
View File

@@ -0,0 +1,5 @@
<a href="/" >
<img src="<.=
crate::FILES.get("./static/cache/img/icon-trans.png").unwrap().>"
class="auth__logo" alt="mcaptcha logo" />
</a>

View File

@@ -1,10 +1,12 @@
<nav class="secondary-menu">
<input type="checkbox" class="nav-toggle" id="nav-toggle" >
<div class="secondary-menu__heading">
<a class="novisit" href="/">
<img class="secondary-menu__logo" src="<.= crate::FILES.get("./static/cache/img/icon-trans.png").unwrap() .>" alt="Logo" />
<div class="secondary-menu__brand-name">
</a>
<a href="/" class="secondary-menu__brand-name">
mCaptcha
</div>
</a>
<label class="nav__hamburger-menu"for="nav-toggle">
<span></span>
<span></span>

View File

@@ -71,6 +71,10 @@
font-size: 1.5rem;
}
.secondary-menu__brand-name:visited {
color: $light-text;
}
.secondary-menu__item {
margin: auto;
list-style: none;