tinkering with icon size

master
BodgeMaster 2020-03-10 20:14:57 +01:00
parent 057721bd5a
commit 80eace63b5
2 changed files with 15 additions and 5 deletions

View File

@ -8,19 +8,21 @@ if (!isset($login)){
<ul class="topnav">
<li>
<?php
echo "<a href=\"%CONTENT_DIR%/userhome/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" class=\"icon ";
if ($login){
if ($navbar == "home"){
echo "<a class=\"active\" href=\"%CONTENT_DIR%/userhome/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"My Feed\" title=\"My Feed\"/></a>";
echo "active\" alt=\"My Feed\" title=\"My Feed\"";
} else {
echo "<a href=\"%CONTENT_DIR%/userhome/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"My Feed\" title=\"My Feed\"/></a>";
echo "\" alt=\"My Feed\" title=\"My Feed\"";
}
} else {
if ($navbar == "home"){
echo "<a class=\"active\" href=\"%CONTENT_DIR%/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"Home\" title=\"Home\"/></a>";
echo "active \" alt=\"Home\" title=\"Home\"";
} else {
echo "<a href=\"%CONTENT_DIR%/\"><img src=\"/common/threadr/img/ThreadR_Home.svg\" alt=\"Home\" title=\"Home\"/></a>";
echo "\" alt=\"Home\" title=\"Home\"";
}
}
echo "/></a>";
?>
</li>
<li>

View File

@ -273,7 +273,15 @@ ul.topnav li.right {
ul.topnav img {
height: 1.8em;
padding: -14px -16px;
}
ul.topnav li a.icon {
display: block;
text-align: center;
color: #fef6e4;
font-family: monospace;
font-size: 1em;
text-decoration: none;
}
ul.list {