-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
310 lines (245 loc) · 5.8 KB
/
style.css
File metadata and controls
310 lines (245 loc) · 5.8 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
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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* This is for font */
body {
font-family: "Roboto", serif;
font-size: 13px;
}
h1, h2, h3 {
font-family: "Roboto", serif;
font-size: 20px;
}
/* Upper code is for font */
/* Header Styles */
.main-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: rgba(173, 236, 231, 0.95);
padding: 15px 40px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 5px rgba(5, 121, 111, 0.425);
z-index: 1000;
}
.logo {
display: flex;
align-items: center;
gap: 10px; /* Ensure equal spacing between the logo image and text */
}
.logo img {
height: 40px;
width: auto;
}
.logo-link, .logo-text {
text-decoration: none; /* Removes underline from <a> */
font-family: 'PT Serif', serif;
font-size: 35px;
color: #05888d;
position: static;
margin: 0;
display: flex; /* Ensures consistent alignment */
align-items: center;
}
.nav-links {
display: flex;
gap: 0px;
}
.nav-links a {
text-decoration: none;
color: #024d50;
font-family: 'Roboto', sans-serif;
font-size: 16px;
padding: 8px 15px;
border-radius: 20px;
transition: all 0.3s ease;
}
.nav-links a:hover {
background: #b5dadb;
color: #05888d;
}
/* This is for background */
.hero{
height: 100%;
width: 100%;
background-image: linear-gradient(rgba(253, 255, 255, 0.925), rgba(14, 170, 170, 0.4)), url(images/login_background.jpg);
background-position: center;
background-size: cover;
position: absolute;
background-repeat: no-repeat;
background-attachment: fixed;
z-index: -1;
}
/* Upper code is for background */
/* This is for form-box */
.form-box{
width: 480px;
height: 480px;
position: relative;
margin: 7% auto;
background: #b5dadb;
box-shadow: 0 4px 8px rgba(72, 107, 107, 0.432);
padding: 5px
}
/* This is for button-box */
.button-box{
width: 220px;
margin: 35px auto;
position: relative;
box-shadow: 0 4px 8px rgba(1, 39, 39, 0.432);
border-radius: 30px;
}
/* Upper code is for button-box */
/* This is for toggle button */
.toggle-btn{
font-family:sans-serif;
font-weight: bold;
color: #05888d;
padding: 10px 30px;
cursor: pointer;
background: transparent;
border: 0;
outline: none;
position: relative;
}
#btn{
top: 0;
left: 0;
position: absolute;
width: 220px;
height: 100%;
background: linear-gradient(to right, #dbe2e2, #b5dadb);
border-radius: 30px;
transition: .5s;
}
/* Upper code is for toggle button */
/* This is for input */
.input-group {
top: 180px;
position: absolute;
left: 50%; /* Centers horizontally */
transform: translateX(-50%); /* Shifts the element back by half of its own width */
width: 280px;
transition: 0.5s;
}
.input-field{
width: 100%;
padding: 10px 0;
margin: 5px 0;
background: #acdbdd;
border-left: 0;
border-right: 0;
border-top: 0;
border-bottom: 1px solid #79bec0;
outline: none;
background: transparent;
box-sizing: border-box;
}
.check-box{
margin: 30px 10px 30px 0;
}
span{
color: #777;
font-size: 12px;
bottom: 105px;
position: absolute;
margin-left: 0px;
}
.submit-btn{
width: 85%;
padding: 10px 30px;
cursor: pointer;
display: block;
margin: 20px auto;
background: linear-gradient(to right, #74bdbd, #337b7e);
border: 0;
outline: none;
border-radius: 30px;
}
/* Upper code is for input portion */
/* This is for dashboard menu */
.dashboard-menu {
width: 100%;
margin: 90% auto;
padding: 10px;
display: flex; /* Changed to flex display */
justify-content: center; /* Center the cards */
gap: 1.5rem; /* Space between cards */
flex-wrap: nowrap; /* Keep cards in single line */
}
/* to removes href syntex */
.menu_list a {
color: black; /* changes the text color from blue to black */
text-decoration: none; /* removes the underline */
}
.menu_list a:hover {
color: #05888d; /* changes the text color on hover */
}
.menu_list {
background: #b5dadb;
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.432);
transition: transform 0.3s ease;
width: 250px;
flex-shrink: 0; /* Keep cards in single line */
}
.menu_list:hover {
transform: translateY(-15px);
}
.menu_list h3 {
color: var(--primary-color);
margin-bottom: 1rem;
}
/* Upper code is for dashboard menu */
/* This is for footer */
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: #05888d;
color: rgb(151, 211, 203);
text-align: center;
padding: 0px 0;
display: flex;
justify-content: center; /* Changed to space-between */
align-items: center;
gap: 30px; /* Adjust spacing as needed */
}
.footer-icon {
width: 15px; /* Adjust size as needed */
height: 15px;
transition: transform 0.3s ease;
position: absolute;
left: 10px; /* Distance from the left edge */
top: 50%; /* Vertical center within the container */
transform: translateY(-50%); /* Center alignment */
}
.footer-icon2 {
width: 15px; /* Adjust size as needed */
height: 15px;
transition: transform 0.3s ease;
position: absolute;
left: 40px; /* Distance from the left edge */
top: 50%; /* Vertical center within the container */
transform: translateY(-50%); /* Center alignment */
}
/* Combined hover effect for both icons */
.footer-icon:hover,
.footer-icon2:hover {
transform: scale(1.1); /* Slight zoom effect on hover */
}
/* Upper code is for footer */
/* This is login module */
#login{
left: 50px;
}
#signup{
left: 450px;
}