fix: changed the background color

This commit is contained in:
Lukian 2025-04-06 23:35:40 +02:00
parent eae2a483b5
commit 652d6929ef
10 changed files with 15 additions and 3 deletions

View file

@ -7,10 +7,12 @@ export default function TopBar({ user }: { user: User | undefined }) {
return ( return (
<div className="topbar"> <div className="topbar">
<div className="topbar-left"> <div className="topbar-left">
<h1>Tanuki's Forum</h1>
<Link to="/">Home</Link> <Link to="/">Home</Link>
<Link to="/channels">Channels</Link> <Link to="/channels">Channels</Link>
</div> </div>
<div className="topbar-center">
<h1>Tanuki's Forum</h1>
</div>
{user ? ( {user ? (
<div className="topbar-right"> <div className="topbar-right">
<Link to={`/u/${user.username}`}>{user.username}</Link> <Link to={`/u/${user.username}`}>{user.username}</Link>

View file

@ -1,5 +1,5 @@
html { html {
background-color: #FFE0E3; background: linear-gradient(#FFE0E3, #f59ebb);
} }
.cat { .cat {
@ -11,5 +11,5 @@ html {
} }
.pig { .pig {
width: 100px; width: 200px;
} }

View file

@ -12,6 +12,7 @@
width: 97%; width: 97%;
border: 1px solid #270722; border: 1px solid #270722;
padding: 10px; padding: 10px;
background-color: #fff6fd;
} }
.message-form { .message-form {

View file

@ -12,4 +12,5 @@
width: 97%; width: 97%;
border: 1px solid #270722; border: 1px solid #270722;
padding: 10px; padding: 10px;
background-color: #fff6fd;
} }

View file

@ -11,4 +11,5 @@
width: 97%; width: 97%;
border: 1px solid #270722; border: 1px solid #270722;
padding: 10px; padding: 10px;
background-color: #fff6fd;
} }

View file

@ -23,12 +23,14 @@
justify-content: space-between; justify-content: space-between;
align-items: top; align-items: top;
padding: 10px; padding: 10px;
background-color: #fff6fd;
} }
.home-messages { .home-messages {
width: 60%; width: 60%;
border: 1px solid #270722; border: 1px solid #270722;
padding: 10px; padding: 10px;
background-color: #fff6fd;
} }
.messages-list { .messages-list {
@ -47,6 +49,7 @@
padding: 10px; padding: 10px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #fff6fd;
} }
@media (max-width: 800px) { @media (max-width: 800px) {

View file

@ -11,4 +11,5 @@
width: 97%; width: 97%;
border: 1px solid #270722; border: 1px solid #270722;
padding: 10px; padding: 10px;
background-color: #fff6fd;
} }

View file

@ -11,4 +11,5 @@
width: 97%; width: 97%;
border: 1px solid #270722; border: 1px solid #270722;
padding: 10px; padding: 10px;
background-color: #fff6fd;
} }

View file

@ -5,6 +5,7 @@
align-items: center; align-items: center;
border: 1px solid #270722; border: 1px solid #270722;
padding: 10px; padding: 10px;
background-color: #fff6fd;
} }
.topbar-left { .topbar-left {

View file

@ -14,6 +14,7 @@
padding: 10px; padding: 10px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #fff6fd;
} }
.user-messages { .user-messages {