-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainpage.css
103 lines (89 loc) · 1.68 KB
/
Mainpage.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
.container {
position: relative;
}
.background-image {
width: 100%;
height: auto;
}
.content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.content h1 {
color: white;
font-weight: 700;
box-shadow: 0 30px 90px rgba(128, 127, 222, 0.936);
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
body {
font-family: Arial, sans-serif;
background-color: #f7f7f7;
margin: 0;
padding: 0;
}
.chat-container {
max-width: 500px;
margin: 50px auto;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(128, 127, 222, 0.936);
overflow: hidden;
}
.chat-container img {
width: 25%;
height: 10%;
}
.chat-box {
height: 300px;
overflow-y: scroll;
padding: 10px;
}
.chat-message {
border-radius: 8px;
padding: 10px;
margin-bottom: 10px;
clear: both;
}
#uniq {
background-color: #3b5998;
padding: 10px;
margin: 0;
border-radius: 10px;
word-wrap: break-word;
color: #fff;
}
.chat-message.expert {
background-color: #3b5998;
color: #fff;
float: right;
margin-left: 30%;
}
.chat-message.user {
background-color: #4caf50;
color: #fff;
float: left;
margin-right: 30%;
}
.chat-input {
padding: 10px;
background-color: #f2f2f2;
border-top: 1px solid #ddd;
}
.chat-input input {
width: calc(100% - 20%);
padding: 8px;
border: none;
border-radius: 5px;
}
.chat-input button {
width: 65px;
padding: 8px;
border: none;
background-color: #4caf50;
color: #fff;
border-radius: 5px;
cursor: pointer;
margin-left: 10px;
}