-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
205 lines (195 loc) · 3.85 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
*{
padding: 0px;
margin: 0px;
box-sizing: border-box;
}
body{
font-family: 'Rubik', sans-serif;
}
.container{
width: 100%;
height: 100vh;
display: grid;
grid-template-columns: 1fr 1fr;
gap:5rem;
overflow: hidden;
}
aside{
display:flex;
position: relative;
align-items: center;
align-content: center;
width: 65%;
}
section{
position: relative;
}
.ground{
background-image: linear-gradient(to right top,hsl(264, 100%, 61%),hsl(293, 100%, 63%));
width: 425px;
height: 85vh;
border-bottom-left-radius: 5000px;
border-bottom-right-radius: 5000px;
position: absolute;
left: -57px;
z-index: -1;
}
.maintext{
font-size:2rem;
color: hsl(271, 36%, 24%);
font-weight: 700;
margin-bottom: 1rem;
}
.secondarytext{
color: hsl(270, 7%, 64%);
line-height: 1.4rem;
}
.phonecenter{
border: 8px solid white;
width: 250px;
height: 500px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(0,-50%);
background-color: hsl(270, 20%, 96%);
border-radius: 1.2rem;
box-shadow: 5px 15px 30px 0 rgba(149, 149, 149, 0.4);
overflow: hidden;
}
.headphone{
display: flex;
border-top: 1.2rem;
align-items: center;
height:4rem;
z-index: -1;
gap:0.4rem;
padding-top: 2rem;
padding-left: 0.7rem;
padding-right: 0.7rem;
padding-bottom: 0.5rem;
background-image: linear-gradient(to left,hsl(293, 100%, 63%),hsl(264, 100%, 61%));
}
.camera{
position: absolute;
width: 8rem;
height: 1.3rem;
background-color: white;
z-index: 12;
border-bottom-left-radius: 1000px;
border-bottom-right-radius: 1000px;
left: 50%;
transform: translate(-50%,0);
}
.headphone h2{
font-size: 0.8rem;
font-weight: 500;
color: white;
}
.avatar{
width: 1.8rem;
height: 1.8rem;
border-radius: 50%;
border: 1px solid white;
}
.headphone h6{
font-size: 0.5rem;
font-weight: 400;
color: white
}
.arrow,
.dot{
color: white;
font-weight: 700;
}
.dot{
margin-left: auto;
}
.message{
max-width:10rem;
background-color: rgba(149, 149, 149, 0.1);
margin: 0.5rem;
border-radius: 1rem 1rem 1rem 0;
font-size: 0.6rem;
padding: 0.4rem;
color: hsl(276, 55%, 52%);
font-weight: 500;
}
.dogimage{
display: flex;
gap: 0.5rem;
justify-content: end;
margin: 0.5rem;
}
.dogimage img{
width: 3rem;
height: 3rem;
border-radius: 0.5rem;
}
.messageme{
width:10rem;
background-color: white;
margin: 0.5rem 0.5rem 0.5rem auto;
border-radius: 1rem 1rem 0 1rem;
font-size: 0.6rem;
padding: 0.4rem;
color: hsl(276, 55%, 52%);
font-weight: 500;
}
.diff{
display: flex;
width: 12rem;
background-image: linear-gradient(to right,hsl(293, 100%, 63%),hsl(264, 100%, 61%));
margin: 0.5rem;
border-radius: 1rem 1rem 1rem 0.3rem;
font-size: 0.6rem;
padding: 0.8rem 1rem 0.8rem 1rem;
color: white;
gap:0.3rem;
align-items: center;
}
.diff h3{
font-size: 0.8rem;
font-weight: 700;
margin-left: auto;
}
.circle{
width: 1rem;
height: 1rem;
border: 1px solid white;
border-radius: 50%;
}
.form input{
width: 14rem;
margin: 0.3rem;
padding: 0.5rem 0.5rem 0.5rem 1rem;
border-radius: 100px;
border: white;
}
.form input::placeholder{
color: hsl(206, 6%, 79%);
font-size: 0.7rem;
margin-left: 2rem;
}
form{
position: relative;
}
.submit{
position: absolute;
right: 0.5rem;
font-size: 1.8rem;
top: 50%;
transform: translate(0,-50%);
color:hsl(271, 36%, 24%);
}
.ground2{
background-color: rgb(198, 197, 197,0.2);
width: 425px;
height: 85vh;
border-top-left-radius: 5000px;
border-top-right-radius: 5000px;
position: absolute;
right: -20rem;
bottom: 0px;
z-index: -1;
}