krying
Version:
krying — games hub, AI, movies, and tools
135 lines (127 loc) • 3.99 kB
CSS
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap');
* { box-sizing: border-box; }
body {
margin: 0;
font-family: 'Comfortaa', cursive;
background: linear-gradient(120deg, #5555FF, #00008B, #008B8B);
color: #fff;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.app-container {
width: 100%;
max-width: 900px;
height: 90vh;
display: flex;
flex-direction: column;
background: #1b1b2f;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.ai-bar {
background: #00008B;
padding: 16px;
font-weight: 700;
font-size: 1.2rem;
text-align: center;
text-transform: uppercase;
letter-spacing: 1px;
border-bottom: 1px solid #5555FF;
color: #fff;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.chat-container {
flex: 1;
padding: 20px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 16px;
font-size: 1rem;
}
.chat-container::-webkit-scrollbar { width: 8px; }
.chat-container::-webkit-scrollbar-thumb { background: #5555FF; border-radius: 4px; }
.chat-container::-webkit-scrollbar-track { background: #1b1b2f; }
.message {
max-width: 75%;
padding: 14px 18px;
border-radius: 18px;
line-height: 1.6;
word-break: break-word;
font-size: 1rem;
white-space: pre-wrap;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.user { background: #5555FF; align-self: flex-end; color: #fff; }
.bot { background: #eef1f5; color: #00008B; align-self: flex-start; }
.bot pre { background: #f8f8f8; border: 1px solid #ddd; padding: 12px; border-radius: 8px; font-family: 'Roboto Mono', monospace; }
.copy-btn {
position: absolute; top: 8px; right: 8px; background: #fff;
border: 1px solid #ddd; color: #555; font-size: 0.8rem; padding: 4px 8px; border-radius: 4px; cursor: pointer;
}
.copy-btn:hover { border-color: #5555FF; color: #5555FF; }
.input-container {
display: flex; padding: 16px; gap: 12px; border-top: 1px solid #5555FF; background: #00008B;
}
textarea {
flex: 1; padding: 14px; border: 1px solid #5555FF; border-radius: 8px;
background: #eef1f5; color: #00008B; font-family: 'Comfortaa', cursive; font-size: 1rem; resize: none; outline: none;
}
textarea:focus { border-color: #008B8B; box-shadow: 0 0 8px rgba(0,139,139,0.2); }
.bloxy-btn {
position: relative;
padding: 12px 24px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 2px solid rgba(255, 255, 255, 0.3);
border-radius: 12px;
color: #fff;
font-size: 18px;
font-weight: 700;
text-transform: uppercase;
text-decoration: none;
letter-spacing: 1px;
cursor: pointer;
overflow: hidden;
transition: all 0.3s ease;
display: inline-block;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.bloxy-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.5s ease;
z-index: 1;
}
.bloxy-btn:hover::before {
left: 100%;
}
.bloxy-btn:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.5);
transform: translateY(-3px) scale(1.05);
box-shadow: 0 0 40px rgba(139, 92, 246, 0.6),
0 12px 48px rgba(0, 0, 0, 0.3);
}
.bloxy-btn:active {
transform: translateY(-1px) scale(1.02);
}
.bloxy-blue-btn {
background: rgba(0, 0, 139, 0.3);
border-color: rgba(0, 0, 139, 0.5);
}
.bloxy-blue-btn:hover {
background: rgba(0, 0, 139, 0.5);
box-shadow: 0 0 40px rgba(0, 0, 255, 0.6),
0 12px 48px rgba(0, 0, 0, 0.3);
}