-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
229 lines (203 loc) · 3.37 KB
/
styles.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
224
225
226
227
228
229
body {
background: #000000; /* fallback for old browsers */
background: -webkit-linear-gradient(
to right,
#434343,
#000000
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to right,
#434343,
#000000
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
/*Sticky side buttons*/
.cta-block {
z-index: 10;
}
.cta {
opacity: 0.25;
margin-bottom: 1rem;
}
.cta:hover {
fill: white;
opacity: 1;
}
/*Header stylling*/
.navbar {
z-index: 10;
background: linear-gradient(to right, #434343, #000000);
}
header nav a {
color: #acb6e5;
font-weight: 500;
}
header nav a:hover {
color: #74ebd5;
}
header button {
border-color: #74ebd5;
color: #acb6e5;
font-weight: 500;
}
header button:hover {
background-color: #74ebd56c;
color: #74ebd5;
}
/*About section*/
.typing::after {
content: "";
position: absolute;
width: 1px;
height: 5%;
border-right: 2px solid red;
animation: blink 0.7s infinite ease;
}
@keyframes blink {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/*Comman Stylling*/
.style1 {
color: #74ebd5;
}
.style2 {
color: rgba(255, 255, 255, 0.596);
}
.style3 {
color: #acb6e5;
}
/*Button Stylling*/
.bt1 {
border-color: #74ebd5;
color: #acb6e5;
font-weight: 500;
}
.bt1:hover {
background-color: #74ebd56c;
color: #74ebd5;
}
/*Experience Stylling*/
/* Style the tab */
.tab {
float: left;
border-right: 1px solid white;
width: 30%;
}
/* Style the buttons inside the tab */
.tab button {
display: block;
color: #acb6e5;
padding: 22px 16px;
width: 100%;
border: none;
outline: none;
text-align: left;
cursor: pointer;
transition: 0.3s;
font-size: 17px;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #74ebd56c;
color: #74ebd5;
}
/* Create an active/current "tab button" class */
.tab button.active {
background-color: #74ebd56c;
color: white;
}
/* Style the tab content */
.tabcontent {
float: left;
padding: 0px 12px;
width: 70%;
color: white;
}
.tabcontent h1 {
color: #74ebd5;
font-size: 24px;
}
.tabcontent h4 {
color: #acb6e5;
font-size: 14px;
}
.tabcontent ul {
margin-top: 10px;
}
@media screen and (max-width: 1028px) {
.tabcontent h1 {
font-size: 20px;
}
.tabcontent h4 {
font-size: 11px;
}
.tabcontent li {
font-size: 12px;
}
}
/*Project*/
.project-border {
border-color: #acb6e5;
}
.project-git {
cursor: pointer;
}
.project-git path {
fill: #74ebd5;
}
.project-demo {
cursor: pointer;
}
.project-demo {
stroke: #74ebd5;
}
/*form*/
.submit-button {
cursor: pointer;
}
/*Preloader*/
.preload {
position: fixed;
top: 0;
width: 100%;
height: 100vh;
display: flex;
background: linear-gradient(to right, #434343, #000000);
justify-content: center;
align-items: center;
transition: opacity 0.5s ease 3s;
z-index: 11;
}
.logo path:nth-child(1) {
stroke-dasharray: 804px;
stroke-dashoffset: 804px;
animation: anime 4s ease forwards, fills 1s ease forwards 1.3s;
/*animation: fills 1s ease forwards 0.6s;*/
}
.logo path:nth-child(2) {
stroke-dasharray: 616;
stroke-dashoffset: 616;
animation: anime 4s ease forwards 1s;
}
.finish {
opacity: 0;
pointer-events: none;
}
@keyframes anime {
to {
stroke-dashoffset: 0;
}
}
@keyframes fills {
from {
fill: transparent;
}
to {
fill: #74ebd5;
}
}