-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
150 lines (131 loc) · 3.54 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/* Import the cyber font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
/* General body styles */
body {
font-family: 'Press Start 2P', cursive; /* Cyber font */
background-color: #1e1e1e; /* Dark background */
color: #00ff00; /* Neon green text */
margin: 0;
padding: 0;
}
/* Container for the chat interface */
.screen {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
width: 100%;
background: linear-gradient(to bottom, #000000, #2b2b2b); /* Gradient background */
border: 2px solid #00ff00; /* Neon green border */
box-shadow: 0 0 10px rgba(0, 255, 0, 0.7); /* Neon glow effect */
padding: 20px;
}
/* Header styles */
h1 {
margin-bottom: 20px;
color: #00ff00; /* Neon green text */
font-size: 2em;
}
/* Input and button styles */
input[type="text"],
input[type="email"] {
padding: 10px;
border: 1px solid #00ff00;
border-radius: 5px;
background-color: #111;
color: #00ff00;
margin: 5px;
width: 100%; /* Full width of the container */
max-width: 300px;
}
/* Send button style */
button {
padding: 10px;
border: none;
border-radius: 5px;
background-color: #00ff00;
color: #000;
cursor: pointer;
width: 100%; /* Full width of the container */
max-width: 300px;
}
/* Button hover effect */
button:hover {
background-color: #00cc00;
}
/* Message area styles */
.messages {
padding: 20px;
width: 100%;
max-width: 800px;
height: calc(100vh - 150px); /* Adjust height based on header and input sizes */
overflow-y: auto;
border-top: 2px solid #00ff00;
background: rgba(0, 0, 0, 0.5); /* Slightly transparent background for messages */
box-shadow: 0 0 10px rgba(0, 255, 0, 0.7); /* Neon glow effect */
}
/* Individual message styles */
.message {
margin-bottom: 10px;
padding: 10px;
border: 1px solid #00ff00;
border-radius: 5px;
background-color: #111;
box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}
/* Username styling with different colors */
.message .username {
font-weight: bold;
}
/* Use a color palette for different usernames */
.message .username:nth-child(odd) {
color: #ff00ff; /* Magenta */
}
.message .username:nth-child(even) {
color: #00ffff; /* Cyan */
}
/* Input container styles */
.input-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 800px;
margin-top: 10px;
}
/* Cyberpunk glow effect for the whole screen */
.screen {
box-shadow: 0 0 20px rgba(0, 255, 0, 0.9); /* Enhanced neon glow effect */
}
/* Optional: style the scrollbar for the messages area */
.messages::-webkit-scrollbar {
width: 10px;
}
.messages::-webkit-scrollbar-thumb {
background-color: #00ff00;
border-radius: 10px;
}
.messages::-webkit-scrollbar-track {
background: #111;
}
/* Individual message styles */
.message {
margin-bottom: 10px;
padding: 10px;
border: 1px solid #00ff00;
border-radius: 5px;
background-color: #111;
box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}
/* Username styling with different colors */
.message .username {
font-weight: bold;
}
/* Use a color palette for different usernames */
.message:nth-child(odd) .username {
color: #ff00ff; /* Magenta */
}
.message:nth-child(even) .username {
color: #00ffff; /* Cyan */
}