| |
| @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; |
| --bot-msg-bg: transparent; |
| --msg-border: transparent; |
| } |
|
|
| |
| * { |
| font-family: 'Minecraft', 'Mojangles', monospace !important; |
| scrollbar-width: none !important; |
| -ms-overflow-style: none !important; |
| } |
|
|
| *::-webkit-scrollbar { |
| display: none !important; |
| width: 0 !important; |
| height: 0 !important; |
| } |
|
|
| |
| body, .gradio-container { |
| background-color: #2b2b2b !important; |
| background-image: var(--bg-image) !important; |
| background-repeat: no-repeat; |
| background-size: cover; |
| max-width: 100vw !important; |
| min-height: 100vh !important; |
| margin: 0 !important; |
| padding: 0 !important; |
| overflow-x: hidden !important; |
| } |
|
|
| #main-wrapper { |
| max-width: 1000px !important; |
| margin: 0 auto; |
| padding-top: 20px; |
| background: transparent !important; |
| border: none !important; |
| } |
|
|
| |
| #header-row { |
| margin-bottom: 20px; |
| align-items: flex-start; |
| } |
|
|
| #theme-btn, #crafting-btn { |
| background: #989898 !important; |
| color: #fff !important; |
| border: 2px solid #000 !important; |
| box-shadow: inset 2px 2px #fff, inset -2px -2px #555; |
| border-radius: 0 !important; |
| width: 100px; |
| height: 40px; |
| display: flex !important; |
| justify-content: center !important; |
| align-items: center !important; |
| padding: 0 !important; |
| line-height: normal !important; |
| text-align: center !important; |
| } |
|
|
| #theme-btn:hover, #crafting-btn:hover { |
| background: #a8a8a8 !important; |
| color: #ffffa0 !important; |
| } |
|
|
| #theme-col { |
| display: flex !important; |
| justify-content: flex-start !important; |
| position: relative !important; |
| overflow: visible !important; |
| z-index: 200; |
| padding: 0 !important; |
| background: transparent !important; |
| border: none !important; |
| } |
|
|
| #crafting-col { |
| display: flex !important; |
| justify-content: flex-end !important; |
| position: relative !important; |
| overflow: visible !important; |
| z-index: 200; |
| padding: 0 !important; |
| background: transparent !important; |
| border: none !important; |
| } |
|
|
| |
| #theme-menu-group > * { |
| background: transparent !important; |
| background-color: transparent !important; |
| border: none !important; |
| box-shadow: none !important; |
| padding: 0 !important; |
| margin: 0 !important; |
| } |
|
|
| #theme-menu-group { |
| position: absolute !important; |
| top: 50px; |
| left: 0; |
| width: 150px; |
| background-color: #c6c6c6 !important; |
| border: 3px solid #000 !important; |
| box-shadow: 4px 4px 0px rgba(0,0,0,0.5); |
| padding: 5px; |
| z-index: 9999 !important; |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| #theme-menu-group button { |
| background: #8b8b8b !important; |
| color: #fff !important; |
| border: 2px solid #000 !important; |
| text-align: left !important; |
| border-radius: 0 !important; |
| font-family: 'Minecraft', monospace !important; |
| box-shadow: inset 2px 2px #aaa, inset -2px -2px #555; |
| margin-bottom: 5px; |
| } |
|
|
| |
| #theme-menu-group button:last-child { |
| margin-bottom: 0 !important; |
| } |
|
|
| #theme-menu-group button:hover { |
| background: #C6C6C6 !important; |
| color: #ffffa0 !important; |
| } |
|
|
| |
| #crafting-popup .html-container, |
| #crafting-popup .prose { |
| background: transparent !important; |
| background-color: transparent !important; |
| border: none !important; |
| box-shadow: none !important; |
| padding: 0 !important; |
| margin: 0 !important; |
| overflow: visible !important; |
| } |
|
|
|
|
| #crafting-popup { |
| position: absolute !important; |
| top: 50px; |
| right: 0; |
| width: auto; |
| background-color: #c6c6c6 !important; |
| border: 3px solid #000 !important; |
| box-shadow: 6px 6px 0px rgba(0,0,0,0.5); |
| padding: 15px !important; |
| z-index: 9999 !important; |
| font-family: 'Minecraft', monospace !important; |
| } |
|
|
| .crafting-gui-container { |
| display: flex; |
| flex-direction: column; |
| color: #404040; |
| background-color: #c6c6c6 !important; |
| 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; |
| 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; } |
|
|
| |
|
|
| .crafting-arrow-container { |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| width: 50px; |
| height: 40px; |
| } |
|
|
| |
| .arrow-shaft { |
| width: 25px; |
| height: 8px; |
| background-color: #8b8b8b; |
| margin-right: -2px; |
| } |
|
|
| |
| .arrow-tip { |
| width: 0; |
| height: 0; |
| |
| border-top: 15px solid transparent; |
| border-bottom: 15px solid transparent; |
| border-left: 18px solid #8b8b8b; |
| } |
|
|
| |
| #minecraft-chat { |
| background: transparent !important; |
| border: none !important; |
| height: 500px !important; |
| overflow-y: auto !important; |
| overflow-x: hidden !important; |
| padding-right: 10px; |
| } |
|
|
| .bubble-wrap { |
| background: transparent !important; |
| padding: 0 !important; |
| } |
|
|
| |
| .message.user { |
| background-color: var(--user-msg-bg) !important; |
| border: 2px solid var(--msg-border) !important; |
| border-radius: 0 !important; |
| color: #fff !important; |
| float: right !important; |
| margin-left: auto !important; |
| margin-right: 0 !important; |
| width: fit-content !important; |
| max-width: 100% !important; |
| text-align: left; |
| } |
|
|
| .message.bot { |
| background-color: var(--bot-msg-bg) !important; |
| border: 2px solid var(--msg-border) !important; |
| border-radius: 0 !important; |
| color: #fff !important; |
| float: left !important; |
| margin-right: auto !important; |
| margin-left: 0 !important; |
| width: fit-content !important; |
| max-width: 100% !important; |
| text-align: left; |
| } |
|
|
| .message-row { |
| display: flex !important; |
| width: 100% !important; |
| margin-bottom: 10px !important; |
| } |
| .message-row.user-row { justify-content: flex-end !important; } |
| .message-row.bot-row { justify-content: flex-start !important; } |
|
|
| |
| #footer-area { |
| background-color: #838383 !important; |
| box-shadow: none !important; |
| border: 3px solid #838383 !important; |
| border-radius: 0; |
| } |
|
|
| #input-row { |
| gap: 0 !important; |
| align-items: flex-end !important; |
| } |
|
|
| #minecraft-input textarea { |
| background-color: #000000 !important; |
| color: #ffffff !important; |
| border: 3px solid #000000 !important; |
| border-radius: 0 !important; |
| font-size: 16px !important; |
| height: 60px !important; |
| max-height: 60px !important; |
| overflow: hidden !important; |
| resize: none !important; |
| white-space: nowrap !important; |
| padding: 18px 15px !important; |
| box-sizing: border-box !important; |
| outline: 2px solid #000 !important; |
| outline-offset: 2px; |
| } |
|
|
| #minecraft-send-btn { |
| background: #888 !important; |
| color: #fff !important; |
| border: 3px solid #000 !important; |
| box-shadow: inset 3px 3px #ccc, inset -3px -3px #444; |
| border-radius: 0 !important; |
| height: 60px !important; |
| width: 120px; |
| box-sizing: border-box !important; |
| font-size: 18px !important; |
| text-shadow: 2px 2px #333; |
| display: flex !important; |
| align-items: center !important; |
| justify-content: center !important; |
| } |
|
|
| #minecraft-send-btn:hover { |
| background: #999 !important; |
| color: #ffffa0 !important; |
| } |
|
|
| |
| html[data-theme="night"] { |
| --bg-image: url('https://cdn.modrinth.com/data/cached_images/f563e69bc655c58937afed34c3409cbfb526565b.jpeg'); |
| --body-background-fill: #0b0f19; |
| --body-text-color: #e2e8f0; |
|
|
| |
| --user-msg-bg: #5D4037; |
| --bot-msg-bg: #37474F; |
| --msg-border: #8D6E63; |
| } |
|
|
| html[data-theme="forest"] { |
| --bg-image: url('https://images5.alphacoders.com/118/thumb-1920-1183450.jpg'); |
| --body-background-fill: #1a2f1a; |
| --body-text-color: #dcfce7; |
|
|
| |
| --user-msg-bg: #2E7D32; |
| --bot-msg-bg: #1B5E20; |
| --msg-border: #66BB6A; |
| } |
|
|
|
|