-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
175 lines (158 loc) · 2.74 KB
/
style.css
File metadata and controls
175 lines (158 loc) · 2.74 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
body{
margin:0;
padding: 0;
font-family: sans-serif;
}
/* class for the main div for background image*/
.hero{
width: 100%;
height: 100vh;
background-size: cover;
overflow: hidden;
background-image: url("Images/background.png");
background-position: center;
position: relative;
}
/* class for logo*/
.logo{
width: 100px;
cursor: pointer;
}
/* navigation bar class*/
.navbar{
width: 85%;
height: 10%;
margin: auto;
display: flex;
align-content: center;
justify-content: space-between;
}
/* For the button */
button{
color:#ffff;
padding:10px 15px;
background: transparent;
border: 1px solid #fff;
border-radius:20px;
outline: none;
cursor: pointer;
}
/* For the content of the page imside backgorund-image */
.content{
color:#fbfcfd;
position: absolute;
top: 50%;
left: 8%;
/* To vertically align the content*/
transform: translateY(-50%);
}
/* for the h1 heading */
h1{
font-size: 80px;
margin: 18px 0 30px;
line-height: 80px;
}
/* Sidebar class */
.sidebar{
width: 50px;
height:100vh;
background: linear-gradient(#03545d,#008729);
position: absolute;
right: 0;
top: 0;
}
/* Menu Icon inside the sidebar */
.menu{
display: block;
width: 25px;
margin: 48px auto 0;
cursor: pointer;
}
/* Social links and otherlinks image formatting*/
.social-links img, .useful-links img {
width: 35px;
margin: 5px auto;
cursor: pointer;
}
/* Social links image alignment*/
.social-links{
width: 50px;
text-align: center;
/* To align vertically center */
transform: translateY(-50%);
position: absolute;
top: 50%;
}
/* Other links image alignment */
.useful-links{
width: 50px;
text-align: center;
position: absolute;
bottom: 30px;
}
/* Bubbles image formatting */
.bubbles img{
width: 50px;
/* For animation Values(Animation_Name, Time_display, position, loop)*/
animation: bubble 7s linear infinite;
}
/* Bubbles Image alignment */
.bubbles{
width: 100%;
display: flex;
align-items: center;
justify-content: space-around;
position: absolute;
bottom: -50px;
}
/* Animation */
@keyframes bubble{
/* At 0% */
0%{
/* Aligns bubble at vertically bottom*/
transform: translateY(0);
opacity: 0;
}
/* At 50% */
50%{
opacity: 1;
}
/* At 75% */
75%{
opacity: 1;
}
/* At 100% */
100%{
transform: translateY(-80vh);
opacity: 0;
}
}
/* Selecting bubbles*/
.bubbles img:nth-child(1){
animation-delay: 2s;
width: 20px;
}
.bubbles img:nth-child(2){
animation-delay: 1s;
width: 30px;
}
.bubbles img:nth-child(3){
animation-delay: 3.5s;
width: 32px;
}
.bubbles img:nth-child(4){
animation-delay: 2.8s;
width: 15px;
}
.bubbles img:nth-child(5){
animation-delay: 2s;
width:20px;
}
.bubbles img:nth-child(6){
animation-delay: 3.2s;
width:30px;
}
.bubbles img:nth-child(7){
animation-delay: 2.5s;
width: 33.33px;
}