Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
264 lines (191 loc) · 4.6 KB
/
Copy pathstyles.css
File metadata and controls
264 lines (191 loc) · 4.6 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
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
*{
margin: 0;
}
body{
transition: background 0.2s linear;
}
body.dark {
background-color: #292c35;
}
/* NavBar Styles goes here */
/*general styling of the navbar like the background color, alignment of the items, gap between the items*/
.navbar{
padding: 10px;
background-color: beige;
display: flex; /*to put the elements one beside the other*/
align-items: center;
font-family: Lato;
gap: 10px; /*added a gap between the logo and the brandname*/
}
/*for the styling the name of community beside the logo*/
.navbar .name{
line-height: 1.0;
font-weight: 900;
}
/*to set the size of the logo and make it circular*/
.navbar img{
height: 50px;
width: 50px;
border-radius: 50%;
}
.options{
margin-left: auto; /*to put all the items of navbar(except logo and community name) to the right side of the page*/
display: flex;
justify-content: center;
align-items: center;
}
/*styling the items in the navbar(except logo and community name) here*/
.options a{
text-decoration: none;
color: black;
margin:0 10px;
font-size: 1.1rem;
}
.options a:hover{
border-bottom: 2px solid black; /*added a simple hover event so that a line appears when someone hovers over the items*/
}
.toggle{
display: none; /*toggle bar will be hidden until respective screen size meets*/
}
/*media queries for responsiveness of navbar*/
@media screen and (max-width: 750px){
.navbar{
display: block;
position: relative;
padding: 15px 20px;
}
.options{
margin-top: 15px;
display: none;
}
.options.active, .toggle{
display: block;
}
.toggle{
position: absolute;
right: 20px;
top: 15px;
}
.options a{
display: block;
padding: 5px;
}
.name p{
display: inline-block;
position: absolute;
left: 81px;
top: 30px;
}
}
.toggleButton{
border: none;
background-color: transparent;
}
.toggleButton .fas{
font-size: 1.4rem;
}
.toggleButton .fa-sun {
color: rgb(168, 105, 22);
}
/* Header Section Styles goes here */
header {
width: 100%;
height: 90vh;
background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)),
url("./Assets/asn-junction.jpg");
background-position: bottom;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.header-content {
margin-bottom: 160px;
color: #fff;
text-align: center;
}
.header-content h2 {
font-size: 7vmin;
font-family: "Lato", sans-serif;
}
.line {
width: 150px;
height: 3px;
background: #ffa500;
margin: 20px auto;
border-radius: 5px;
}
.cta-button {
background: rgb(243, 242, 199);
border: none;
z-index: 1;
width: 140px;
height: 50px;
color: #000;
border-radius: 5px;
padding: 10px 25px;
font-family: "Lato", sans-serif;
font-weight: 700;
font-size: 22px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
display: inline-block;
box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
outline: none;
}
.cta-button:after {
position: absolute;
content: "";
width: 100%;
height: 0;
top: 0;
left: 0;
z-index: -1;
border-radius: 5px;
background-color: #feb139;
background-image: linear-gradient(315deg, #feb139 0%, #feb139 74%);
box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.cta-button:hover {
color: #fff;
}
.cta-button:hover:after {
top: auto;
bottom: 0;
height: 100%;
}
.cta-button:active {
top: 2px;
}
/* header divider wave */
.header-wave {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
transform: rotate(180deg);
}
.header-wave svg {
position: relative;
display: block;
width: calc(136% + 1.3px);
height: 177px;
}
.header-wave .shape-fill {
fill: #ffffff;
position: absolute;
}
/* css for header ends here */
/* About Us section Styles goes here */
/* Past Events section Styles goes here */
/* Our Team section Styles goes here */
/* FAQ section Styles goes here */
/* Footer section Styles goes here */