TODO: нормально блядь выделение ссылко, почему они кривые

This commit is contained in:
neroduckale 2023-12-13 04:23:13 +05:00
parent 6a182f1234
commit 633491a349
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 399E73062E1A3667
2 changed files with 21 additions and 11 deletions

View file

@ -17,13 +17,15 @@
<header class="header"> <header class="header">
<nav class="header-links"> <nav class="header-links">
<a class="header-link" asp-page="ygolek">ygolek </a> <a class="mainpage" asp-page="index">neroduckale</a>
<a class="header-link" asp-page="about" >about </a> <div class="header-linkss">
<a class="header-link" asp-page="users" >users </a> <a class="header-link" asp-page="ygolek">ygolek</a>
<a class="mainpage" asp-page="index" >neroduckale</a> <a class="header-link" asp-page="about">about </a>
<button></button> <a class="header-link" asp-page="users">users </a>
</div>
<button class="mobilenav"></button>
</nav> </nav>
</header> </header>

View file

@ -15,9 +15,13 @@ a {
.header-links { /* <nav> */ .header-links { /* <nav> */
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
display: flex;
align-items: center;
} }
.header-link { /* <a> */ .header-link { /* <a> */
text-align: left; font-size: 20px;
padding: 8px;
border-radius: 5px;
} }
.header-link:hover { .header-link:hover {
background: gray; background: gray;
@ -27,15 +31,19 @@ a {
.mainpage{ /* <a> MAINPAGE */ .mainpage{ /* <a> MAINPAGE */
font-family: 'Raleway', monospace; font-family: 'Raleway', monospace;
font-size: 30px; font-size: 30px;
justify-self: left;
margin: 10px auto 10px 10px;
} }
.header-linkss {
justify-self: right;
display: block;
}
.header { .header {
background-color: #4d4d4d; background-color: #4d4d4d;
a { a {
color: white; color: white;
} }
}
.header {
margin: 200px;
} }