2024-11-26 11:38:28 -05:00
|
|
|
:root {
|
|
|
|
--black: rgb(16, 16, 16);
|
|
|
|
--gray: rgb(38, 38, 38);
|
|
|
|
--white: rgb(240, 240, 240);
|
|
|
|
--primary-dark: rgb(230, 78, 78);
|
|
|
|
--primary-light: rgb(255, 200, 200);
|
|
|
|
--elem-width: min(800px, 90vw);
|
|
|
|
--elem-height: 300px;
|
|
|
|
--border-radius: 15px;
|
|
|
|
--font: system-ui, sans-serif;
|
|
|
|
color: var(--white);
|
|
|
|
background: var(--black);
|
|
|
|
font-family: var(--font) !important;
|
|
|
|
}
|
|
|
|
|
2024-11-26 23:37:16 -05:00
|
|
|
.banner,
|
|
|
|
body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
overflow-x: hidden;
|
|
|
|
margin-top: 0
|
|
|
|
}
|
|
|
|
|
2024-11-27 00:13:33 -05:00
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2024-11-26 23:37:16 -05:00
|
|
|
.banner {
|
|
|
|
justify-content: center;
|
|
|
|
margin-bottom: calc(-1*var(--elem-height))
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner-background,
|
|
|
|
.banner-content {
|
|
|
|
height: var(--elem-height);
|
|
|
|
overflow-y: auto
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner-background {
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
background-color: var(--gray);
|
|
|
|
opacity: 30%;
|
|
|
|
object-fit: cover
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner-content {
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
position: relative;
|
|
|
|
top: calc(-1*var(--elem-height))
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner,
|
|
|
|
.banner-background,
|
2024-11-27 00:13:33 -05:00
|
|
|
.content,
|
|
|
|
.comment {
|
2024-11-26 23:37:16 -05:00
|
|
|
width: var(--elem-width)
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
display: flex;
|
2024-11-27 00:13:33 -05:00
|
|
|
justify-content: space-around;
|
|
|
|
width: 300px;
|
2024-11-26 23:37:16 -05:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2024-11-27 00:13:33 -05:00
|
|
|
.banner pre {
|
|
|
|
width: var(--elem-width);
|
|
|
|
}
|
|
|
|
|
2024-11-26 23:37:16 -05:00
|
|
|
.avatar-img {
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
margin-right: 15px
|
|
|
|
}
|
2024-11-26 11:38:28 -05:00
|
|
|
|
|
|
|
.form {
|
|
|
|
width: calc(var(--elem-width) - 1rem);
|
|
|
|
grid-template-columns: .51fr 1fr;
|
|
|
|
display: grid
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-key {
|
|
|
|
margin-right: 10px
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-button,
|
|
|
|
.form-input,
|
2024-11-27 00:13:33 -05:00
|
|
|
.form,
|
|
|
|
.comment {
|
2024-11-26 11:38:28 -05:00
|
|
|
border: solid var(--gray) 3px;
|
|
|
|
background: var(--black);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
color: var(--white);
|
|
|
|
padding: .5rem;
|
|
|
|
margin-bottom: .5rem;
|
|
|
|
text-decoration: none
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-button,
|
|
|
|
.form-heading,
|
|
|
|
.form-message {
|
|
|
|
grid-column: span 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-button {
|
|
|
|
font-weight: 700;
|
|
|
|
display: inline-block;
|
|
|
|
background: var(--primary-dark);
|
|
|
|
border-color: var(--primary-light)
|
|
|
|
}
|
|
|
|
|
2024-11-26 23:37:16 -05:00
|
|
|
.header {
|
|
|
|
z-index: 5;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
display: flex;
|
|
|
|
background: var(--gray);
|
|
|
|
color: var(--white);
|
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
align-items: center;
|
|
|
|
width: calc(100vw - 20px)
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-link,
|
|
|
|
.link {
|
|
|
|
font-weight: 700;
|
|
|
|
color: var(--white)
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-link {
|
|
|
|
text-decoration: none;
|
|
|
|
padding-left: .5em;
|
|
|
|
margin-left: .5em;
|
|
|
|
border-left: solid var(--white) 2px;
|
|
|
|
|
2024-11-26 11:38:28 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2024-11-26 23:37:16 -05:00
|
|
|
justify-content: center;
|
|
|
|
height: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-img {
|
|
|
|
border-left: none;
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
height: 1.5em;
|
|
|
|
width: 1.5em;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
.form {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
.form-button, .form-heading, .form-message {
|
|
|
|
grid-column: span 1;
|
|
|
|
}
|
2024-11-26 11:38:28 -05:00
|
|
|
}
|