Spaces:
Sleeping
Sleeping
Download client/src/App.css from AnnyaB/Yours-Truly: direct link, hf CLI and curl.
- Browser
- Download file 3.85 kB
-
https://huggingface.co/spaces/AnnyaB/Yours-Truly/resolve/main/client/src/App.css
- Command line
-
hf download hf://spaces/AnnyaB/Yours-Truly/client/src/App.css
-
curl -L -o App.css https://huggingface.co/spaces/AnnyaB/Yours-Truly/resolve/main/client/src/App.css
3.85 kB
| /* Fonts and base styling */ | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| font-family: 'Orbitron', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background-color: #0e0f11; | |
| color: #e0e0e0; | |
| overflow-x: hidden; | |
| position: relative; | |
| } | |
| /* Spy-themed background overlay */ | |
| .background-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| height: 100%; | |
| width: 100%; | |
| background: url('https://i.imgur.com/CYwUHW0.png') no-repeat center center/cover; | |
| opacity: 0.07; | |
| z-index: 0; | |
| pointer-events: none; | |
| } | |
| /* Container styling */ | |
| .container { | |
| position: relative; | |
| z-index: 1; | |
| max-width: 800px; | |
| margin: 5rem auto; | |
| background: rgba(20, 20, 20, 0.75); | |
| padding: 2rem 2.5rem; | |
| border-radius: 12px; | |
| box-shadow: 0 0 25px rgba(0, 255, 180, 0.1); | |
| backdrop-filter: blur(12px); | |
| border: 1px solid rgba(0, 255, 180, 0.1); | |
| } | |
| /* Header */ | |
| h1 { | |
| font-family: 'Unica One', sans-serif; | |
| font-size: 2rem; | |
| color: #00ffc3; | |
| margin-bottom: 1.5rem; | |
| border-bottom: 1px solid #00ffc3; | |
| padding-bottom: 0.5rem; | |
| } | |
| /* Form elements */ | |
| textarea { | |
| width: 100%; | |
| padding: 12px; | |
| font-size: 1rem; | |
| background-color: #121212; | |
| color: #ffffff; | |
| border: 1px solid #00ffc3; | |
| border-radius: 8px; | |
| resize: vertical; | |
| } | |
| button { | |
| background-color: #00ffc3; | |
| color: #000; | |
| padding: 12px 24px; | |
| margin-top: 12px; | |
| font-size: 1rem; | |
| border: none; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: background 0.3s ease; | |
| } | |
| button:hover { | |
| background-color: #00cfa9; | |
| } | |
| .response { | |
| margin-top: 2rem; | |
| background: #e3f2fd; | |
| padding: 1rem; | |
| border-radius: 8px; | |
| border-left: 5px solid #2196f3; | |
| white-space: pre-wrap; | |
| overflow-x: auto; /* allow horizontal scrolling if code is too long */ | |
| max-height: 600px; /* or auto — set a high enough value */ | |
| overflow-y: auto; /* allow vertical scrolling if content too tall */ | |
| box-sizing: border-box; | |
| } | |
| pre { | |
| white-space: pre-wrap; | |
| word-break: break-word; | |
| font-family: monospace; | |
| overflow-x: auto; | |
| } | |
| /* For mobile */ | |
| @media (max-width: 600px) { | |
| .container { | |
| margin: 2rem 1rem; | |
| padding: 1.5rem; | |
| } | |
| } | |
| .response-box { | |
| max-height: 500px; | |
| overflow-y: auto; | |
| } | |
| body { | |
| font-family: 'Special Elite', monospace; | |
| background-color: #1a1a1a; | |
| color: #f2f2f2; | |
| } | |
| .container { | |
| background: #2c2c2c; | |
| color: #f2f2f2; | |
| border: 2px solid #00acc1; | |
| } | |
| button { | |
| background-color: #00acc1; | |
| color: #fff; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| .intelligence-report { | |
| background-color: #f5f5f5; /* light grey background */ | |
| color: #000; /* black text */ | |
| padding: 1rem; | |
| margin-top: 2rem; | |
| border-radius: 8px; | |
| font-family: monospace; | |
| white-space: pre-wrap; | |
| word-wrap: break-word; | |
| overflow-x: auto; | |
| box-shadow: 0 0 10px rgba(0,0,0,0.1); | |
| } | |
| .feedback-buttons { | |
| margin-top: 10px; | |
| display: flex; | |
| gap: 10px; | |
| } | |
| .feedback-button { | |
| padding: 6px 12px; | |
| border: none; | |
| border-radius: 5px; | |
| font-size: 14px; | |
| cursor: pointer; | |
| transition: background-color 0.2s ease; | |
| } | |
| .feedback-button.good { | |
| background-color: #4CAF50; /* Green */ | |
| color: white; | |
| } | |
| .feedback-button.good:hover { | |
| background-color: #45a049; | |
| } | |
| .feedback-button.bad { | |
| background-color: #f44336; /* Red */ | |
| color: white; | |
| } | |
| .feedback-button.bad:hover { | |
| background-color: #da190b; | |
| } | |
| .admin-link { | |
| display: inline-block; | |
| margin: 10px 0 20px 0; | |
| padding: 6px 12px; | |
| background: rgba(0, 150, 140, 0.08); | |
| color: #00695c; | |
| border: 1px solid rgba(0, 150, 140, 0.2); | |
| border-radius: 6px; | |
| text-decoration: none; | |
| font-weight: 600; | |
| } | |
| .admin-link:hover { | |
| background: rgba(0, 150, 140, 0.16); | |
| color: #004d40; | |
| } | |