forked from balendurawat/iNotes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
175 lines (139 loc) · 2.52 KB
/
style.css
File metadata and controls
175 lines (139 loc) · 2.52 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
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
/* global setting */
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* styling the navbar */
.navbar{
display: flex;
justify-content: space-between;
align-items: center;
background-color: black;
padding: 10px;
}
.logo{
font-size: 30px;
margin-left: 10rem;
}
.navbar a{
color: cyan;
text-decoration: none;
}
.nav-links a{
margin: 20px;
}
.nav-links a:hover{
border-bottom: 2px solid white;
}
.search{
margin-right: 5rem;
border: 2px solid cyan;
font-size: 18px;
text-align:center;
border-radius: 10px;
}
.ham{
display: none;
}
/* Style the search box inside the navigation bar */
/* .topnav input[type=text] {
float: right;
padding: 6px;
border: none;
margin-top: 8px;
margin-right: 16px;
font-size: 17px;
} */
/* this is for the + button */
.popup{
position: absolute;
right: 0;
bottom: 0;
width: 50px;
height: 50px;
padding: 10px 10px;
margin: 10px 10px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
background-color: black;
color: cyan;
font-size: 40px;
}
/* this is for the modal that we want to popup */
.popup-modal{
width: 100%;
height: 100%;
background: rgba(0,0,0,0.7);
position: absolute;
top: 0;
display: flex;
justify-content: center;
align-items: center;
display: none;
}
.modal-content{
width: 500px;
height: 500px;
background-color:black;
opacity: 1;
border-radius: 10px;
text-align: center;
padding: 20px;
position: relative;
}
form{
margin: 30% auto;
}
.addTxt{
display: block;
width: 100%;
margin: 5% auto;
background-color: black;
color: white;
border-color: cyan;
}
.addTxt:hover{
background-color: white;
color: black;
}
.addTitle{
width: 100%;
margin: 2% auto;
background-color: black;
color: white;
border-color: cyan;
font-size: 20px;
}
.close{
position: absolute;
top: 0;
right: 14px;
transform: rotate(45deg);
cursor: pointer;
font-size: 50px;
color: white;
}
.addBtn{
background-color: black;
color: cyan;
padding: 15px;
font-weight: bold;
word-spacing: 2px;
border-color: cyan;
}
.addBtn::placeholder{
color: white;
font-weight: bold;
}
.addBtn:hover{
color: white;
}
.notes-container{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
/* css for card that contain the notes */