-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
204 lines (166 loc) · 2.99 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
202
203
204
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;900&display=swap');
* {
margin: 0;
padding: 0;
scroll-behavior: smooth;
}
body {
background-color: rgb(0, 0, 0);
}
.logo {
height: 100px;
}
.main {
background-image: url("BITS%20Cover.jpg");
background-size: cover;
background-repeat: no-repeat;
font-family: 'Lato', sans-serif;
color: honeydew;
width: 100%;
height: 100%;
font-size: 20px;
padding-top: 10%;
margin: auto;
text-align: center;
text-shadow: 0 0 10px black;
}
h2 {
background-color: rgba(255, 255, 255, 0.267);
font-weight: bold;
color: aqua;
}
.main h1 {
font-size: 100px;
margin: auto;
text-align: center;
}
.icon-down a span {
color: white;
margin-top: 40px;
padding: 20px;
border-radius: 30%;
transition: 0.5s;
}
.icon-down a span:hover {
background: #007bff;
border-radius: 50%;
}
.info {
font-family: 'Lato', sans-serif;
font-weight: 400;
color: honeydew;
width: 100%;
height: 30%;
padding: 10rem;
text-align: center;
background-color: rgba(0, 123, 255, 0.4);
}
.description h6 {
font-size: 2rem;
}
:root {
--primary-color: rgb(226, 226, 226);
--secondary-color: #818cab;
--font-color: #ffffff;
--bg-color: #00000f;
--heading-color: #000a2b9a;
}
[data-theme="dark"] {
--primary-color: rgb(32, 32, 32);
--secondary-color: #2c2c2c;
--font-color: #202020;
--bg-color: rgb(226, 226, 226);
--heading-color: #dddddd;
}
.logo {
height: 100px;
}
#dark-light {
color: white;
}
nav ul {
list-style: none;
padding: 0;
background-color: rgb(52, 58, 64)!important;
text-align: center;
}
nav ul li a {
color: var(--bg-color);
text-decoration: none;
padding: .8rem 1rem;
display: block;
line-height: 1;
}
nav ul li {
border-bottom: 1px dotted #ddd;
}
nav div:first-child {
background: var(--primary-color);;
}
nav div:first-child h1 {
line-height: 0;
padding: .8rem 0rem;
text-align: center;
}
nav div:first-child h1,
nav ul {
margin: 0;
}
@media only screen and (min-width:30em) {
nav {
display: flex;
justify-content: space-between;
background-color: var(--primary-color);
align-items: center;
}
nav ul {
display: flex;
align-items: center;
background: none;
flex-wrap: wrap;
}
nav div:first-child h1 {
padding: 0;
margin-left: 1rem;
}
nav div:first-child img {
height: 120px;
}
nav ul li {
border-bottom: none;
flex: 1 0 auto;
position: relative;
}
nav ul li a {
padding: 1.2rem 1rem
}
nav ul li a::before,
nav ul li a::after {
content: "";
position: absolute;
bottom: 0;
right: 0;
width: 0%;
height: 2px;
background: cyan;
transition: .2s width ease-in-out;
}
nav ul li a::before {
left: 0;
}
nav ul li a:hover::after,
nav ul li a:hover::before {
width: 50%;
}
}
@media only screen and (max-width: 576px) {
.description h6 {
font-size: 1rem;
}
.info {
padding: 2rem;
}
.team {
padding: 2rem 5rem;
}
}