-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
142 lines (125 loc) · 2.55 KB
/
style.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
:root {
--blue: #1877F2;
--light-blue: #4A90E2;
--white: #E4E6EB;
--bg-dark: #18191A;
--bg-light: #242526;
--box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
--light-color: #B0BEC5;
}
* {
font-family: 'Nunito', sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
border: none;
text-decoration: none;
}
html {
overflow-x: hidden;
}
body {
background: linear-gradient(135deg, #1C1C1E, #57575d);
color: var(--white);
}
.content {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.content .box {
width: 500px;
background-color: var(--bg-light);
border-radius: 5px;
box-shadow: var(--box-shadow);
}
.div1 {
padding: 20px 10px;
display: flex;
justify-content: space-between;
background: rgba(255, 255, 255, 0.1);
}
.div2 {
padding: 20px;
background: rgba(255, 255, 255, 0.05);
height: 300px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 3px;
position: relative;
}
.no-messages {
text-align: center;
color: var(--light-color);
font-style: italic;
opacity: 0.7;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: none;
}
.sms1, .sms2 {
max-width: 70%;
margin-bottom: 10px;
padding: 10px;
border-radius: 15px;
}
.sms1 {
align-self: flex-end;
background: linear-gradient(135deg, var(--blue), var(--light-blue));
color: var(--white);
border-radius: 15px 15px 0 15px;
}
.sms2 {
align-self: flex-start;
background: #3A3B3C;
color: var(--white);
border-radius: 15px 15px 15px 0;
}
#sendBtn, #clearBtn {
background: var(--blue);
color: var(--white);
border-radius: 6px;
padding: 10px 16px;
font-weight: bold;
cursor: pointer;
transition: 0.4s ease;
}
#sendBtn:hover, #clearBtn:hover {
background: var(--light-blue);
}
select {
padding: 10px;
border-radius: 6px;
border: 2px solid #a3a3a3;
margin-right: 10px;
font-size: 14px;
background: #3A3B3C;
color: var(--white);
cursor: pointer;
}
@media screen and (max-width: 600px) {
.content .box {
width: 90%;
}
}
textarea {
width: calc(100% - 100px);
padding: 15px 15px 0px;
border: 2px solid transparent;
border-radius: 6px;
background: transparent;
color: var(--white);
margin-right: 10px;
resize: none;
}
.div3 {
display: flex;
align-items: center;
padding: 10px;
background: rgba(255, 255, 255, 0.1);
}