Spaces:
Running
Running
Download index.html from Knownzz/calculator: direct link, hf CLI and curl.
- Browser
- Download file 29.5 kB
-
https://huggingface.co/spaces/Knownzz/calculator/resolve/main/index.html
- Command line
-
hf download hf://spaces/Knownzz/calculator/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Knownzz/calculator/resolve/main/index.html
29.5 kB
| <html lang="en" class="dark"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Advanced Calculator with Theme Toggle</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .calculator { | |
| background: linear-gradient(145deg, #1E293B, #0F172A); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), | |
| inset 0 0 15px rgba(255, 255, 255, 0.05); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| transition: all 0.3s ease; | |
| } | |
| .calculator.light { | |
| background: linear-gradient(145deg, #f1f5f9, #e2e8f0); | |
| color: #1e293b; | |
| border: 1px solid rgba(0, 0, 0, 0.1); | |
| } | |
| .display { | |
| background: rgba(15, 23, 42, 0.8); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2); | |
| transition: all 0.3s ease; | |
| } | |
| .light .display { | |
| background: rgba(226, 232, 240, 0.8); | |
| border: 1px solid rgba(0, 0, 0, 0.1); | |
| color: #1e293b; | |
| } | |
| .btn { | |
| transition: all 0.2s ease; | |
| position: relative; | |
| overflow: hidden; | |
| border: none; | |
| outline: none; | |
| user-select: none; | |
| } | |
| .btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | |
| } | |
| .btn:active { | |
| transform: translateY(0); | |
| } | |
| .btn-operator { | |
| background: linear-gradient(145deg, #F59E0B, #D97706); | |
| color: white; | |
| } | |
| .light .btn-operator { | |
| background: linear-gradient(145deg, #f97316, #ea580c); | |
| } | |
| .btn-function { | |
| background: linear-gradient(145deg, #64748B, #475569); | |
| color: white; | |
| } | |
| .light .btn-function { | |
| background: linear-gradient(145deg, #94a3b8, #64748b); | |
| } | |
| .btn-number { | |
| background: linear-gradient(145deg, #334155, #1E293B); | |
| color: white; | |
| } | |
| .light .btn-number { | |
| background: linear-gradient(145deg, #f1f5f9, #e2e8f0); | |
| color: #1e293b; | |
| } | |
| .btn-equals { | |
| background: linear-gradient(145deg, #10B981, #059669); | |
| color: white; | |
| } | |
| .light .btn-equals { | |
| background: linear-gradient(145deg, #059669, #047857); | |
| } | |
| .btn-clear { | |
| background: linear-gradient(145deg, #EF4444, #DC2626); | |
| color: white; | |
| } | |
| .light .btn-clear { | |
| background: linear-gradient(145deg, #dc2626, #b91c1c); | |
| } | |
| .expression { | |
| color: rgba(255, 255, 255, 0.7); | |
| min-height: 1.5rem; | |
| overflow-wrap: anywhere; | |
| } | |
| .light .expression { | |
| color: rgba(30, 41, 59, 0.7); | |
| } | |
| .current-operation { | |
| color: white; | |
| font-size: 1.5rem; | |
| min-height: 2rem; | |
| } | |
| .light .current-operation { | |
| color: #1e293b; | |
| } | |
| .result { | |
| font-size: 2rem; | |
| color: #10B981; | |
| transition: all 0.3s ease; | |
| opacity: 0; | |
| height: 0; | |
| overflow: hidden; | |
| } | |
| .light .result { | |
| color: #065f46; | |
| } | |
| .result.show { | |
| opacity: 1; | |
| height: auto; | |
| margin-top: 0.5rem; | |
| } | |
| .ripple { | |
| position: absolute; | |
| border-radius: 50%; | |
| background-color: rgba(255, 255, 255, 0.3); | |
| transform: scale(0); | |
| animation: ripple 0.6s linear; | |
| pointer-events: none; | |
| } | |
| .light .ripple { | |
| background-color: rgba(0, 0, 0, 0.1); | |
| } | |
| @keyframes ripple { | |
| to { | |
| transform: scale(4); | |
| opacity: 0; | |
| } | |
| } | |
| .active-operator { | |
| box-shadow: 0 0 0 2px white; | |
| transform: scale(0.95); | |
| } | |
| .light .active-operator { | |
| box-shadow: 0 0 0 2px #1e293b; | |
| } | |
| .history-panel { | |
| transform: translateX(100%); | |
| transition: transform 0.3s ease; | |
| right: 0; | |
| top: 0; | |
| height: 100%; | |
| width: 250px; | |
| background: rgba(15, 23, 42, 0.9); | |
| border-left: 1px solid rgba(255, 255, 255, 0.1); | |
| z-index: 10; | |
| overflow-y: auto; | |
| } | |
| .light .history-panel { | |
| background: rgba(226, 232, 240, 0.9); | |
| border-left: 1px solid rgba(0, 0, 0, 0.1); | |
| } | |
| .history-panel.show { | |
| transform: translateX(0); | |
| } | |
| .history-item { | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |
| transition: background 0.2s; | |
| } | |
| .light .history-item { | |
| border-bottom: 1px solid rgba(0, 0, 0, 0.1); | |
| } | |
| .history-item:hover { | |
| background: rgba(255, 255, 255, 0.05); | |
| } | |
| .light .history-item:hover { | |
| background: rgba(0, 0, 0, 0.05); | |
| } | |
| .overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: rgba(0, 0, 0, 0.5); | |
| z-index: 5; | |
| opacity: 0; | |
| pointer-events: none; | |
| transition: opacity 0.3s; | |
| } | |
| .light .overlay { | |
| background: rgba(0, 0, 0, 0.3); | |
| } | |
| .overlay.show { | |
| opacity: 1; | |
| pointer-events: all; | |
| } | |
| /* Menu styles */ | |
| .menu-container { | |
| position: absolute; | |
| top: 1rem; | |
| right: 1rem; | |
| z-index: 20; | |
| } | |
| .menu-button { | |
| background: transparent; | |
| border: none; | |
| color: white; | |
| font-size: 1.5rem; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .light .menu-button { | |
| color: #1e293b; | |
| } | |
| .menu-button:hover { | |
| transform: scale(1.1); | |
| } | |
| .menu-dropdown { | |
| position: absolute; | |
| right: 0; | |
| top: 100%; | |
| background: rgba(15, 23, 42, 0.95); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 0.5rem; | |
| padding: 0.5rem 0; | |
| min-width: 150px; | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
| opacity: 0; | |
| pointer-events: none; | |
| transform: translateY(-10px); | |
| transition: all 0.2s; | |
| } | |
| .light .menu-dropdown { | |
| background: rgba(226, 232, 240, 0.95); | |
| border: 1px solid rgba(0, 0, 0, 0.1); | |
| color: #1e293b; | |
| } | |
| .menu-dropdown.show { | |
| opacity: 1; | |
| pointer-events: all; | |
| transform: translateY(0); | |
| } | |
| .menu-item { | |
| padding: 0.5rem 1rem; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .menu-item:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| } | |
| .light .menu-item:hover { | |
| background: rgba(0, 0, 0, 0.1); | |
| } | |
| /* Full screen styles */ | |
| html, body { | |
| height: 100%; | |
| margin: 0; | |
| } | |
| .full-screen-container { | |
| width: 100%; | |
| height: 100%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .calculator-container { | |
| width: 100%; | |
| max-width: 375px; | |
| height: 100%; | |
| max-height: 667px; | |
| padding: 1rem; | |
| box-sizing: border-box; | |
| } | |
| </style> | |
| </head> | |
| <body class="dark bg-slate-900 min-h-screen"> | |
| <div class="full-screen-container"> | |
| <div class="calculator-container relative"> | |
| <!-- Calculator --> | |
| <div class="calculator rounded-xl p-5 w-full h-full relative"> | |
| <!-- Menu button --> | |
| <div class="menu-container"> | |
| <button id="menuButton" class="menu-button"> | |
| <i class="fas fa-ellipsis-vertical"></i> | |
| </button> | |
| <div id="menuDropdown" class="menu-dropdown"> | |
| <div class="menu-item" data-action="toggle-theme"> | |
| <i class="fas fa-moon mr-2"></i> Dark Mode | |
| </div> | |
| <div class="menu-item" data-action="view-history"> | |
| <i class="fas fa-history mr-2"></i> History | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Calculator display --> | |
| <div class="display rounded-lg p-4 mb-4"> | |
| <!-- Full expression being built --> | |
| <div id="expression" class="expression mb-2"></div> | |
| <!-- Current operation in progress --> | |
| <div id="currentOperation" class="current-operation"></div> | |
| <!-- Result (hidden until equals is pressed) --> | |
| <div id="result" class="result"></div> | |
| </div> | |
| <!-- Calculator buttons --> | |
| <div class="grid grid-cols-4 gap-3"> | |
| <!-- Row 1 --> | |
| <button class="btn btn-clear rounded-lg p-4 font-bold col-span-2" data-value="C">AC</button> | |
| <button class="btn btn-function rounded-lg p-4 font-bold" data-value="±">±</button> | |
| <button class="btn btn-function rounded-lg p-4 font-bold" data-value="%">%</button> | |
| <!-- Row 2 --> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value="7">7</button> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value="8">8</button> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value="9">9</button> | |
| <button class="btn btn-operator rounded-lg p-4 font-bold" data-value="÷"> | |
| <i class="fas fa-divide"></i> | |
| </button> | |
| <!-- Row 3 --> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value="4">4</button> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value="5">5</button> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value="6">6</button> | |
| <button class="btn btn-operator rounded-lg p-4 font-bold" data-value="×"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| <!-- Row 4 --> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value="1">1</button> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value="2">2</button> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value="3">3</button> | |
| <button class="btn btn-operator rounded-lg p-4 font-bold" data-value="-"> | |
| <i class="fas fa-minus"></i> | |
| </button> | |
| <!-- Row 5 --> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value="0">0</button> | |
| <button class="btn btn-number rounded-lg p-4 font-bold" data-value=".">.</button> | |
| <button class="btn btn-operator rounded-lg p-4 font-bold" data-value="+"> | |
| <i class="fas fa-plus"></i> | |
| </button> | |
| <!-- Row 6 --> | |
| <button class="btn btn-equals rounded-lg p-4 font-bold col-span-2" data-value="="> | |
| <i class="fas fa-equals"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- History panel (hidden by default) --> | |
| <div id="historyPanel" class="history-panel absolute"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-bold">Calculation History</h3> | |
| <button id="closeHistory" class="text-gray-400 hover:text-white"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div id="historyList" class="divide-y divide-gray-700"> | |
| <!-- History items will be added here --> | |
| </div> | |
| <button id="clearHistory" class="mt-4 w-full py-2 bg-red-600 hover:bg-red-700 rounded text-sm"> | |
| Clear History | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Overlay (shown when history is open) --> | |
| <div id="overlay" class="overlay"></div> | |
| </div> | |
| </div> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', () => { | |
| // DOM elements | |
| const expressionDisplay = document.getElementById('expression'); | |
| const currentOperationDisplay = document.getElementById('currentOperation'); | |
| const resultDisplay = document.getElementById('result'); | |
| const historyButton = document.querySelector('[data-action="view-history"]'); | |
| const historyPanel = document.getElementById('historyPanel'); | |
| const closeHistory = document.getElementById('closeHistory'); | |
| const historyList = document.getElementById('historyList'); | |
| const clearHistory = document.getElementById('clearHistory'); | |
| const overlay = document.getElementById('overlay'); | |
| const menuButton = document.getElementById('menuButton'); | |
| const menuDropdown = document.getElementById('menuDropdown'); | |
| const themeToggle = document.querySelector('[data-action="toggle-theme"]'); | |
| // Calculator state | |
| let expression = ''; // Stores the full expression | |
| let currentNumber = '0'; // Stores the current number being input | |
| let lastNumber = null; // Stores the last number entered | |
| let currentOperator = ''; // Stores the current operator | |
| let shouldReset = false; // Flag to reset currentNumber after operator | |
| // History state | |
| let calculationHistory = []; | |
| // Theme state | |
| let darkMode = true; | |
| // Initialize display | |
| updateDisplay(); | |
| // Add click handlers to all calculator buttons | |
| document.querySelectorAll('.btn').forEach(button => { | |
| button.addEventListener('click', function(e) { | |
| // Create ripple effect | |
| createRippleEffect(this, e); | |
| // Handle the button press | |
| const value = this.getAttribute('data-value'); | |
| handleButtonPress(value); | |
| }); | |
| }); | |
| // Menu controls | |
| menuButton.addEventListener('click', toggleMenu); | |
| themeToggle.addEventListener('click', toggleTheme); | |
| // History controls | |
| historyButton.addEventListener('click', () => { | |
| showHistory(); | |
| hideMenu(); | |
| }); | |
| closeHistory.addEventListener('click', () => { | |
| historyPanel.classList.remove('show'); | |
| overlay.classList.remove('show'); | |
| }); | |
| overlay.addEventListener('click', () => { | |
| historyPanel.classList.remove('show'); | |
| overlay.classList.remove('show'); | |
| hideMenu(); | |
| }); | |
| clearHistory.addEventListener('click', () => { | |
| calculationHistory = []; | |
| updateHistoryList(); | |
| }); | |
| // Click outside to close menu | |
| document.addEventListener('click', (e) => { | |
| if (!menuButton.contains(e.target) && !menuDropdown.contains(e.target)) { | |
| hideMenu(); | |
| } | |
| }); | |
| // Keyboard support | |
| document.addEventListener('keydown', (e) => { | |
| const key = e.key; | |
| // Map keyboard keys to calculator buttons | |
| const keyMap = { | |
| '0': '0', '1': '1', '2': '2', '3': '3', '4': '4', | |
| '5': '5', '6': '6', '7': '7', '8': '8', '9': '9', | |
| '.': '.', '+': '+', '-': '-', '*': '×', '/': '÷', | |
| '%': '%', 'Enter': '=', '=': '=', 'Backspace': 'C', | |
| 'Escape': 'C', '±': '±', | |
| }; | |
| if (keyMap[key] !== undefined) { | |
| // Find button with this value and simulate click | |
| const button = document.querySelector(`.btn[data-value="${keyMap[key]}"]`); | |
| if (button) { | |
| button.click(); | |
| // Add active state to operator buttons | |
| if (['+', '-', '*', '/', '×', '÷'].includes(keyMap[key])) { | |
| button.classList.add('active-operator'); | |
| setTimeout(() => { | |
| button.classList.remove('active-operator'); | |
| }, 200); | |
| } | |
| } | |
| e.preventDefault(); // Prevent default behavior for these keys | |
| } | |
| }); | |
| function toggleMenu() { | |
| menuDropdown.classList.toggle('show'); | |
| } | |
| function hideMenu() { | |
| menuDropdown.classList.remove('show'); | |
| } | |
| function toggleTheme() { | |
| darkMode = !darkMode; | |
| if (darkMode) { | |
| document.documentElement.classList.add('dark'); | |
| document.documentElement.classList.remove('light'); | |
| themeToggle.innerHTML = '<i class="fas fa-moon mr-2"></i> Dark Mode'; | |
| } else { | |
| document.documentElement.classList.add('light'); | |
| document.documentElement.classList.remove('dark'); | |
| themeToggle.innerHTML = '<i class="fas fa-sun mr-2"></i> Light Mode'; | |
| } | |
| hideMenu(); | |
| } | |
| function showHistory() { | |
| historyPanel.classList.add('show'); | |
| overlay.classList.add('show'); | |
| updateHistoryList(); | |
| } | |
| function createRippleEffect(button, event) { | |
| const ripple = document.createElement('span'); | |
| ripple.className = 'ripple'; | |
| button.appendChild(ripple); | |
| const rect = button.getBoundingClientRect(); | |
| const x = event.clientX - rect.left; | |
| const y = event.clientY - rect.top; | |
| ripple.style.left = `${x}px`; | |
| ripple.style.top = `${y}px`; | |
| setTimeout(() => { | |
| ripple.remove(); | |
| }, 600); | |
| } | |
| function handleButtonPress(value) { | |
| // Handle different types of button presses | |
| if (/[0-9]/.test(value)) { | |
| appendNumber(value); | |
| } else if (value === '.') { | |
| appendDecimal(); | |
| } else if (value === '±') { | |
| toggleSign(); | |
| } else if (value === '%') { | |
| appendPercentage(); | |
| } else if (['+', '-', '×', '÷'].includes(value)) { | |
| setOperator(value); | |
| } else if (value === '=') { | |
| calculate(); | |
| } else if (value === 'C') { | |
| clearAll(); | |
| } | |
| updateDisplay(); | |
| } | |
| function appendNumber(num) { | |
| // Hide result when typing new numbers | |
| hideResult(); | |
| // Reset current number if needed | |
| if (shouldReset || currentNumber === '0') { | |
| currentNumber = ''; | |
| shouldReset = false; | |
| } | |
| // Add the number | |
| currentNumber += num; | |
| } | |
| function appendDecimal() { | |
| // Hide result when adding decimal | |
| hideResult(); | |
| // Reset if needed | |
| if (shouldReset) { | |
| currentNumber = '0'; | |
| shouldReset = false; | |
| } | |
| // Add decimal if not already present | |
| if (!currentNumber.includes('.')) { | |
| currentNumber += '.'; | |
| } | |
| } | |
| function toggleSign() { | |
| // Hide result when toggling sign | |
| hideResult(); | |
| if (currentNumber !== '0') { | |
| currentNumber = currentNumber.startsWith('-') ? | |
| currentNumber.substring(1) : `-${currentNumber}`; | |
| } | |
| } | |
| function appendPercentage() { | |
| // Hide result when adding percentage | |
| hideResult(); | |
| const num = parseFloat(currentNumber); | |
| currentNumber = (num / 100).toString(); | |
| } | |
| function setOperator(op) { | |
| // Hide result when setting operator | |
| hideResult(); | |
| // If we have a current operator, add to the expression | |
| if (currentOperator) { | |
| expression += `${currentNumber} ${op} `; | |
| } else { | |
| // If we don't have an operator yet, start the expression | |
| expression = `${currentNumber} ${op} `; | |
| } | |
| currentOperator = op; | |
| lastNumber = currentNumber; | |
| shouldReset = true; | |
| } | |
| function calculate() { | |
| // Only calculate if we have an operator and numbers | |
| if (currentOperator && lastNumber !== null) { | |
| // Complete the expression | |
| expression += currentNumber + ' ='; | |
| // Calculate the result | |
| const result = evaluateExpression( | |
| parseFloat(lastNumber), | |
| parseFloat(currentNumber), | |
| currentOperator | |
| ); | |
| // Add to history | |
| addToHistory(expression, result.toString()); | |
| // Show the result | |
| showResult(result.toString()); | |
| // Reset for next calculation | |
| lastNumber = null; | |
| currentOperator = ''; | |
| currentNumber = result.toString(); | |
| shouldReset = true; | |
| } | |
| } | |
| function evaluateExpression(num1, num2, operator) { | |
| // Perform the actual calculation | |
| switch (operator) { | |
| case '+': return num1 + num2; | |
| case '-': return num1 - num2; | |
| case '×': return num1 * num2; | |
| case '÷': return num1 / num2; | |
| default: return num2; | |
| } | |
| } | |
| function clearAll() { | |
| // Reset everything | |
| expression = ''; | |
| currentNumber = '0'; | |
| lastNumber = null; | |
| currentOperator = ''; | |
| shouldReset = false; | |
| hideResult(); | |
| } | |
| function addToHistory(calcExpr, result) { | |
| calculationHistory.unshift({ | |
| expr: calcExpr, | |
| result: result, | |
| timestamp: new Date() | |
| }); | |
| // Keep only the last 20 calculations | |
| if (calculationHistory.length > 20) { | |
| calculationHistory.pop(); | |
| } | |
| updateHistoryList(); | |
| } | |
| function updateHistoryList() { | |
| historyList.innerHTML = ''; | |
| if (calculationHistory.length === 0) { | |
| const emptyMsg = document.createElement('div'); | |
| emptyMsg.className = 'text-center py-4 text-gray-400'; | |
| emptyMsg.textContent = 'No history yet'; | |
| historyList.appendChild(emptyMsg); | |
| return; | |
| } | |
| calculationHistory.forEach((item, index) => { | |
| const historyItem = document.createElement('div'); | |
| historyItem.className = 'history-item p-3 cursor-pointer'; | |
| historyItem.innerHTML = ` | |
| <div class="text-sm text-gray-400"> | |
| ${formatTime(item.timestamp)} | |
| </div> | |
| <div class="text-sm truncate">${item.expr}</div> | |
| <div class="text-right font-bold text-green-400 mt-1">${item.result}</div> | |
| `; | |
| historyItem.addEventListener('click', () => { | |
| // When clicking a history item, recall that result | |
| currentNumber = item.result; | |
| shouldReset = false; | |
| expression = ''; | |
| currentOperator = ''; | |
| lastNumber = null; | |
| updateDisplay(); | |
| historyPanel.classList.remove('show'); | |
| overlay.classList.remove('show'); | |
| }); | |
| historyList.appendChild(historyItem); | |
| }); | |
| } | |
| function formatTime(date) { | |
| return date.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }); | |
| } | |
| function updateDisplay() { | |
| // Always show the expression being built | |
| expressionDisplay.textContent = expression || ''; // empty space | |
| // Show current number unless we're expecting to reset it | |
| if (!shouldReset || (expression === '' && currentOperator === '')) { | |
| currentOperationDisplay.textContent = currentNumber; | |
| } else { | |
| currentOperationDisplay.textContent = ''; // empty space | |
| } | |
| } | |
| function showResult(result) { | |
| resultDisplay.textContent = result; | |
| resultDisplay.classList.add('show'); | |
| } | |
| function hideResult() { | |
| resultDisplay.textContent = ''; | |
| resultDisplay.classList.remove('show'); | |
| } | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Knownzz/calculator" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |