Spaces:
Running
Running
Delete styles.css
Browse files- styles.css +0 -164
styles.css
DELETED
@@ -1,164 +0,0 @@
|
|
1 |
-
/* تنظیمات عمومی */
|
2 |
-
:root {
|
3 |
-
--primary-color: #3498db;
|
4 |
-
--secondary-color: #2980b9;
|
5 |
-
--background-color: #f0f3f5;
|
6 |
-
--text-color: #34495e;
|
7 |
-
--shadow-color: rgba(0, 0, 0, 0.1);
|
8 |
-
--message-bg-user: #3498db;
|
9 |
-
--message-bg-assistant: #ecf0f1;
|
10 |
-
}
|
11 |
-
|
12 |
-
body {
|
13 |
-
font-family: 'Vazirmatn', 'Tahoma', Arial, sans-serif;
|
14 |
-
background-color: var(--background-color);
|
15 |
-
margin: 0;
|
16 |
-
padding: 0;
|
17 |
-
display: flex;
|
18 |
-
justify-content: center;
|
19 |
-
align-items: center;
|
20 |
-
min-height: 100vh;
|
21 |
-
color: var(--text-color);
|
22 |
-
}
|
23 |
-
|
24 |
-
#chat-container {
|
25 |
-
width: 95%;
|
26 |
-
max-width: 1200px;
|
27 |
-
background: white;
|
28 |
-
border-radius: 20px;
|
29 |
-
box-shadow: 0 10px 30px var(--shadow-color);
|
30 |
-
overflow: hidden;
|
31 |
-
display: flex;
|
32 |
-
flex-direction: column;
|
33 |
-
height: 90vh;
|
34 |
-
}
|
35 |
-
|
36 |
-
#chat-header {
|
37 |
-
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
38 |
-
color: white;
|
39 |
-
padding: 20px;
|
40 |
-
font-size: 28px;
|
41 |
-
font-weight: bold;
|
42 |
-
display: flex;
|
43 |
-
justify-content: space-between;
|
44 |
-
align-items: center;
|
45 |
-
box-shadow: 0 2px 10px var(--shadow-color);
|
46 |
-
text-align: center;
|
47 |
-
}
|
48 |
-
|
49 |
-
.header-title {
|
50 |
-
flex-grow: 1;
|
51 |
-
text-align: center;
|
52 |
-
}
|
53 |
-
|
54 |
-
.header-icons {
|
55 |
-
display: flex;
|
56 |
-
gap: 15px;
|
57 |
-
}
|
58 |
-
|
59 |
-
.header-icon {
|
60 |
-
cursor: pointer;
|
61 |
-
font-size: 24px;
|
62 |
-
transition: transform 0.3s ease, opacity 0.3s ease;
|
63 |
-
}
|
64 |
-
|
65 |
-
.header-icon:hover {
|
66 |
-
transform: scale(1.1);
|
67 |
-
opacity: 0.8;
|
68 |
-
}
|
69 |
-
|
70 |
-
#chat-messages {
|
71 |
-
flex-grow: 1;
|
72 |
-
overflow-y: auto;
|
73 |
-
padding: 30px;
|
74 |
-
display: flex;
|
75 |
-
flex-direction: column;
|
76 |
-
gap: 20px;
|
77 |
-
}
|
78 |
-
|
79 |
-
.message {
|
80 |
-
max-width: 75%;
|
81 |
-
padding: 15px 20px;
|
82 |
-
border-radius: 20px;
|
83 |
-
box-shadow: 0 3px 15px var(--shadow-color);
|
84 |
-
font-size: 16px;
|
85 |
-
line-height: 1.6;
|
86 |
-
transition: transform 0.3s ease;
|
87 |
-
}
|
88 |
-
|
89 |
-
.message:hover {
|
90 |
-
transform: translateY(-2px);
|
91 |
-
}
|
92 |
-
|
93 |
-
.user-message {
|
94 |
-
align-self: flex-end;
|
95 |
-
background-color: var(--message-bg-user);
|
96 |
-
color: white;
|
97 |
-
}
|
98 |
-
|
99 |
-
.assistant-message {
|
100 |
-
align-self: flex-start;
|
101 |
-
background-color: var(--message-bg-assistant);
|
102 |
-
border: 1px solid var(--secondary-color);
|
103 |
-
color: var(--text-color);
|
104 |
-
}
|
105 |
-
|
106 |
-
#input-container {
|
107 |
-
display: flex;
|
108 |
-
padding: 20px;
|
109 |
-
background: white;
|
110 |
-
border-top: 1px solid var(--secondary-color);
|
111 |
-
gap: 10px;
|
112 |
-
}
|
113 |
-
|
114 |
-
#user-input {
|
115 |
-
flex-grow: 1;
|
116 |
-
padding: 15px 25px;
|
117 |
-
border: 2px solid var(--secondary-color);
|
118 |
-
border-radius: 30px;
|
119 |
-
font-size: 16px;
|
120 |
-
font-family: 'Vazirmatn', 'Tahoma', Arial, sans-serif;
|
121 |
-
background: white;
|
122 |
-
transition: all 0.3s ease;
|
123 |
-
}
|
124 |
-
|
125 |
-
#user-input:focus {
|
126 |
-
outline: none;
|
127 |
-
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
|
128 |
-
}
|
129 |
-
|
130 |
-
.input-button {
|
131 |
-
background: var(--primary-color);
|
132 |
-
color: white;
|
133 |
-
border: none;
|
134 |
-
border-radius: 50%;
|
135 |
-
width: 55px;
|
136 |
-
height: 55px;
|
137 |
-
font-size: 22px;
|
138 |
-
cursor: pointer;
|
139 |
-
display: flex;
|
140 |
-
justify-content: center;
|
141 |
-
align-items: center;
|
142 |
-
transition: all 0.3s ease;
|
143 |
-
box-shadow: 0 3px 15px var(--shadow-color);
|
144 |
-
}
|
145 |
-
|
146 |
-
.input-button:hover {
|
147 |
-
background-color: var(--secondary-color);
|
148 |
-
transform: translateY(-3px);
|
149 |
-
}
|
150 |
-
|
151 |
-
@media (max-width: 768px) {
|
152 |
-
#chat-container {
|
153 |
-
width: 100%;
|
154 |
-
height: 100vh;
|
155 |
-
border-radius: 0;
|
156 |
-
}
|
157 |
-
#chat-header {
|
158 |
-
font-size: 24px;
|
159 |
-
padding: 15px;
|
160 |
-
}
|
161 |
-
.message {
|
162 |
-
max-width: 85%;
|
163 |
-
}
|
164 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|