-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
276 lines (226 loc) · 4.96 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro&family=Silkscreen&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
}
body{
background-color: #fdeaea;
font-family:'Maven Pro', sans-serif;
display: flex;
flex-wrap: wrap;
}
.heading{
width: 100vw;
height: 5rem;
background-color: #ee2f75;
color: rgb(17, 2, 2);
box-shadow: 0px 3px 8px rgb(190, 179, 179);
}
.heading h1{
line-height: 5.3rem;
margin-left: 2rem;
font-weight: 400;
font-family: 'Silkscreen', cursive;
}
.add:active{
transform: scale(0.98);
}
/*Button style*/
.btn-div{
position: absolute;
top:0.5rem;
right:1rem;
border:none;
border-radius: 3px;
padding: 0.5rem 1rem;
cursor: pointer;
z-index: 1;
}
button{
position: relative;
display: inline-block;
cursor: pointer;
outline: none;
border: 2px solid #ffffff;
border-radius: 1.625rem;
vertical-align: middle;
text-decoration: none;
background: transparent;
padding:0;
font-size:inherit;
font-family: inherit;
box-shadow: 0px 0px 3px #efe9ebc1;
}
button.learnmore{
width: 12rem;
height: auto;
}
button.learnmore .circle{
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: relative;
display: block;
margin: 0;
width:3rem;
height: 3rem;
background: #ffffff;
border-radius: 1.625rem;
box-shadow: 0px 1px 5px #efe9ebc1;
}
button.learnmore .circle .icon{
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: absolute;
top:0;
bottom:0;
margin:auto;
background: #ee2f75;
}
button.learnmore .circle .icon.arrow{
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
left:0.625rem;
width:1.125rem;
height: 0.125rem;
background: none;
}
button.learnmore .circle .icon.arrow::before{
position: absolute;
content: "";
top: -0.25rem;
right:0.0625rem;
width: 0.625rem;
height: 0.626rem;
border-top: 0.125rem solid #ee2f75;
border-right: 0.125rem solid #ee2f75;
transform: rotate(45deg);
}
button.learnmore .button-text{
transition:all 0.45s cubic-bezier(0.65, 0, 0.076, 1) ;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom:0;
padding: 0.75rem 0;
margin: 0 0 0 1.85rem;
color: rgb(255, 255, 255);
font-weight:700 ;
line-height: 1.6;
text-align: center;
text-transform: uppercase;
}
button:hover .circle{
width: 100%;
}
button:hover .circle .icon.arrow{
background-color: #ee2f75;
transform: translate(1rem,0);
}
button:hover .button-text{
color: #ee2f75;
}
/* -----------note style------------ */
.note{
background-color: #fffbfb;
margin: 30px 20px;
height: 200px;
width: 400px;
overflow-y: scroll;
margin-top:7rem;
box-shadow: 2px 2px 8px #ee2f75ec;
}
.note .operation{
background-color: #ee2f75;
height: 32px;
display:flex;
justify-content: flex-end;
padding: 0;
}
.note .operation button{
background-color: #ee2f75;
border-color :black ;
padding: 3px;
margin: 3px ;
margin-left: 0.5rem;
cursor: pointer;
}
.note textarea,.note .main{
outline: none;
font-family: inherit;
font-size: 1.2rem;
font-weight: 600;
border:none;
height: 300px;
width: 100%;
padding: 20px;
}
.fa-pen-to-square:hover,
.fa-trash:hover{
color: #fff;
}
.note .operation button:hover{
border-color: #fff;
color: #fff;
}
.note::-webkit-scrollbar,
.note textarea::-webkit-scrollbar,
body::-webkit-scrollbar{
width: 0.4rem;
}
.note::-webkit-scrollbar-track,
.note textarea::-webkit-scrollbar-track,
body::-webkit-scrollbar-track{
background-color: #ee2f75;
}
.note::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.note textarea::-webkit-scrollbar-thumb{
background-color: #fff;
border-radius:30px ;
border: 0.1rem solid transparent ;
background-clip:content-box;
}
.hidden{
display: none;
}
/*RESPONSIVE*/
@media(max-width:493px){
.btn-div{
position: absolute;
top:6rem;
right:2rem;
border:none;
border-radius: 3px;
padding: 0.5rem 1rem;
cursor: pointer;
z-index: 1;
}
.heading h1{
margin-left: 1.5rem;
}
button{
border: 2px solid #ee2f75;
box-shadow: 0px 0px 3px #ff9cbdc1;
}
button.learnmore .circle{
background: #ee2f75;
box-shadow: 0px 1px 5px #ff9cbdc1;
}
button.learnmore .circle .icon{
background: #ffffff;
}
button.learnmore .circle .icon.arrow::before{
border-top: 0.125rem solid #fff;
border-right: 0.125rem solid #fff;
transform: rotate(45deg);
}
button.learnmore .button-text{
color: #ee2f75;
}
button:hover .circle .icon.arrow{
background-color: #fff;
}
button:hover .button-text{
color: #ffffff;
}
}