74 lines
1.4 KiB
CSS
74 lines
1.4 KiB
CSS
@font-face {
|
|
font-family: 'Righteous';
|
|
src: url('/assets/fonts/Righteous-Regular.ttf') format('truetype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Julius Sans One';
|
|
src: url('/assets/fonts/JuliusSansOne-Regular.ttf') format('truetype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
background: #0f0d0a;
|
|
color: #f2ead8;
|
|
font-family: 'Julius Sans One', system-ui, sans-serif;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#game-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#game-container canvas {
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* DOM overlay used by UI components (text inputs, file pickers) positioned
|
|
absolutely above the canvas. Pointer events are enabled per-element. */
|
|
#dom-layer {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
z-index: 10;
|
|
}
|
|
|
|
#dom-layer * {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
#dom-layer input[type="text"],
|
|
#dom-layer input[type="email"],
|
|
#dom-layer input[type="password"],
|
|
#dom-layer textarea {
|
|
font: inherit;
|
|
background: rgba(15, 23, 36, 0.95);
|
|
color: #e6edf3;
|
|
border: 1px solid #2c3a4d;
|
|
border-radius: 6px;
|
|
padding: 8px 10px;
|
|
outline: none;
|
|
}
|
|
|
|
#dom-layer input:focus,
|
|
#dom-layer textarea:focus {
|
|
border-color: #c8a84b;
|
|
box-shadow: 0 0 0 2px rgba(200, 168, 75, 0.3);
|
|
}
|
|
|
|
#dom-layer button {
|
|
font: inherit;
|
|
}
|