jisaacso219 commited on
Commit
54cc8c7
·
verified ·
1 Parent(s): 7a0031f

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +19 -24
style.css CHANGED
@@ -1,4 +1,5 @@
1
- ```css
 
2
  /* Base styles */
3
  body {
4
  margin: 0;
@@ -7,24 +8,20 @@ body {
7
  font-family: "Courier New", Courier, monospace;
8
  background: #000;
9
  color: #00ffcc;
 
 
 
 
 
 
 
 
 
10
  }
11
 
12
- /* Starfield animated background */
13
  @keyframes starfield {
14
  from { background-position: 0 0; }
15
- to { background-position: -10000px 5000px; }
16
- }
17
- body::before {
18
- content: '';
19
- position: fixed;
20
- top: 0;
21
- left: 0;
22
- right: 0;
23
- bottom: 0;
24
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIHWP4////GQAJ/wPlARZGoQAAAABJRU5ErkJggg==') repeat;
25
- opacity: 0.2;
26
- animation: starfield 120s linear infinite;
27
- z-index: -2;
28
  }
29
 
30
  /* Header styling */
@@ -45,7 +42,7 @@ body::before {
45
  color: #00ffcc;
46
  }
47
 
48
- /* Interface layout adjustments */
49
  .interface {
50
  display: flex;
51
  flex-direction: column;
@@ -55,7 +52,7 @@ body::before {
55
  box-sizing: border-box;
56
  }
57
 
58
- /* Avatar styling */
59
  #avatar {
60
  width: 150px;
61
  height: 150px;
@@ -63,7 +60,6 @@ body::before {
63
  border-radius: 50%;
64
  overflow: hidden;
65
  margin: 0 auto 1rem;
66
- align-self: center;
67
  }
68
  #avatar img {
69
  width: 100%;
@@ -80,7 +76,7 @@ body::before {
80
  100% { box-shadow: 0 0 5px #00ffcc; transform: scale(1); }
81
  }
82
 
83
- /* Chatbox styling */
84
  #chatbox {
85
  flex: 1;
86
  overflow-y: auto;
@@ -93,7 +89,7 @@ body::before {
93
  line-height: 1.6;
94
  }
95
 
96
- /* Message bubbles */
97
  .bubble {
98
  padding: 0.75rem;
99
  margin: 0.5rem 0;
@@ -118,7 +114,7 @@ body::before {
118
  to { opacity: 1; transform: translateY(0); }
119
  }
120
 
121
- /* Input form styling */
122
  form {
123
  display: flex;
124
  gap: 1rem;
@@ -145,14 +141,13 @@ button:hover {
145
  background-color: #00ffaa;
146
  }
147
 
148
- /* Overlay for kill-phrase glitch */
149
  #overlay {
150
  position: fixed;
151
  top: 0; left: 0; right: 0; bottom: 0;
152
  background: rgba(255,0,0,0.7);
153
  pointer-events: none;
154
  opacity: 0;
155
- transition: opacity 0.1s ease-in-out;
156
  z-index: 9999;
157
  }
158
- ```
 
1
+ /* Updated style.css with CSS-generated starfield */
2
+
3
  /* Base styles */
4
  body {
5
  margin: 0;
 
8
  font-family: "Courier New", Courier, monospace;
9
  background: #000;
10
  color: #00ffcc;
11
+ /* Multiple radial gradients create starfield dots */
12
+ background-image:
13
+ radial-gradient(circle at 10% 20%, #fff 1px, transparent 0),
14
+ radial-gradient(circle at 30% 40%, #fff 1px, transparent 0),
15
+ radial-gradient(circle at 50% 80%, #fff 1px, transparent 0),
16
+ radial-gradient(circle at 70% 30%, #fff 2px, transparent 0),
17
+ radial-gradient(circle at 90% 60%, #fff 1px, transparent 0);
18
+ background-size: 100px 100px;
19
+ animation: starfield 60s linear infinite;
20
  }
21
 
 
22
  @keyframes starfield {
23
  from { background-position: 0 0; }
24
+ to { background-position: -200px 200px; }
 
 
 
 
 
 
 
 
 
 
 
 
25
  }
26
 
27
  /* Header styling */
 
42
  color: #00ffcc;
43
  }
44
 
45
+ /* Interface layout */
46
  .interface {
47
  display: flex;
48
  flex-direction: column;
 
52
  box-sizing: border-box;
53
  }
54
 
55
+ /* Avatar */
56
  #avatar {
57
  width: 150px;
58
  height: 150px;
 
60
  border-radius: 50%;
61
  overflow: hidden;
62
  margin: 0 auto 1rem;
 
63
  }
64
  #avatar img {
65
  width: 100%;
 
76
  100% { box-shadow: 0 0 5px #00ffcc; transform: scale(1); }
77
  }
78
 
79
+ /* Chatbox */
80
  #chatbox {
81
  flex: 1;
82
  overflow-y: auto;
 
89
  line-height: 1.6;
90
  }
91
 
92
+ /* Bubbles */
93
  .bubble {
94
  padding: 0.75rem;
95
  margin: 0.5rem 0;
 
114
  to { opacity: 1; transform: translateY(0); }
115
  }
116
 
117
+ /* Form */
118
  form {
119
  display: flex;
120
  gap: 1rem;
 
141
  background-color: #00ffaa;
142
  }
143
 
144
+ /* Overlay glitch */
145
  #overlay {
146
  position: fixed;
147
  top: 0; left: 0; right: 0; bottom: 0;
148
  background: rgba(255,0,0,0.7);
149
  pointer-events: none;
150
  opacity: 0;
151
+ transition: opacity 0.1s;
152
  z-index: 9999;
153
  }