-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
106 lines (95 loc) · 1.71 KB
/
index.css
File metadata and controls
106 lines (95 loc) · 1.71 KB
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body{
width: 300px;
min-height:300px ;
padding: 15px;
background-color: aliceblue;
}
.container{
display: flex;
flex-direction: column;
gap: 15px;
}
h1{
color: black;
font-size: 18px;
text-align: center;
margin-bottom: 5px;
}
h2{
columns:#555 ;
font-size: 16px;
margin-bottom: 10px;
}
.note-input{
display: flex;
flex-direction: column;
gap: 10px;
}
textarea{
width: 100%;
height: 80px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
resize: none;
}
button{
padding: 3px 12px;
background-color:#4285f4 ;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
color: white;
}
button:hover{
background-color: #3367d6;
}
.notes-container{
margin-top: 10px;
}
.note-item{
background-color: white;
padding: 10px;
border-radius: 4px;
margin-bottom: 10px;
border-left: 3px solid #4286f4;
position: relative;
}
.note-text{
margin-bottom: 5px;
word-wrap:break-word;
}
.note-date{
font-size: 11px;
color: gray;
}
.delete-btn{
position: absolute;
top: 5px;
right: 5px;
background-color: #ea4335;
color: white;
border-radius: 50%;
width: 20px;
height: 20px;
cursor: pointer;
font-size: 10px;
display: flex;
align-items: center;
justify-content:center;
}
.delete-btn:hover{
background-color: #c5221f;
}
.no-notes{
text-align: center;
color: gray;
font-style: italic;
padding: 10px;
}