2025-05-28 02:04:11 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
2025-05-28 19:35:32 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2025-05-28 17:31:18 +02:00
|
|
|
<title>Summoner / Virtuelles interdimensionales Geisterteleportationsgerät</title>
|
2025-05-28 02:04:11 +02:00
|
|
|
<script type="importmap">
|
|
|
|
|
{
|
|
|
|
|
"imports": {
|
|
|
|
|
"three": "https://cdn.jsdelivr.net/npm/three@0.155.0/build/three.module.js",
|
|
|
|
|
"GLTFLoader": "https://cdn.jsdelivr.net/npm/three@0.155.0/examples/jsm/loaders/GLTFLoader.js",
|
|
|
|
|
"DRACOLoader": "https://cdn.jsdelivr.net/npm/three@0.155.0/examples/jsm/loaders/DRACOLoader.js"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style>
|
2025-05-28 19:41:17 +02:00
|
|
|
html, body {
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background: #000;
|
|
|
|
|
}
|
|
|
|
|
#viewer {
|
|
|
|
|
position: fixed;
|
|
|
|
|
inset: 0;
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background: #000;
|
|
|
|
|
}
|
|
|
|
|
canvas {
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 50%; top: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
}
|
|
|
|
|
|
2025-05-28 20:00:34 +02:00
|
|
|
#spirit-info h2 {
|
|
|
|
|
margin: 0 0 8px 0;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: 0.04em;
|
|
|
|
|
font-size: 1.6em;
|
|
|
|
|
white-space: normal;
|
|
|
|
|
word-break: keep-all;
|
|
|
|
|
overflow-wrap: normal;
|
|
|
|
|
}
|
|
|
|
|
|
2025-05-28 20:04:19 +02:00
|
|
|
/* === Standard: Mobile/klein - Bild oben, Text unten === */
|
2025-05-28 20:00:34 +02:00
|
|
|
.spirit-info-flex {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2025-05-28 20:04:19 +02:00
|
|
|
gap: 16px;
|
2025-05-28 20:00:34 +02:00
|
|
|
}
|
2025-05-28 20:04:19 +02:00
|
|
|
#spirit-info img {
|
|
|
|
|
display: block;
|
|
|
|
|
margin: 0 auto 18px auto;
|
|
|
|
|
max-width: 84vw;
|
|
|
|
|
max-height: 30vh;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
object-fit: contain;
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
#spirit-info .spirit-info-content {
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
word-break: break-word;
|
2025-05-28 19:41:17 +02:00
|
|
|
}
|
|
|
|
|
|
2025-05-28 20:04:19 +02:00
|
|
|
/* === Breiter Desktop ODER Mobile Landscape: Bild links, Text rechts === */
|
|
|
|
|
@media (min-width: 750px) and (pointer: fine), (pointer: coarse) and (orientation: landscape) and (min-width: 750px) {
|
2025-05-28 19:41:17 +02:00
|
|
|
.spirit-info-flex {
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 32px;
|
|
|
|
|
}
|
|
|
|
|
#spirit-info img {
|
|
|
|
|
max-width: 220px;
|
|
|
|
|
min-width: 120px;
|
|
|
|
|
width: 35vw;
|
|
|
|
|
max-height: 45vh;
|
2025-05-28 19:18:51 +02:00
|
|
|
height: auto;
|
2025-05-28 19:41:17 +02:00
|
|
|
object-fit: contain;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
background: transparent;
|
|
|
|
|
flex-shrink: 0;
|
2025-05-28 19:18:51 +02:00
|
|
|
margin: 0;
|
2025-05-28 19:41:17 +02:00
|
|
|
display: block;
|
2025-05-28 19:02:43 +02:00
|
|
|
}
|
2025-05-28 19:41:17 +02:00
|
|
|
#spirit-info .spirit-info-content {
|
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
max-width: 450px;
|
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
|
word-break: break-word;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-05-28 18:49:38 +02:00
|
|
|
|
2025-05-28 20:04:19 +02:00
|
|
|
/* #spirit-info: Größe Desktop vs. Mobile */
|
|
|
|
|
#spirit-info {
|
|
|
|
|
width: 90vw;
|
|
|
|
|
max-width: 98vw;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
max-height: 82dvh;
|
|
|
|
|
padding: 8vw 4vw 4vw 4vw;
|
2025-05-28 18:54:30 +02:00
|
|
|
}
|
2025-05-28 20:04:19 +02:00
|
|
|
@media (min-width: 750px) and (pointer: fine) {
|
2025-05-28 20:02:28 +02:00
|
|
|
#spirit-info {
|
2025-05-28 20:04:19 +02:00
|
|
|
width: 600px;
|
|
|
|
|
max-width: calc(100vw - 64px);
|
|
|
|
|
min-width: 320px;
|
|
|
|
|
max-height: calc(100dvh - 64px);
|
|
|
|
|
padding: 40px 40px 36px 40px;
|
2025-05-28 20:02:28 +02:00
|
|
|
}
|
|
|
|
|
}
|
2025-05-28 02:04:11 +02:00
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="viewer"></div>
|
2025-05-28 02:24:12 +02:00
|
|
|
<script type="module" src="app.js"></script>
|
2025-05-28 02:04:11 +02:00
|
|
|
</body>
|
|
|
|
|
</html>
|