Skip to content

Commit de9db64

Browse files
authored
Update styles.css
1 parent b46ced4 commit de9db64

File tree

1 file changed

+51
-165
lines changed

1 file changed

+51
-165
lines changed

css/styles.css

+51-165
Original file line numberDiff line numberDiff line change
@@ -1,205 +1,91 @@
1-
/* Modern: Future Focus Theme */
1+
/* Modern: Future Focus Theme with Slideshow */
22
body {
33
font-family: 'Roboto', sans-serif;
44
background-color: #f4f4f9;
55
color: #333;
66
line-height: 1.6;
77
margin: 0;
88
padding: 0;
9+
overflow: hidden;
910
}
1011

11-
header {
12-
background-color: #2c3e50;
13-
color: #fff;
14-
padding: 4rem 0;
15-
text-align: center;
16-
}
17-
18-
header h1 {
19-
margin: 0;
20-
font-size: 2.5rem;
21-
font-weight: 700;
22-
}
23-
24-
header p {
25-
margin: 0.5rem 0 0;
26-
font-size: 1.2rem;
27-
font-weight: 300;
28-
}
29-
30-
/* Floating Fixed Menu */
31-
#navbar {
32-
position: fixed;
33-
top: 0;
34-
left: 0;
35-
width: 100%;
36-
background-color: rgba(44, 62, 80, 0.95);
37-
z-index: 1000;
38-
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
39-
}
40-
41-
#navbar .container {
12+
.slideshow-container {
13+
position: relative;
14+
width: 100vw;
15+
height: 100vh;
4216
display: flex;
43-
justify-content: space-between;
4417
align-items: center;
45-
max-width: 1200px;
46-
margin: 0 auto;
47-
padding: 1rem 2rem;
48-
}
49-
50-
#navbar .logo {
51-
font-size: 1.5rem;
52-
font-weight: 700;
53-
color: #fff;
18+
justify-content: center;
19+
perspective: 1200px;
20+
overflow: hidden;
5421
}
5522

56-
#navbar ul {
57-
list-style: none;
58-
padding: 0;
59-
margin: 0;
23+
.slide {
24+
position: absolute;
25+
width: 80vw;
26+
height: 80vh;
27+
background: #fff;
28+
border-radius: 12px;
29+
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
6030
display: flex;
61-
gap: 1.5rem;
62-
}
63-
64-
#navbar ul li {
65-
margin: 0;
66-
}
67-
68-
#navbar ul li a {
69-
color: #fff;
70-
text-decoration: none;
71-
font-weight: 500;
72-
padding: 0.5rem 1rem;
73-
border-radius: 5px;
74-
transition: background-color 0.3s ease, color 0.3s ease;
75-
}
76-
77-
#navbar ul li a:hover {
78-
background-color: rgba(255, 255, 255, 0.1);
79-
color: #1abc9c;
80-
}
81-
.container {
82-
width: 90%;
83-
max-width: 1200px;
84-
margin: 0 auto;
85-
padding: 2rem 0;
31+
align-items: center;
32+
justify-content: center;
33+
transform-style: preserve-3d;
34+
transform: rotateY(90deg);
35+
transition: transform 1s ease-in-out;
8636
}
8737

88-
h2 {
89-
font-size: 2rem;
90-
font-weight: 700;
91-
color: #2c3e50;
92-
margin-bottom: 1.5rem;
93-
border-bottom: 3px solid #1abc9c;
94-
display: inline-block;
95-
padding-bottom: 0.5rem;
38+
.active {
39+
transform: rotateY(0);
9640
}
9741

98-
.job, .education-item, .award, .volunteer {
99-
margin-bottom: 2rem;
100-
background-color: #fff;
101-
padding: 1.5rem;
102-
border-radius: 8px;
103-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
42+
.slide-content {
43+
text-align: center;
44+
padding: 2rem;
45+
width: 80%;
10446
}
10547

106-
.job h3, .education-item h3, .award h3, .volunteer h3 {
107-
margin: 0 0 0.5rem;
108-
font-size: 1.5rem;
48+
h1 {
49+
font-size: 2.5rem;
10950
color: #2c3e50;
110-
}
111-
112-
.meta {
113-
font-size: 0.9rem;
114-
color: #777;
11551
margin-bottom: 1rem;
11652
}
11753

118-
ul {
119-
list-style-type: none;
120-
padding: 0;
121-
}
122-
123-
ul li {
124-
margin-bottom: 0.5rem;
125-
font-size: 1rem;
54+
p {
55+
font-size: 1.2rem;
12656
color: #555;
12757
}
12858

129-
.skills-grid {
130-
display: grid;
131-
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
132-
gap: 1rem;
133-
}
134-
135-
.skill {
59+
/* Navigation Buttons */
60+
.nav-button {
61+
position: absolute;
62+
top: 50%;
63+
transform: translateY(-50%);
13664
background-color: #1abc9c;
137-
color: #fff;
138-
padding: 1rem;
139-
border-radius: 8px;
140-
text-align: center;
141-
font-weight: 500;
142-
transition: transform 0.3s ease, box-shadow 0.3s ease;
143-
}
144-
145-
.skill:hover {
146-
transform: translateY(-5px);
147-
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
65+
color: white;
66+
border: none;
67+
padding: 1rem 1.5rem;
68+
cursor: pointer;
69+
font-size: 1.5rem;
70+
border-radius: 50%;
71+
transition: background 0.3s ease;
14872
}
14973

150-
.shape {
151-
position: absolute;
152-
background-repeat: no-repeat;
153-
background-size: contain;
154-
z-index: 0;
74+
.nav-button:hover {
75+
background-color: #16a085;
15576
}
15677

157-
.shape-1 {
158-
width: 200px;
159-
height: 200px;
160-
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMjAwIj48Y2lyY2xlIGN4PSIxMDAiIGN5PSIxMDAiIHI9IjEwMCIgZmlsbD0iIzFiYWM5YyIgZmlsbC1vcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
161-
top: 10%;
78+
.prev {
16279
left: 5%;
163-
animation: float 6s infinite ease-in-out;
16480
}
16581

166-
.shape-2 {
167-
width: 150px;
168-
height: 150px;
169-
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNTAgMTUwIj48cmVjdCB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCIgZmlsbD0iIzFiYWM5YyIgZmlsbC1vcGFjaXR5PSIwLjEiIHRyYW5zZm9ybT0icm90YXRlKDQ1KSIvPjwvc3ZnPg==');
170-
bottom: 15%;
171-
right: 10%;
172-
animation: float 8s infinite ease-in-out;
173-
}
174-
175-
.shape-3 {
176-
width: 250px;
177-
height: 250px;
178-
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj48cG9seWdvbiBwb2ludHM9IjEyNSwwIDI1MCwxMjUgMTI1LDI1MCAwLDEyNSIgZmlsbD0iIzFiYWM5YyIgZmlsbC1vcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
179-
top: 20%;
82+
.next {
18083
right: 5%;
181-
animation: float 10s infinite ease-in-out;
18284
}
18385

184-
@keyframes float {
185-
0%, 100% {
186-
transform: translateY(0);
187-
}
188-
50% {
189-
transform: translateY(-20px);
86+
@media (max-width: 768px) {
87+
.slide {
88+
width: 90vw;
89+
height: 90vh;
19090
}
19191
}
192-
193-
194-
footer {
195-
background-color: #2c3e50;
196-
color: #fff;
197-
text-align: center;
198-
padding: 1.5rem 0;
199-
margin-top: 2rem;
200-
}
201-
202-
footer p {
203-
margin: 0;
204-
font-size: 0.9rem;
205-
}

0 commit comments

Comments
 (0)