1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-10-16 15:07:27 +00:00
festa/styles/globals.css

217 lines
3.1 KiB
CSS
Raw Normal View History

2022-05-29 02:01:56 +00:00
@import "color-schemes.css";
2022-05-28 03:45:05 +00:00
* {
box-sizing: border-box;
2022-05-27 00:46:30 +00:00
}
2022-05-28 03:45:05 +00:00
*::selection {
background-color: var(--selection);
color: var(--foreground);
text-shadow: none;
2022-05-27 00:46:30 +00:00
}
body {
padding: 0;
margin: 0;
2022-05-27 00:46:30 +00:00
background-color: var(--background);
color: var(--foreground);
2022-05-28 03:45:05 +00:00
font-family: sans-serif;
2022-05-27 00:46:30 +00:00
text-shadow: 1px 1px 1px var(--background);
2022-05-29 02:01:56 +00:00
min-height: 100vh;
2022-05-20 11:59:24 +00:00
}
2022-05-29 02:01:56 +00:00
hgroup > * {
2022-05-25 15:03:53 +00:00
margin: 0;
2022-05-29 02:01:56 +00:00
}
h1, h2, h3, h4, h5, h6 {
2022-05-27 00:46:30 +00:00
text-shadow: 2px 2px 2px var(--background);
2022-05-25 15:03:53 +00:00
}
2022-05-27 00:46:30 +00:00
a {
color: var(--anchor);
}
2022-05-25 15:50:31 +00:00
2022-05-27 00:46:30 +00:00
a:visited {
color: var(--anchor-visited);
}
2022-05-25 15:50:31 +00:00
2022-05-27 00:46:30 +00:00
a:active {
color: var(--anchor-active);
}
2022-05-25 15:50:31 +00:00
2022-05-27 00:46:30 +00:00
input, button {
padding: 8px;
color: var(--foreground);
2022-05-28 03:45:05 +00:00
background-color: var(--interactable);
2022-05-27 00:46:30 +00:00
border-width: 2px;
border-color: var(--border);
border-radius: 16px;
font-size: medium;
height: 40px;
vertical-align: middle;
2022-05-20 11:59:24 +00:00
}
2022-05-27 00:46:30 +00:00
input[type="text"] {
border-style: inset;
}
2022-05-25 15:50:31 +00:00
2022-05-27 00:46:30 +00:00
input[type="submit"], button {
border-style: outset;
2022-05-29 03:00:48 +00:00
text-align: center;
2022-05-27 00:46:30 +00:00
}
2022-05-25 15:50:31 +00:00
2022-06-01 16:54:59 +00:00
input[type="submit"]:active:not([disabled]), button:active:not([disabled]) {
2022-05-27 00:46:30 +00:00
border-style: inset;
}
2022-05-25 15:50:31 +00:00
2022-06-01 16:54:59 +00:00
*[disabled] {
opacity: 0.2;
cursor: not-allowed;
}
2022-06-02 02:32:50 +00:00
.positive {
color: var(--positive);
}
.negative {
color: var(--negative);
}
2022-05-29 02:01:56 +00:00
.square-40 {
2022-05-27 00:46:30 +00:00
width: 40px;
height: 40px;
2022-05-24 16:55:21 +00:00
}
2022-05-27 00:46:30 +00:00
2022-05-29 02:01:56 +00:00
input.positive, button.positive {
2022-05-27 00:46:30 +00:00
border-color: var(--positive);
}
2022-05-29 02:01:56 +00:00
input.negative, button.negative {
2022-05-27 00:46:30 +00:00
border-color: var(--negative);
2022-05-28 03:45:05 +00:00
}
2022-05-29 02:01:56 +00:00
.page {
min-height: 100vh;
2022-05-29 03:00:48 +00:00
padding: 12px;
2022-05-29 02:01:56 +00:00
}
.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;
}
2022-06-01 03:04:15 +00:00
.icon {
filter: drop-shadow(1px 1px 1px var(--background));
}
.icon.fa-pulse {
filter: drop-shadow(1px 1px 1px var(--background));
}
.form-monorow {
2022-06-01 16:54:59 +00:00
max-width: 600px;
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction: row;
gap: 4px;
justify-content: center;
align-items: center;
2022-06-01 16:54:59 +00:00
}
.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;
}
2022-06-02 02:26:52 +00:00
.error-block pre {
display: inline-block;
margin: 0;
text-align: left;
2022-06-02 02:32:50 +00:00
}
#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%;
}
2022-06-03 01:55:02 +00:00
#page-event-detail h1 {
text-align: center;
}