100 lines
No EOL
1.8 KiB
CSS
100 lines
No EOL
1.8 KiB
CSS
:root {
|
|
--black: rgb(32, 7, 21);
|
|
--gray: rgb(153, 75, 121);
|
|
--gray-2: rgb(194, 122, 184);
|
|
--white: rgb(255, 232, 246);
|
|
--primary-dark: rgb(69, 122, 201);
|
|
--primary-light: rgb(145, 193, 255);
|
|
--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;
|
|
}
|
|
|
|
.banner,
|
|
body {
|
|
display: flex;
|
|
flex-direction: column
|
|
}
|
|
|
|
body {
|
|
align-items: center;
|
|
overflow-x: hidden;
|
|
margin-top: 0
|
|
}
|
|
|
|
.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))
|
|
}
|
|
|
|
.link {
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
color: var(--white)
|
|
}
|
|
|
|
.banner,
|
|
.banner-background,
|
|
.content {
|
|
width: var(--elem-width)
|
|
}
|
|
|
|
.content,
|
|
.form-button {
|
|
border: solid var(--gray-2) 3px;
|
|
background: var(--gray);
|
|
border-radius: var(--border-radius);
|
|
color: var(--white);
|
|
padding: .5rem;
|
|
margin-bottom: .5rem;
|
|
text-decoration: none
|
|
}
|
|
|
|
.content {
|
|
margin-top: 10px;
|
|
width: calc(var(--elem-width) - 1rem)
|
|
}
|
|
|
|
.content-header {
|
|
width: var(--elem-width)
|
|
}
|
|
|
|
img {
|
|
user-select: none
|
|
}
|
|
|
|
pre {
|
|
white-space: pre-wrap;
|
|
font-family: var(--font) !important;
|
|
}
|
|
|
|
.form-button {
|
|
font-weight: 700;
|
|
display: inline-block;
|
|
background: var(--primary-dark);
|
|
border-color: var(--primary-light)
|
|
} |