forked from chikatlarakesh/Edu-Consultancy-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
201 lines (174 loc) · 3.57 KB
/
index.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
/* General Styling */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
/* Body Styling */
body {
background: linear-gradient(135deg, #4c8bf5, #1e3a8a);
color: #333;
display: flex;
flex-direction: column; /* Ensure flex column for header and main */
align-items: center; /* Center align the header and main content */
min-height: 100vh;
}
/* Header and Navigation Styling */
header {
width: 100%; /* Full width */
text-align: center;
padding: 1rem 0;
}
h1 {
color: #fff;
font-size: 2rem;
margin-bottom: 1rem; /* Space below the header */
}
/* Navigation Links Styling */
nav {
display: flex;
flex-direction: column; /* Stack the nav links vertically */
align-items: center; /* Center align the links */
}
.nav-links {
display: flex;
justify-content: center; /* Center the nav links */
gap: 1rem;
margin-bottom: 1rem; /* Space below the nav links */
}
.nav-link {
display: flex;
flex-direction: column;
align-items: center;
padding: 0.75rem;
background-color: #f5f5f5;
color: #333;
text-decoration: none;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, background-color 0.3s;
}
.nav-link:hover {
background-color: #ffeb3b;
transform: translateY(-5px);
}
.nav-icon {
font-size: 1.5rem;
margin-bottom: 0.25rem;
}
.nav-link span {
font-size: 1rem;
font-weight: 500;
}
.login-button {
padding: 0.5rem 1rem;
background-color: #ffeb3b;
color: #333;
font-weight: bold;
border: none;
border-radius: 8px;
cursor: pointer;
text-decoration: none;
transition: background-color 0.3s, transform 0.2s;
}
.login-button:hover {
background-color: #f5c400;
transform: translateY(-3px);
}
/* Main Section Styling */
main {
width: 100%;
max-width: 800px; /* Restrict max width for content */
padding: 2rem;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
margin-top: 2rem; /* Space above the main section */
}
/* Section Styling */
section {
margin-bottom: 2rem;
}
section h2 {
font-size: 1.75rem;
color: #333;
border-bottom: 2px solid #4c8bf5;
padding-bottom: 0.5rem;
margin-bottom: 1rem;
transition: color 0.3s, border-color 0.3s;
}
section h2:hover {
color: #ffeb3b;
border-color: #f5c400;
}
section p, section ul {
color: #555;
line-height: 1.6;
}
ul {
padding-left: 20px; /* Ensure list items are indented */
}
ul li {
margin-bottom: 0.5rem;
position: relative;
padding-left: 1.2rem;
}
ul li::before {
content: "•";
position: absolute;
left: 0;
color: #4c8bf5;
font-weight: bold;
}
/* Contact Form Styling */
form label {
display: block;
font-weight: bold;
margin-top: 1rem;
color: #333;
}
form input[type="text"],
form input[type="email"],
form textarea {
width: 100%;
padding: 0.75rem;
margin-top: 0.5rem;
border: 1px solid #ddd;
border-radius: 5px;
transition: border-color 0.3s;
}
form input[type="text"]:hover,
form input[type="email"]:hover,
form textarea:hover {
border-color: #4c8bf5;
}
form button {
margin-top: 1rem;
padding: 0.75rem 1.5rem;
background-color: #4c8bf5;
color: #fff;
font-weight: bold;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}
form button:hover {
background-color: #3a6fd5;
transform: translateY(-3px);
}
/* Footer Styling */
footer {
text-align: center;
padding: 1rem;
color: #fff;
font-size: 0.875rem;
margin-top: auto; /* Push footer to the bottom */
}
footer p {
transition: color 0.3s;
}
footer p:hover {
color: #ffeb3b;
}