Ivan Reshetnikov
45c91eb3bf
I just added is_admin field to user schema, /admin scope, admin page controller and view. No extra functions were implemented.
82 lines
933 B
CSS
82 lines
933 B
CSS
@import "./core_components.css";
|
|
@import "./flash.css";
|
|
@import "./admin.css";
|
|
|
|
:root {
|
|
--bg: #13151a;
|
|
--accent: #b283e5;
|
|
}
|
|
|
|
html {
|
|
font-family: Georgia, serif;
|
|
background-color: var(--bg);
|
|
color: white;
|
|
font-size: 16px;
|
|
}
|
|
|
|
*::selection {
|
|
background-color: var(--accent);
|
|
color: var(--bg);
|
|
}
|
|
|
|
a {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 36px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
h2 {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
header,
|
|
main,
|
|
footer {
|
|
justify-content: center;
|
|
}
|
|
|
|
.limiter {
|
|
max-width: 800px;
|
|
width: 100%;
|
|
margin: auto;
|
|
}
|
|
|
|
.icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
footer {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.link-list {
|
|
margin-top: 16px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
}
|
|
|
|
.link-list a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.navbar {
|
|
display: flex;
|
|
gap: 16px;
|
|
padding-top: 16px;
|
|
}
|
|
|
|
.navbar .space {
|
|
flex-grow: 1;
|
|
}
|