99 lines
No EOL
1.7 KiB
CSS
99 lines
No EOL
1.7 KiB
CSS
:root {
|
|
--black: rgb(16, 16, 16);
|
|
--gray: rgb(38, 38, 38);
|
|
--white: rgb(240, 240, 240);
|
|
--primary-dark: rgb(59, 156, 40);
|
|
--primary-light: rgb(202, 255, 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;
|
|
}
|
|
|
|
.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) 3px;
|
|
background: var(--black);
|
|
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)
|
|
} |