-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathportfolio1.css
217 lines (212 loc) · 3.29 KB
/
portfolio1.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
html{scroll-behavior:smooth; }
*{padding:0;margin:0; box-sizing:border-box; }
body{background:#6f2e2e; font-family:'Poppins', sans-serif; }
nav ul {
list-style: none;
text-align: center;
padding-top: 20px;
}
nav ul li {
display: inline;
margin: 0 20px;
}
nav a {
text-decoration: none;
color: rgb(211, 124, 124);
font-size: 22px;
transition: color 0.3s ease;
}
nav a:hover {
color: #978989;
}
header
{
width:100%;
min-height:100vh;
display: flex;
justify-content:center;
align-items:center;
flex-direction:column;
}
header img{
width:10rem;
height:auto;
border-radius:50%;
animation:pulse 1s infinite;
}
@keyframes pulse{
0%{
box-shadow:0 0 0 0px rgba(242, 5, 5, 0.5);
}
100%{
box-shadow:0 0 0 30px rgba(242,5,5,0.5);
}
}
header h2{
color:white;
margin:1.5rem 0;
letter-spacing:0.2rem;
font-size:1.5rem;
}
header p{
color:white;
}
.arrow{
color:white;
margin-top:5rem;
font-size:5rem;
animation:arrow 2s ease-in-out infinite;
}
@keyframes arrow{
0%{color:#f8f5f7;}
50%{color:#f8f5f7;}
100%{color:#f8f5f7;}
}
.container{
width:100%;
min-height:150vh;
display:grid;
grid-template-columns:1fr 1fr 1fr 1fr;
grid-template-rows:0.8fr 0.8fr 0.5fr 0.fr;
gap:1rem;
grid-template-areas:"profile profile skills skills"
"edu edu edu Lang"
"contact project project project "
"footer footer footer footer";
padding:2rem
}
.profile{
background:#e07d7b;
color:rgb(246, 244, 244);
padding:2rem;
grid-area:profile;
}
.skills{
background:#e07d7b;
color:rgb(244, 236, 236);
padding:2rem;
grid-area:skills;
}
.edu{
background:#e07d7b;
color:white;
padding:2rem;
grid-area:edu;
}
.Lang{
background:#e07d7b;
color:#e7eff4;
padding:2rem;
grid-area:Lang;
}
.contact{
background:#e07d7b;
color:#e0dee4;
grid-area:contact;
}
.project{
background:#e07d7b;
color:white;
grid-area:project;
}
footer{
background:#e07d7b;
color:white;
padding:2rem;
grid-area:footer;
}
h2{
margin-bottom:1rem;
}
.profile p{
padding:0.3rem 1rem;
text-align:justify;
line-height:2.2rem;
}
.profile a{
text-decoration:none;
padding:0.5rem 0.7rem;
background:#0a0a0b;
color:white;
}
.skills div{
width:100%;
padding:1rem 1rem;
}
.skills div progress[value]{
width:100%;
height:1rem;
}
.edu h2
{
Letter-spacing:0.1rem;
}
.edu a{
text-decoration:none;
padding:0.5rem 0.7rem;
background:white;
color:black;
font-weight:bold;
}
.lang ul{
margin:1rem 0;
padding:0.3rem 1rem;
}
.lang ul li
{
font-size:1.2rem;
cursor:pointer;
}
.contact h2{
margin:0.5rem;
}
.contact div i{
margin:0.5rem;
margin-right:0.2rem;
}
.contact p{
margin:0.5rem;
margin:1rem 0;
cursor:pointer;
}
.project h2{
margin:0.5rem;
}
.project ul{
margin:1rem 0;
padding:0.3rem 1rem;
}
.project ul li
{
font-size:1.2rem;
cursor:pointer;
}
footer i{
background:#a7145d
color:black;
padding 0.5rem;
margin:1rem 0.2rem;
border-radius:50%;
transition:0.4s;
}
footer i:hover{
background:#1e1e21;
color:white;
cursor:pointer;
}
footer{
text-align:center;
}
@media only screen and (max-width:770px){
.container{
grid-template-columns:1fr;
grid-template-rows:0.8fr 0.6fr 1fr 0.6fr 0.5fr 0.5fr 0.1fr;
grid-temolate-area:"profile"
"skills"
"edu"
"Lang"
"contact"
"project"
"footer";
}
}