Skip to content

Commit 2350f2b

Browse files
authored
Update style.css
1 parent 6132ba0 commit 2350f2b

File tree

1 file changed

+50
-9
lines changed

1 file changed

+50
-9
lines changed

src/style.css

Lines changed: 50 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ h1 {
1616
margin-bottom: 20px;
1717
}
1818

19+
button {
20+
padding: 10px 20px;
21+
border: none;
22+
border-radius: 8px;
23+
background: #3b82f6;
24+
color: white;
25+
cursor: pointer;
26+
}
27+
1928
.note-input input,
2029
.note-input textarea {
2130
width: 100%;
@@ -27,15 +36,6 @@ h1 {
2736
color: #f8fafc;
2837
}
2938

30-
button {
31-
padding: 10px 20px;
32-
border: none;
33-
border-radius: 8px;
34-
background: #3b82f6;
35-
color: white;
36-
cursor: pointer;
37-
}
38-
3939
.note-card {
4040
background: #1e293b;
4141
padding: 10px;
@@ -55,3 +55,44 @@ button {
5555
background: #ef4444;
5656
margin-top: 5px;
5757
}
58+
59+
/* Modal styling */
60+
.modal {
61+
display: none;
62+
position: fixed;
63+
z-index: 100;
64+
left: 0; top: 0;
65+
width: 100%; height: 100%;
66+
overflow: auto;
67+
background-color: rgba(0,0,0,0.7);
68+
}
69+
70+
.modal-content {
71+
background-color: #1e293b;
72+
margin: 10% auto;
73+
padding: 20px;
74+
border-radius: 10px;
75+
width: 300px;
76+
color: #f8fafc;
77+
text-align: center;
78+
}
79+
80+
.modal-content input {
81+
width: 90%;
82+
padding: 8px;
83+
margin: 8px 0;
84+
border-radius: 6px;
85+
border: 1px solid #374151;
86+
background: #0f172a;
87+
color: #f8fafc;
88+
}
89+
90+
.modal-content button {
91+
width: 50%;
92+
}
93+
94+
.close {
95+
float: right;
96+
font-size: 24px;
97+
cursor: pointer;
98+
}

0 commit comments

Comments
 (0)