Download style.css from Team-05/SteveGPT: direct link, hf CLI and curl.
- Browser
- Download file 9.84 kB
-
https://huggingface.co/spaces/Team-05/SteveGPT/resolve/main/style.css
- Command line
-
hf download hf://spaces/Team-05/SteveGPT/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Team-05/SteveGPT/resolve/main/style.css
9.84 kB
| /* === 1. FONTS === */ | |
| @import url('https://fonts.cdnfonts.com/css/mojangles'); | |
| :root { | |
| --bg-image: linear-gradient(to top, #18181b, #09090b); | |
| --bg-color: #2b2b2b; | |
| --text-color: #ffffff; | |
| --user-msg-bg: #3f3f46; /* Helles Anthrazit */ | |
| --bot-msg-bg: transparent; /* Dunkles Anthrazit */ | |
| --msg-border: transparent; /* Dezenter Rahmen */ | |
| } | |
| /* Wir wenden sie an */ | |
| * { | |
| font-family: 'Minecraft', 'Mojangles', monospace ; | |
| scrollbar-width: none ; | |
| -ms-overflow-style: none ; | |
| } | |
| *::-webkit-scrollbar { | |
| display: none ; | |
| width: 0 ; | |
| height: 0 ; | |
| } | |
| /* === 2. GLOBAL BACKGROUND === */ | |
| body, .gradio-container { | |
| background-color: #2b2b2b ; | |
| background-image: var(--bg-image) ; | |
| background-repeat: no-repeat; | |
| background-size: cover; | |
| max-width: 100vw ; | |
| min-height: 100vh ; | |
| margin: 0 ; | |
| padding: 0 ; | |
| overflow-x: hidden ; | |
| } | |
| #main-wrapper { | |
| max-width: 1000px ; | |
| margin: 0 auto; | |
| padding-top: 20px; | |
| background: transparent ; | |
| border: none ; | |
| } | |
| /* === 3. HEADER BUTTONS === */ | |
| #header-row { | |
| margin-bottom: 20px; | |
| align-items: flex-start; | |
| } | |
| #theme-btn, #crafting-btn { | |
| background: #989898 ; | |
| color: #fff ; | |
| border: 2px solid #000 ; | |
| box-shadow: inset 2px 2px #fff, inset -2px -2px #555; | |
| border-radius: 0 ; | |
| width: 100px; | |
| height: 40px; | |
| display: flex ; | |
| justify-content: center ; | |
| align-items: center ; | |
| padding: 0 ; | |
| line-height: normal ; | |
| text-align: center ; | |
| } | |
| #theme-btn:hover, #crafting-btn:hover { | |
| background: #a8a8a8 ; | |
| color: #ffffa0 ; | |
| } | |
| #theme-col { | |
| display: flex ; | |
| justify-content: flex-start ; | |
| position: relative ; | |
| overflow: visible ; | |
| z-index: 200; | |
| padding: 0 ; | |
| background: transparent ; | |
| border: none ; | |
| } | |
| #crafting-col { | |
| display: flex ; | |
| justify-content: flex-end ; | |
| position: relative ; | |
| overflow: visible ; | |
| z-index: 200; | |
| padding: 0 ; | |
| background: transparent ; | |
| border: none ; | |
| } | |
| /* === MENÜS & POPUPS === */ | |
| #theme-menu-group > * { | |
| background: transparent ; | |
| background-color: transparent ; | |
| border: none ; | |
| box-shadow: none ; | |
| padding: 0 ; | |
| margin: 0 ; | |
| } | |
| #theme-menu-group { | |
| position: absolute ; | |
| top: 50px; | |
| left: 0; | |
| width: 150px; | |
| background-color: #c6c6c6 ; | |
| border: 3px solid #000 ; | |
| box-shadow: 4px 4px 0px rgba(0,0,0,0.5); | |
| padding: 5px; | |
| z-index: 9999 ; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| #theme-menu-group button { | |
| background: #8b8b8b ; | |
| color: #fff ; | |
| border: 2px solid #000 ; | |
| text-align: left ; | |
| border-radius: 0 ; | |
| font-family: 'Minecraft', monospace ; | |
| box-shadow: inset 2px 2px #aaa, inset -2px -2px #555; | |
| margin-bottom: 5px; | |
| } | |
| /* Letzten Button ohne Abstand unten */ | |
| #theme-menu-group button:last-child { | |
| margin-bottom: 0 ; | |
| } | |
| #theme-menu-group button:hover { | |
| background: #C6C6C6 ; | |
| color: #ffffa0 ; | |
| } | |
| /* === CRAFTING POPUP === */ | |
| #crafting-popup .html-container, | |
| #crafting-popup .prose { | |
| background: transparent ; | |
| background-color: transparent ; | |
| border: none ; | |
| box-shadow: none ; | |
| padding: 0 ; | |
| margin: 0 ; | |
| overflow: visible ; | |
| } | |
| #crafting-popup { | |
| position: absolute ; | |
| top: 50px; | |
| right: 0; | |
| width: auto; | |
| background-color: #c6c6c6 ; | |
| border: 3px solid #000 ; | |
| box-shadow: 6px 6px 0px rgba(0,0,0,0.5); | |
| padding: 15px ; | |
| z-index: 9999 ; | |
| font-family: 'Minecraft', monospace ; | |
| } | |
| .crafting-gui-container { | |
| display: flex; | |
| flex-direction: column; | |
| color: #404040; | |
| background-color: #c6c6c6 ; | |
| padding: 5px; | |
| } | |
| .crafting-label { | |
| font-size: 20px; | |
| margin-bottom: 10px; | |
| text-transform: uppercase; | |
| background-color: #c6c6c6 | |
| } | |
| .crafting-layout { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 15px; /* Abstand zwischen den Elementen */ | |
| background-color: #c6c6c6 | |
| } | |
| .crafting-grid-3x3 { | |
| display: grid; | |
| grid-template-columns: repeat(3, 36px); | |
| grid-template-rows: repeat(3, 36px); | |
| gap: 4px; | |
| background-color: #c6c6c6 | |
| } | |
| .mc-slot { | |
| width: 36px; | |
| height: 36px; | |
| background-color: #8b8b8b; | |
| border-right: 2px solid #ffffff; | |
| border-bottom: 2px solid #ffffff; | |
| border-left: 2px solid #555555; | |
| border-top: 2px solid #555555; | |
| box-sizing: border-box; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| background-color: #c6c6c6 | |
| } | |
| .mc-slot.large { | |
| width: 56px; | |
| height: 56px; | |
| background-color: #c6c6c6 | |
| } | |
| .slot-item { | |
| width: 30px; | |
| height: 30px; | |
| display: none; | |
| image-rendering: pixelated; | |
| background-color: #c6c6c6 | |
| } | |
| .slot-item[src*="."] { display: block; } | |
| .mc-slot.large .slot-item { width: 48px; height: 48px; } | |
| /* === NEUER CSS PFEIL (Zwei Formen) === */ | |
| .crafting-arrow-container { | |
| display: flex; | |
| align-items: center; /* Zentriert den Schaft mittig zur Spitze */ | |
| justify-content: center; | |
| width: 50px; | |
| height: 40px; | |
| } | |
| /* Form 1: Der Schaft (Das Rechteck) */ | |
| .arrow-shaft { | |
| width: 25px; /* Länge des Strichs */ | |
| height: 8px; /* Dicke des Strichs */ | |
| background-color: #8b8b8b; /* Die gleiche graue Farbe wie die Slots */ | |
| margin-right: -2px; /* Schiebt es leicht in die Spitze rein, damit keine Lücke entsteht */ | |
| } | |
| /* Form 2: Die Spitze (Das Dreieck) */ | |
| .arrow-tip { | |
| width: 0; | |
| height: 0; | |
| /* CSS Trick für Dreiecke */ | |
| border-top: 15px solid transparent; | |
| border-bottom: 15px solid transparent; | |
| border-left: 18px solid #8b8b8b; /* Die Spitze in grau */ | |
| } | |
| /* === 4. CHAT AREA === */ | |
| #minecraft-chat { | |
| background: transparent ; | |
| border: none ; | |
| height: 500px ; | |
| overflow-y: auto ; | |
| overflow-x: hidden ; | |
| padding-right: 10px; | |
| } | |
| .bubble-wrap { | |
| background: transparent ; | |
| padding: 0 ; | |
| } | |
| /* === NACHRICHTEN STYLING === */ | |
| .message.user { | |
| background-color: var(--user-msg-bg) ; | |
| border: 2px solid var(--msg-border) ; | |
| border-radius: 0 ; | |
| color: #fff ; | |
| float: right ; | |
| margin-left: auto ; | |
| margin-right: 0 ; | |
| width: fit-content ; | |
| max-width: 100% ; | |
| text-align: left; | |
| } | |
| .message.bot { | |
| background-color: var(--bot-msg-bg) ; | |
| border: 2px solid var(--msg-border) ; | |
| border-radius: 0 ; | |
| color: #fff ; | |
| float: left ; | |
| margin-right: auto ; | |
| margin-left: 0 ; | |
| width: fit-content ; | |
| max-width: 100% ; | |
| text-align: left; | |
| } | |
| .message-row { | |
| display: flex ; | |
| width: 100% ; | |
| margin-bottom: 10px ; | |
| } | |
| .message-row.user-row { justify-content: flex-end ; } | |
| .message-row.bot-row { justify-content: flex-start ; } | |
| /* === 5. FOOTER & INPUT === */ | |
| #footer-area { | |
| background-color: #838383 ; | |
| box-shadow: none ; | |
| border: 3px solid #838383 ; | |
| border-radius: 0; | |
| } | |
| #input-row { | |
| gap: 0 ; | |
| align-items: flex-end ; | |
| } | |
| #minecraft-input textarea { | |
| background-color: #000000 ; | |
| color: #ffffff ; | |
| border: 3px solid #000000 ; | |
| border-radius: 0 ; | |
| font-size: 16px ; | |
| height: 60px ; | |
| max-height: 60px ; | |
| overflow: hidden ; | |
| resize: none ; | |
| white-space: nowrap ; | |
| padding: 18px 15px ; | |
| box-sizing: border-box ; | |
| outline: 2px solid #000 ; | |
| outline-offset: 2px; | |
| } | |
| #minecraft-send-btn { | |
| background: #888 ; | |
| color: #fff ; | |
| border: 3px solid #000 ; | |
| box-shadow: inset 3px 3px #ccc, inset -3px -3px #444; | |
| border-radius: 0 ; | |
| height: 60px ; | |
| width: 120px; | |
| box-sizing: border-box ; | |
| font-size: 18px ; | |
| text-shadow: 2px 2px #333; | |
| display: flex ; | |
| align-items: center ; | |
| justify-content: center ; | |
| } | |
| #minecraft-send-btn:hover { | |
| background: #999 ; | |
| color: #ffffa0 ; | |
| } | |
| /* === THEMES CSS === */ | |
| html[data-theme="night"] { | |
| --bg-image: url('https://cdn.modrinth.com/data/cached_images/f563e69bc655c58937afed34c3409cbfb526565b.jpeg'); | |
| --body-background-fill: #0b0f19; | |
| --body-text-color: #e2e8f0; | |
| /* CHAT FARBEN: NACHT (Braun & Stein-Grau) */ | |
| --user-msg-bg: #5D4037; /* Brauner "Erde"-Ton */ | |
| --bot-msg-bg: #37474F; /* Blaugrauer "Stein"-Ton */ | |
| --msg-border: #8D6E63; /* Hellerer Rahmen */ | |
| } | |
| html[data-theme="forest"] { | |
| --bg-image: url('https://images5.alphacoders.com/118/thumb-1920-1183450.jpg'); | |
| --body-background-fill: #1a2f1a; | |
| --body-text-color: #dcfce7; | |
| /* CHAT FARBEN: WALD (Grüntöne) */ | |
| --user-msg-bg: #2E7D32; /* Sattes Blattgrün */ | |
| --bot-msg-bg: #1B5E20; /* Dunkles Waldgrün */ | |
| --msg-border: #66BB6A; /* Hellgrüner Rahmen */ | |
| } | |