v2 overhaul
This commit is contained in:
@@ -0,0 +1,148 @@
|
||||
:root {
|
||||
--bg: #000;
|
||||
--fg: #fff;
|
||||
--accent: #7139f3;
|
||||
--admin: #39f3da;
|
||||
--user: #5b6dd4;
|
||||
--board: #515699;
|
||||
--time: #30597a;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-family: 'code', sans-serif;
|
||||
margin: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6, p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 30px;
|
||||
padding: 20px;
|
||||
border-bottom: 1px solid var(--fg);
|
||||
}
|
||||
|
||||
header #title {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
header h2 {
|
||||
font-size: .8rem;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
|
||||
header nav {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
header nav ul {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
header nav ul li:last-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
header nav ul li a {
|
||||
text-decoration: none;
|
||||
color: var(--fg);
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
header nav ul li a:hover {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
main {
|
||||
height: 100%;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 10px;
|
||||
padding: 20px;
|
||||
border-top: 1px solid var(--fg);
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
div#nav {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
ul.board-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-left: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
ul.post-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-left: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.user-admin {
|
||||
color: var(--admin);
|
||||
}
|
||||
|
||||
.user-user {
|
||||
color: var(--user);
|
||||
}
|
||||
|
||||
.board-name {
|
||||
color: var(--board);
|
||||
}
|
||||
|
||||
.time {
|
||||
color: var(--time);
|
||||
}
|
||||
|
||||
#title {
|
||||
background: linear-gradient(90deg, var(--accent), var(--admin));
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.attachments {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"] {
|
||||
padding: 10px;
|
||||
border: 1px solid var(--fg);
|
||||
border-radius: 5px;
|
||||
box-sizing: border-box;
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-size: 1rem;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
button[type="submit"] {
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background: linear-gradient(90deg, var(--accent), var(--admin));
|
||||
color: var(--bg);
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
width: 300px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
button[type="submit"]:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
button[type="submit"]:disabled {
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
select {
|
||||
padding: 10px;
|
||||
border: 1px solid var(--fg);
|
||||
border-radius: 5px;
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-size: 1rem;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
select:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
textarea {
|
||||
padding: 10px;
|
||||
border: 1px solid var(--fg);
|
||||
border-radius: 5px;
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-size: 1rem;
|
||||
width: 300px;
|
||||
height: 150px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
padding: 10px;
|
||||
border: 1px solid var(--fg);
|
||||
border-radius: 5px;
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-size: 1rem;
|
||||
width: 300px;
|
||||
cursor: pointer;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
ul.stats {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
.user {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
border: 1px solid var(--fg);
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.user img {
|
||||
height: 80px;
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
a.user {
|
||||
text-decoration: none;
|
||||
color: var(--fg);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
a.user:hover {
|
||||
opacity: 1;
|
||||
transform: scale(1.05);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
Reference in New Issue
Block a user