mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
217 lines
No EOL
3.1 KiB
CSS
217 lines
No EOL
3.1 KiB
CSS
@import "color-schemes.css";
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
*::selection {
|
|
background-color: var(--selection);
|
|
color: var(--foreground);
|
|
text-shadow: none;
|
|
}
|
|
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
background-color: var(--background);
|
|
|
|
color: var(--foreground);
|
|
font-family: sans-serif;
|
|
text-shadow: 1px 1px 1px var(--background);
|
|
|
|
min-height: 100vh;
|
|
}
|
|
|
|
hgroup > * {
|
|
margin: 0;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
text-shadow: 2px 2px 2px var(--background);
|
|
}
|
|
|
|
a {
|
|
color: var(--anchor);
|
|
}
|
|
|
|
a:visited {
|
|
color: var(--anchor-visited);
|
|
}
|
|
|
|
a:active {
|
|
color: var(--anchor-active);
|
|
}
|
|
|
|
input, button {
|
|
padding: 8px;
|
|
|
|
color: var(--foreground);
|
|
background-color: var(--interactable);
|
|
|
|
border-width: 2px;
|
|
border-color: var(--border);
|
|
border-radius: 16px;
|
|
|
|
font-size: medium;
|
|
height: 40px;
|
|
|
|
vertical-align: middle;
|
|
}
|
|
|
|
input[type="text"] {
|
|
border-style: inset;
|
|
}
|
|
|
|
input[type="submit"], button {
|
|
border-style: outset;
|
|
text-align: center;
|
|
}
|
|
|
|
input[type="submit"]:active:not([disabled]), button:active:not([disabled]) {
|
|
border-style: inset;
|
|
}
|
|
|
|
*[disabled] {
|
|
opacity: 0.2;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.positive {
|
|
color: var(--positive);
|
|
}
|
|
|
|
.negative {
|
|
color: var(--negative);
|
|
}
|
|
|
|
.square-40 {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
input.positive, button.positive {
|
|
border-color: var(--positive);
|
|
}
|
|
|
|
input.negative, button.negative {
|
|
border-color: var(--negative);
|
|
}
|
|
|
|
.page {
|
|
min-height: 100vh;
|
|
padding: 12px;
|
|
}
|
|
|
|
.container-btn-telegram > div {
|
|
height: 40px;
|
|
}
|
|
|
|
.postcard {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
object-fit: cover;
|
|
|
|
position: absolute;
|
|
z-index: -1;
|
|
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.icon {
|
|
filter: drop-shadow(1px 1px 1px var(--background));
|
|
}
|
|
|
|
.icon.fa-pulse {
|
|
filter: drop-shadow(1px 1px 1px var(--background));
|
|
}
|
|
|
|
.form-monorow {
|
|
max-width: 600px;
|
|
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 4px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.form-monorow input {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.form-monorow input[type="submit"] {
|
|
flex-grow: 0;
|
|
}
|
|
|
|
.list-events {
|
|
max-height: 20vh;
|
|
padding-left: 20px;
|
|
padding-bottom: 12px;
|
|
|
|
text-align: left;
|
|
|
|
overflow-y: scroll;
|
|
|
|
column-count: auto;
|
|
column-width: 140px;
|
|
}
|
|
|
|
.error-block pre {
|
|
display: inline-block;
|
|
margin: 0;
|
|
|
|
text-align: left;
|
|
}
|
|
|
|
#page-index {
|
|
display: grid;
|
|
grid-template-columns: 100%;
|
|
grid-template-rows: auto 1fr;
|
|
|
|
justify-content: stretch;
|
|
text-align: center;
|
|
|
|
gap: 32px;
|
|
}
|
|
|
|
#page-index .hero-titles {
|
|
align-self: center;
|
|
grid-row: 1;
|
|
}
|
|
|
|
#page-index .hero-titles h1 {
|
|
font-size: 10rem;
|
|
}
|
|
|
|
#page-index .hero-titles h2 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
@media (max-width: 640px) or (max-height: 640px) {
|
|
#page-index .hero-titles h1 {
|
|
font-size: 5rem;
|
|
}
|
|
|
|
#page-index .hero-titles h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
#page-index .hero-action {
|
|
align-self: start;
|
|
justify-self: center;
|
|
|
|
grid-row: 2;
|
|
|
|
max-width: 800px;
|
|
width: 100%;
|
|
}
|
|
|
|
#page-event-detail h1 {
|
|
text-align: center;
|
|
} |