-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
157 lines (137 loc) · 2.7 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
151
152
153
154
155
156
157
body {
font-family: "Montserrat", sans-serif;
margin: 0;
padding: 0;
background-color: #f8f8f8;
background-image: linear-gradient(135deg, #f8f8f8 0%, #e0e0e0 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
header {
background-color: #1a1a1a;
padding: 20px;
text-align: center;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
header a {
text-decoration: none;
color: inherit;
}
h1 {
color: #ffffff;
font-size: 32px;
margin: 0;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 600;
}
.container {
max-width: 800px;
width: 90%;
margin: 120px auto;
background-color: #ffffff;
border-radius: 20px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
overflow: hidden;
}
.chat-window {
display: flex;
flex-direction: column;
height: 600px;
}
.message-list {
flex: 1;
overflow-y: auto;
padding: 30px;
background-color: #f2f2f2;
background-image: linear-gradient(135deg, #f2f2f2 0%, #e6e6e6 100%);
}
.message {
margin-bottom: 20px;
padding: 15px;
border-radius: 20px;
font-size: 18px;
line-height: 1.6;
max-width: 70%;
word-wrap: break-word;
transition: transform 0.3s ease;
}
.message:hover {
transform: translateY(-2px);
}
.user-message {
background-color: #8e24aa;
color: #ffffff;
align-self: flex-end;
background-image: linear-gradient(135deg, #8e24aa 0%, #6a1b9a 100%);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.bot-message {
background-color: #ffffff;
color: #1a1a1a;
align-self: flex-start;
background-image: linear-gradient(135deg, #ffffff 0%, #f2f2f2 100%);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.input-area {
display: flex;
align-items: center;
padding: 20px;
background-color: #ffffff;
border-top: 1px solid #e0e0e0;
}
.input-area input {
flex: 1;
padding: 15px;
border: none;
border-radius: 30px;
font-size: 18px;
background-color: #f2f2f2;
color: #1a1a1a;
transition: background-color 0.3s ease;
}
.input-area input:focus {
outline: none;
background-color: #e6e6e6;
}
.input-area button {
padding: 15px 30px;
background-color: #8e24aa;
color: #ffffff;
border: none;
border-radius: 30px;
cursor: pointer;
font-size: 18px;
font-weight: 600;
margin-left: 20px;
transition: background-color 0.3s ease;
}
.input-area button:hover {
background-color: #6a1b9a;
}
@media screen and (max-width: 600px) {
.container {
margin: 80px auto;
}
.chat-window {
height: 500px;
}
.message {
font-size: 16px;
max-width: 80%;
}
.input-area input {
font-size: 16px;
}
.input-area button {
font-size: 16px;
padding: 12px 24px;
}
}