Spaces:
Paused
Paused
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,100 +1,115 @@
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
| 7 |
}
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
-
.bubble
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
-
.
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
}
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
animation: pulse 2s infinite;
|
| 39 |
}
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
left: 0;
|
| 45 |
-
width: 100%;
|
| 46 |
-
height: 100%;
|
| 47 |
-
background: rgba(255, 0, 0, 0.1);
|
| 48 |
-
z-index: 9999;
|
| 49 |
-
pointer-events: none;
|
| 50 |
-
animation: glitch-flicker 0.2s infinite;
|
| 51 |
-
}
|
| 52 |
-
|
| 53 |
-
@keyframes glitch-flicker {
|
| 54 |
-
0% { opacity: 0.2; }
|
| 55 |
-
50% { opacity: 0.5; }
|
| 56 |
-
100% { opacity: 0.2; }
|
| 57 |
}
|
| 58 |
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
}
|
| 64 |
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
|
|
|
|
|
|
| 71 |
}
|
| 72 |
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
50% { transform: scale(1.1); opacity: 1; }
|
| 76 |
-
100% { transform: scale(1); opacity: 0.7; }
|
| 77 |
}
|
| 78 |
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
}
|
| 83 |
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
}
|
| 92 |
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
|
|
|
|
|
|
|
|
|
| 100 |
}
|
|
|
|
| 1 |
body {
|
| 2 |
+
background-color: #000;
|
| 3 |
+
color: #00ffcc;
|
| 4 |
+
font-family: "Courier New", Courier, monospace;
|
| 5 |
+
margin: 0;
|
| 6 |
+
padding: 0;
|
| 7 |
+
overflow: hidden;
|
| 8 |
}
|
| 9 |
|
| 10 |
+
#container {
|
| 11 |
+
display: flex;
|
| 12 |
+
flex-direction: column;
|
| 13 |
+
justify-content: space-between;
|
| 14 |
+
height: 100vh;
|
| 15 |
+
padding: 2rem;
|
| 16 |
+
box-sizing: border-box;
|
| 17 |
}
|
| 18 |
|
| 19 |
+
#chatbox {
|
| 20 |
+
flex: 1;
|
| 21 |
+
overflow-y: auto;
|
| 22 |
+
border: 1px solid #00ffcc;
|
| 23 |
+
padding: 1rem;
|
| 24 |
+
background-color: #020202;
|
| 25 |
+
box-shadow: 0 0 10px #00ffcc33;
|
| 26 |
+
margin-bottom: 1rem;
|
| 27 |
+
font-size: 1rem;
|
| 28 |
+
line-height: 1.6;
|
| 29 |
}
|
| 30 |
|
| 31 |
+
.bubble {
|
| 32 |
+
padding: 0.75rem;
|
| 33 |
+
margin: 0.5rem 0;
|
| 34 |
+
border-radius: 0.5rem;
|
| 35 |
+
max-width: 80%;
|
| 36 |
+
animation: typeIn 0.5s ease-out;
|
| 37 |
}
|
| 38 |
|
| 39 |
+
.user {
|
| 40 |
+
align-self: flex-end;
|
| 41 |
+
background-color: #003333;
|
| 42 |
+
color: #00ffff;
|
| 43 |
}
|
| 44 |
|
| 45 |
+
.ai {
|
| 46 |
+
align-self: flex-start;
|
| 47 |
+
background-color: #111;
|
| 48 |
+
border: 1px solid #00ffcc;
|
| 49 |
+
color: #00ffcc;
|
|
|
|
| 50 |
}
|
| 51 |
|
| 52 |
+
form {
|
| 53 |
+
display: flex;
|
| 54 |
+
gap: 1rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
}
|
| 56 |
|
| 57 |
+
input[type="text"] {
|
| 58 |
+
flex: 1;
|
| 59 |
+
padding: 0.75rem;
|
| 60 |
+
font-size: 1rem;
|
| 61 |
+
background: #001111;
|
| 62 |
+
color: #00ffcc;
|
| 63 |
+
border: 1px solid #00ffcc;
|
| 64 |
+
outline: none;
|
| 65 |
}
|
| 66 |
|
| 67 |
+
button {
|
| 68 |
+
padding: 0.75rem 1.25rem;
|
| 69 |
+
background-color: #00ffcc;
|
| 70 |
+
border: none;
|
| 71 |
+
color: black;
|
| 72 |
+
font-weight: bold;
|
| 73 |
+
cursor: pointer;
|
| 74 |
+
transition: background 0.2s;
|
| 75 |
}
|
| 76 |
|
| 77 |
+
button:hover {
|
| 78 |
+
background-color: #00ffaa;
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
|
| 81 |
+
@keyframes typeIn {
|
| 82 |
+
from {
|
| 83 |
+
opacity: 0;
|
| 84 |
+
transform: translateY(5px);
|
| 85 |
+
}
|
| 86 |
+
to {
|
| 87 |
+
opacity: 1;
|
| 88 |
+
transform: translateY(0);
|
| 89 |
+
}
|
| 90 |
}
|
| 91 |
|
| 92 |
+
/* Pulsing SHODAN Avatar Effect */
|
| 93 |
+
#avatar {
|
| 94 |
+
width: 150px;
|
| 95 |
+
height: 150px;
|
| 96 |
+
border: 2px solid #00ffcc;
|
| 97 |
+
border-radius: 50%;
|
| 98 |
+
animation: pulse 2s infinite;
|
| 99 |
+
background-size: cover;
|
| 100 |
+
background-position: center;
|
| 101 |
+
margin-bottom: 1rem;
|
| 102 |
+
align-self: center;
|
| 103 |
}
|
| 104 |
|
| 105 |
+
@keyframes pulse {
|
| 106 |
+
0% {
|
| 107 |
+
box-shadow: 0 0 5px #00ffcc;
|
| 108 |
+
}
|
| 109 |
+
50% {
|
| 110 |
+
box-shadow: 0 0 25px #00ffccaa;
|
| 111 |
+
}
|
| 112 |
+
100% {
|
| 113 |
+
box-shadow: 0 0 5px #00ffcc;
|
| 114 |
+
}
|
| 115 |
}
|