-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
279 lines (253 loc) · 5.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
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
277
278
279
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Itim&display=swap");
/*------ Global Style ------ */
::-webkit-scrollbar {
width: 7px;
height: 7px;
background-color: #ffffff00;
overflow: hidden;
}
::-webkit-scrollbar-thumb {
background: rgb(165, 165, 165);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #5a5a5a;
}
* {
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
width: 100%;
background-image: url(./Photos/kelly-sikkema-bj3l739cwc8-unsplash.jpg);
background-position: center;
background-size: cover;
font-family: "Raleway", sans-serif;
}
header {
font-family: "Itim", cursive;
display: inline;
text-align: center;
font-size: 2.5rem;
font-weight: bold;
color: #000000;
-webkit-text-stroke: 0.2px rgb(255, 255, 255);
margin: 200px;
}
/* ------- Check sign in header -------- */
.fa-check {
font-size: 50px;
color: #1db31d;
margin-top: 15px;
margin-left: 20px;
}
.fa-check:hover {
color: white;
-webkit-text-stroke: 0.3px #1db31d;
transition: 0.5s;
}
button {
font-family: "Raleway", sans-serif;
}
.container {
display: flex;
align-items: center;
flex-direction: column;
}
/*--------- Date, time , add btn Divs ---------*/
label {
font-size: 20px;
font-weight: 800;
margin-right: 10px;
margin-top: 6px;
}
.dateTimeAddBtn-Div {
display: flex;
margin-right: 150px
}
.dateTimeAddBtn-Div > input {
border: 2px solid #af9070;
margin-bottom: 7px;
outline: none;
border-radius: 5px;
height: 30px;
background-image: url(./Photos/background_4.jpg);
}
.dateTimeAddBtn-Div > input:hover {
border: 2px solid black;
transition: 0.3s;
}
.dateTimeAddBtn-Div > input:focus {
border: 2px solid black;
}
#notesContainer {
margin-left: 200px;
margin-right: 200px;
}
#time {
margin-right: 50px;
}
/*--------- ADD Button Style ---------*/
#addNoteBtn {
color: white;
background: #64b362;
height: 55px;
width: 55px;
border-radius: 55px;
border: none;
cursor: pointer;
box-shadow: 3px 2px rgba(65, 65, 65, 0.705);
}
#addNoteBtn::after {
content: "Add Note";
}
#addNoteBtn:hover::after {
background-position: center;
content: "+";
}
#addNoteBtn:hover {
font-size: 45px;
color: #64b362;
background-color: white;
border: 3px solid #64b362;
transition-duration: 0.4s;
}
/*--------- Textarea Style and Div ---------*/
.textDeleteClearBtns {
display: flex;
align-items: center;
}
textarea {
font-family: "Architects Daughter", cursive;
height: 200px;
width: 600px;
background-image: url(./Photos/background_4.jpg);
background-position: left;
padding: 0 20px 0 25px;
font-size: 20px;
background-color: #ebe0cb;
border: 2px solid #af9070;
border-radius: 10px;
resize: none;
outline: none;
margin-bottom: 10px;
}
textarea:hover {
border: 2px solid black;
transition: 0.3s;
}
textarea:focus {
border: 2px solid black;
}
textarea::placeholder {
color: rgba(0, 0, 0, 0.465);
}
/*--------- DELETE Button Style ---------*/
#deleteAllNoteBtn {
display: block;
color: white;
height: 45px;
width: 110px;
border-radius: 10px;
border: none;
cursor: pointer;
box-shadow: 2px 2px rgba(65, 65, 65, 0.705);
background: linear-gradient(to left, #c0392b 50%, #c34536a9 50%) right;
background-size: 200%;
transition: 0.6s ease-out;
margin-bottom: 5px;
}
#deleteAllNoteBtn:hover {
background-position: left;
color: white;
background-color: white;
border: 3px solid #c0392b;
}
/*--------- CLEAR Button Style ---------*/
#clearNoteBtn {
color: white;
height: 45px;
width: 110px;
border-radius: 10px;
border: none;
cursor: pointer;
box-shadow: 2px 2px rgba(65, 65, 65, 0.705);
background: linear-gradient(to right, #f1ae57 50%, #f0b569d2 50%) left;
background-size: 200%;
transition: 0.6s ease-out;
}
#clearNoteBtn:hover {
background-position: right;
color: white;
background-color: white;
border: 3px solid rgb(241, 174, 87);
}
/*---------------- New Notes Style ---------------*/
.note-card {
font-family: "Architects Daughter", cursive;
display: inline-block;
background-image: url(./Photos/gieonkXkT.png);
background-size: 400px;
background-repeat: no-repeat;
color: #000000e1;
width: 300px;
height: 250px;
margin: 5px;
word-break: break-all;
word-break: keep-all;
overflow: auto;
animation: fadeIn 1.5s;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/*----------- Trash button style -----------*/
.fa-trash-alt{
opacity: 0;
position: absolute;
background: none;
border: none;
}
.note-card:hover .fa-trash-alt {
margin-left: 270px;
margin-top: 220px;
color: #c0392b;
font-size: 20px;
width: 20px;
height: 20px;
cursor: pointer;
position: absolute;
position: absolute;
background: none;
border: none;
opacity: 1;
}
/*---------------- Notes divs -------------------*/
.text-div {
line-height: 100%;
font-size: 20px;
margin-top: 44px;
margin-left: 22px;
width: 265px;
height: 161px;
word-break: break-all;
word-break: keep-all;
overflow: auto;
}
.date-div {
font-weight: 900;
margin-left: 20px;
}
.time-div {
font-weight: 900;
margin-left: 30px;
}