(hopefully) fixed home logo

master
BodgeMaster 2020-03-10 20:02:33 +01:00
parent 08639ce8f9
commit d66f2964de
3 changed files with 12 additions and 8 deletions

View File

@ -10,15 +10,15 @@ if (!isset($login)){
<?php <?php
if ($login){ if ($login){
if ($navbar == "home"){ if ($navbar == "home"){
echo "<a class=\"active\" href=\"%CONTENT_DIR%/userhome/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"My Feed\"/></a>"; echo "<a class=\"active\" href=\"%CONTENT_DIR%/userhome/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"My Feed\" title=\"My Feed\"/></a>";
} else { } else {
echo "<a href=\"%CONTENT_DIR%/userhome/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"My Feed\"/></a>"; echo "<a href=\"%CONTENT_DIR%/userhome/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"My Feed\" title=\"My Feed\"/></a>";
} }
} else { } else {
if ($navbar == "home"){ if ($navbar == "home"){
echo "<a class=\"active\" href=\"%CONTENT_DIR%/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"Home\"/></a>"; echo "<a class=\"active\" href=\"%CONTENT_DIR%/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"Home\" title=\"Home\"/></a>";
} else { } else {
echo "<a href=\"%CONTENT_DIR%/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"Home\"/></a>"; echo "<a href=\"%CONTENT_DIR%/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"Home\" title=\"Home\"/></a>";
} }
} }
?> ?>
@ -64,7 +64,7 @@ if (!isset($login)){
} }
?> ?>
</li> </li>
<li class="right"> <li class="right">
<?php <?php
if ($login) { if ($login) {
@ -78,5 +78,5 @@ if (!isset($login)){
</li> </li>
</ul> </ul>
<br /> <br />
<br /> <br />

View File

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -267,10 +267,14 @@ ul.topnav li.right {
} }
/*@media screen and (max-width: 600px) { /*@media screen and (max-width: 600px) {
ul.topnav li.right, ul.topnav li.right,
ul.topnav li {float: none;} ul.topnav li {float: none;}
}*/ }*/
ul.topnav img {
height: 1em;
}
ul.list { ul.list {
list-style-type: none; list-style-type: none;
margin: 0; margin: 0;
@ -333,7 +337,7 @@ ul.list li a.active {
} }
.dropdown .dropbtn { .dropdown .dropbtn {
font-size: 1em; font-size: 1em;
border: none; border: none;
outline: none; outline: none;
color: #fef6e4; color: #fef6e4;