minezo-www/index.css

188 lines
2.7 KiB
CSS
Raw Permalink Normal View History

2024-10-16 16:24:07 -04:00
:root {
2025-01-17 02:06:15 -05:00
--black-3: rgb(177, 177, 177);
--black-2: rgb(71, 69, 65);
--black: rgb(39, 38, 37);
--gray: rgb(31, 30, 28);
--white: rgb(255, 251, 241);
2024-10-16 16:24:07 -04:00
2025-01-17 02:06:15 -05:00
--elem-width: min(1200px, 90vw);
--elem-height: min(800px, 90vh);
2024-10-16 16:24:07 -04:00
2025-01-17 02:06:15 -05:00
--border-radius: 5px;
2024-10-16 16:24:07 -04:00
color: var(--white);
font-family: system-ui, sans-serif;
2025-01-17 02:06:15 -05:00
}
.important {
font-size: 1.5rem;
2024-10-16 16:24:07 -04:00
}
body {
display: flex;
flex-direction: column;
align-items: center;
2025-01-17 02:06:15 -05:00
background: var(--black);
2024-10-16 16:24:07 -04:00
margin-top: 0;
}
.banner {
display: flex;
flex-direction: column;
justify-content: center;
}
.banner-background {
border-radius: var(--border-radius);
background-color: var(--gray);
object-fit: cover;
}
2025-01-17 02:06:15 -05:00
.banner-background,
.banner-content {
2024-10-16 16:24:07 -04:00
height: var(--elem-height);
overflow-y: auto;
}
.banner-content {
margin: 10px;
position: relative;
top: calc(-1 * var(--elem-height));
2024-12-26 00:13:50 -05:00
background: var(--black);
2024-10-16 16:24:07 -04:00
}
.header {
position: sticky;
top: 0;
display: flex;
background: var(--gray);
color: var(--white);
padding: 10px;
margin-bottom: 10px;
align-items: center;
font-size: 1.2em;
width: calc(100vw - 20px);
}
.header-link {
text-decoration: none;
font-weight: bold;
color: var(--white);
padding-left: 0.5em;
margin-left: 0.5em;
border-left: solid var(--white) 2px;
}
.header-img {
margin-left: 0.8em;
height: 2em;
width: 2em;
border-radius: 100%;
object-fit: cover;
}
.content,
.form,
.banner,
2025-01-17 02:06:15 -05:00
.banner-background,
.path {
2024-10-16 16:24:07 -04:00
border: solid var(--gray) 3px;
border-radius: var(--border-radius);
2025-01-17 02:06:15 -05:00
width: var(--elem-width);
background: var(--black-2);
}
.content,
.form,
.banner,
.banner-background {
padding: 25px;
margin: 25px;
2024-10-16 16:24:07 -04:00
}
.form {
grid-template-columns: 0.7fr 1fr;
display: grid;
}
.form-key {
margin-right: 10px;
}
.form-input {
border: solid var(--gray) 3px;
background: var(--black);
border-radius: var(--border-radius);
color: var(--white);
2024-12-26 00:13:50 -05:00
font-size: 1.5rem;
2024-10-16 16:24:07 -04:00
padding: 0.5rem;
margin-bottom: 0.5rem;
}
.form-message {
font-style: italic;
}
.map {
2025-01-17 02:06:15 -05:00
width: var(--elem-width);
background: var(--gray);
image-rendering: pixelated;
image-rendering: crisp-edges;
}
.coords {
position: relative;
top: calc(var(--elem-width) / -3);
left: calc(var(--elem-width) / 2);
font-size: 16px;
background: rgba(0,0,0,0.5);
padding: 10px;
width: 250px;
margin: 0;
2025-01-17 20:49:34 -05:00
margin-bottom: -50px;
2024-10-16 16:24:07 -04:00
}
a {
2025-01-17 02:06:15 -05:00
color: inherit;
font-weight: bold;
text-decoration-thickness: 3px;
2024-12-26 00:13:50 -05:00
}
h1 {
display: flex;
align-items: center;
}
2025-01-17 02:06:15 -05:00
h1 .form-input {
2024-12-26 00:13:50 -05:00
margin-bottom: 0;
margin-left: 10px;
2025-01-17 02:06:15 -05:00
}
.path {
min-height: 200px;
display: inline-flex;
width: calc(var(--elem-width) / 4.7);
min-width: 200px;
margin: 10px;
background: var(--black-3);
color: var(--black-2);
padding: 5px;
flex-direction: column;
align-items: center;
}
.path img {
height: 200px;
2024-10-16 16:24:07 -04:00
}