navbar: fix padding issues

This commit is contained in:
Trianta 2024-11-25 18:13:39 -06:00
parent 95bba8bde1
commit c10676064d
2 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,7 @@ body {
.navItem { .navItem {
margin: 6px; margin: 6px;
margin-top: 0px; margin-top: 0px;
padding: 8px;
line-height: 21px; line-height: 21px;
display: inline-block; display: inline-block;
text-align: right; text-align: right;
@ -90,7 +91,6 @@ p {
a { a {
text-decoration: none; text-decoration: none;
padding: 8px;
color: #8aadf4; color: #8aadf4;
} }

View File

@ -7,7 +7,9 @@
</head> </head>
<body> <body>
<div id="navigation"> <div id="navigation">
<p class="navItem" style="text-align: left; flex-grow: 1;">Trianta</p> <div style="text-align: left; flex-grow: 1;">
<p class="navItem">Trianta</p>
</div>
<a class="navItem" href="https://www.github.com/trimutex">GitHub</a> <a class="navItem" href="https://www.github.com/trimutex">GitHub</a>
<a class="navItem" href="https://lab.trianta.dev/Trianta">Projects</a> <a class="navItem" href="https://lab.trianta.dev/Trianta">Projects</a>
</div> </div>