-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
223 lines (205 loc) · 3.91 KB
/
style.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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}
/* Root variable here */
:root{
--sticky_background : rgb(4, 0, 48);
--color_white: #fff;
--color_black: #000;
}
/* common css start here */
body{
background: #fff;
}
section{
padding: 60px 0px;
}
.container{
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
a{
text-decoration: none;
}
li{
list-style-type: none;
}
img{
width: 100%;
}
.bar_icon{
display: none;
}
/* common css End here */
/* Header css start here */
header{
width: 100%;
position: fixed;
left: 0;
top: 0;
padding: 20px 0px;
background: var(--color_white);
border-bottom: 1px solid rgba(221, 221, 221, 0.205);
box-shadow: 3px 3px 14px rgba(0, 0, 0, 0.03);
transition: all 0.3s ease-in-out;
}
header.active{
background: var(--sticky_background);
transition: all 0.3s ease-in-out;
/* box-shadow: 3px 3px 14px rgba(4, 0, 48, 0.1); */
}
nav{
display: flex;
align-items: center;
justify-content: space-between;
}
nav .logo a{
font-size: 28px;
font-weight: 700;
color: var(--color_black);
}
header.active nav .logo a{
color: var(--color_white);
}
nav .menu ul{
display: flex;
align-items: center;
}
nav .menu ul li{
margin-left: 20px;
}
nav .menu ul li a{
font-size: 18px;
font-weight: 400;
color: var(--color_black);
}
header.active nav .menu ul li a{
color: var(--color_white);
}
/* MOBILE SCREEN CSS */
.bar_icon .fa-solid{
font-size: 30px;
color: var(--sticky_background);
cursor: pointer;
}
#times{
display: none;
}
header.active .bar_icon .fa-solid{
font-size: 30px;
color: var(--color_white);
cursor: pointer;
}
.main_layout{
position: fixed;
left: 0;
top: 0;
width: 80%;
height: 100%;
background: var(--sticky_background);
z-index: 11;
display: flex;
align-items: center;
justify-content: center;
transform: translate(-80%,-100%);
opacity: 0;
visibility: hidden;
transition: all 0.2s ease-in-out;
}
.main_layout.active{
transform: translate(0,0);
opacity: 11;
visibility: visible;
transition: all 0.2s ease-in-out;
}
.layout_flex_content{
text-align: center;
}
.layout_flex_content .layout h3{
font-size: 50px;
color:var(--color_white);
margin-bottom: 10px;
}
.layout_flex_content .layout img{
width: 100px;
}
/* Header css End here */
/* Home content css start here */
#home{
margin-top: 75px;
/* background: red; */
}
#home .table_width{
width: 100%;
max-width: 992px;
margin: 0 auto;
overflow-x: auto;
}
#home table{
border-collapse: collapse;
width: 100%;
min-width: 500px;
}
table tr, table td, table tr th{
border: 1px solid rgba(221, 221, 221, 0.822);
padding: 10px;
text-align: center;
}
table tr:nth-child(even){
background: #fafafa;
}
td span{
margin: 0px 15px;
color: #000;
font-size: 16px;
}
/* Home content css end here */
/* about content css start here */
#about{
height: 100vh;
background: #fafafa;
display: flex;
justify-content: center;
align-items: center;
}
#about .about_content{
/* height: 100%; */
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.about_content h2{
font-size: 60px;
margin-bottom: 20px;
}
.about_content button{
width: 220px;
height: 50px;
/* line-height: 50px; */
font-size: 18px;
font-weight: 500;
color:rgb(4, 0, 48);
border: 1px solid rgb(4, 0, 48);
border-radius: 4px;
transition: all 0.3s ease-in-out;
}
.about_content button:hover{
background: rgb(4, 0, 48);
color: #fff;
cursor: pointer;
}
/* about content css end here */
/* Responsive css here */
@media (max-width : 480px) {
header .menu{
display: none;
}
header .bar_icon{
display: block;
}
}