-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathportfolio.css
More file actions
220 lines (195 loc) · 4.14 KB
/
portfolio.css
File metadata and controls
220 lines (195 loc) · 4.14 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
/*stylngs for header*/
*{
padding: 0;
margin: 0;
}
header {
background-color: darkblue;
color: white;
}
.Navigation {
display: flex;
justify-content: space-around;
align-items: center;
height: 50px;
}
.Navigation li a{
color: white;
text-decoration: none;
margin-top: 10px;
}
/*home section styles*/
.heroSection {
display: flex;
justify-content: center;
gap: 30px;
margin-top: 50px;
}
.heroSection h1 {
padding-bottom: 10px;
color: darkblue;
font-size: xx-large;
}
.welcome {
color: red;
}
.heroSection button {
margin-top: 10px;
padding: 10px 20px ;
background-color: red;
color: white;
border: none;
border-radius: 12px;
font-style: normal;
font-weight: 400 ;
background: linear-gradient(145deg, #6a11cb, #2575fc); /* Gradient background */
color: white;
border: none;
padding: 15px 40px;
font-size: 16px;
font-weight: bold;
border-radius: 50px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
cursor: pointer;
transition: all 0.4s ease;
position: relative;
overflow: hidden;
}
/* Add subtle shine effect */
.heroSection button::before {
content: "";
position: absolute;
top: 50%;
left: -100%;
width: 100%;
height: 200%;
background: rgba(255, 255, 255, 0.4);
transform: rotate(45deg);
transition: all 0.7s ease;
}
/* On hover, move the shine across */
.heroSection button:hover::before {
left: 100%;
}
/* On hover effect: change size, background, and shadow */
.heroSection button:hover {
background: linear-gradient(145deg, #2575fc, #6a11cb); /* Reverse the gradient */
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
transform: scale(1.1); /* Slightly increase size */
}
.heroSection button:hover{
background-color: darkblue;
}
.Image{
width: 80%;
height: 250px;
border-radius: 500%;
}
.about-me {
background: darkblue;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 20px;
max-width: 600px;
margin: auto ;
}
h1 {
text-align: center;
color: white;
padding: 10px;
}
.profile-pic {
display: block;
margin: 0 auto 30px;
border-radius: 50%;
width: 250px;
height: 250px;
}
p {
color: #8cae13;
line-height: 1.6;
}
.portfolio-link {
display: inline-block;
margin-top: 20px;
padding: 10px 15px;
background: #007bff;
color: #fff;
text-decoration: none;
border-radius: 5px;
font-style: normal;
font-weight: 400 ;
background: linear-gradient(145deg, #6a11cb, #2575fc); /* Gradient background */
color: white;
border: none;
padding: 15px 40px;
font-size: 16px;
font-weight: bold;
border-radius: 50px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
cursor: pointer;
transition: all 0.4s ease;
position: relative;
overflow: hidden;
}
.portfolio-link button::before {
content: "";
position: absolute;
top: 50%;
left: -100%;
width: 100%;
height: 200%;
background: rgba(255, 255, 255, 0.4);
transform: rotate(45deg);
transition: all 0.7s ease;
}
.portfolio-link button:hover::before {
left: 100%;
}
.portfolio-link:hover {
background: linear-gradient(145deg, #2575fc, #6a11cb); /* Reverse the gradient */
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
transform: scale(1.1); /* Slightly increase size */
}
.aboutMe {
display: flex;
justify-content: center;
gap: 20px;
}
.aboutimg {
width: 340px;
height: 300px;
}
.aboutMe h1 {
padding-bottom: 10px;
color: rgb(6, 34, 45);
font-size: xx-large;
}
.aboutMe h3 {
font-size: xx-large;
font-weight: 400;
color: rgb(6, 6, 40);
margin-bottom: 6px;
}
.aboutMe p {
font-weight: 200;
color: rgb(6, 6, 40);
font-size: medium;
}
.about-exp {
display: flex;
justify-content: space-between;
margin: 10px;
}
.aboutMe button {
margin-top: 10px;
padding: 10px 20px;
background-color: rgb(170, 15, 15);
color: #FFF;
border: none;
border-radius: 10px;
font-weight: 400;
}
.aboutMe button:hover {
background-color: rgb(6, 6, 40);
}