generated from lucien/api-template
fix: changed the background color
This commit is contained in:
parent
eae2a483b5
commit
652d6929ef
10 changed files with 15 additions and 3 deletions
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
|
@ -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 {
|
||||||
|
|
|
@ -12,4 +12,5 @@
|
||||||
width: 97%;
|
width: 97%;
|
||||||
border: 1px solid #270722;
|
border: 1px solid #270722;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
background-color: #fff6fd;
|
||||||
}
|
}
|
|
@ -11,4 +11,5 @@
|
||||||
width: 97%;
|
width: 97%;
|
||||||
border: 1px solid #270722;
|
border: 1px solid #270722;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
background-color: #fff6fd;
|
||||||
}
|
}
|
|
@ -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) {
|
||||||
|
|
|
@ -11,4 +11,5 @@
|
||||||
width: 97%;
|
width: 97%;
|
||||||
border: 1px solid #270722;
|
border: 1px solid #270722;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
background-color: #fff6fd;
|
||||||
}
|
}
|
|
@ -11,4 +11,5 @@
|
||||||
width: 97%;
|
width: 97%;
|
||||||
border: 1px solid #270722;
|
border: 1px solid #270722;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
background-color: #fff6fd;
|
||||||
}
|
}
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue