-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
194 lines (164 loc) · 3.19 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
color: #333;
line-height: 1.6;
}
header {
height: 100vh;
background: linear-gradient(135deg, #2c3e50, #2980b9);
color: white;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
nav {
position: absolute;
top: 0;
width: 100%;
display: flex;
justify-content: space-between;
padding: 20px;
background-color: rgba(0, 0, 0, 0.5);
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: 500;
}
nav .logo {
font-size: 1.5rem;
font-weight: bold;
}
.header-content h1 {
font-size: 3rem;
margin-bottom: 20px;
}
.header-content p {
font-size: 1.5rem;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
section {
padding: 60px 20px;
text-align: center;
}
h2 {
font-size: 2.5rem;
margin-bottom: 20px;
}
p {
font-size: 1.2rem;
margin-bottom: 20px;
}
/* Skills List Styles */
.skills-list, .projects-list {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
/* Card Styles */
.skill-card, .project-card {
background: #f9f9f9;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 20px;
margin: 20px;
flex: 1;
min-width: 250px;
transition: transform 0.2s;
}
.skill-card:hover, .project-card:hover {
transform: translateY(-5px);
}
.skill-card h3, .project-card h3 {
font-size: 1.8rem;
margin-bottom: 10px;
}
/* Contact Button Styles */
.contact-links {
margin-top: 20px;
}
.contact-links .contact-btn {
width: 50px;
height: 50px;
display: inline-block;
background-color: #2980b9;
color: white;
font-size: 24px;
border-radius: 50%;
line-height: 50px;
text-align: center;
margin: 0 10px;
text-decoration: none;
transition: background 0.3s ease;
}
.contact-links .contact-btn:hover {
background-color: #1c5980;
}
.contact-links i {
pointer-events: none; /* Prevents clicking on the icon itself */
}
/* Back to Top Button */
#back-to-top {
display: none; /* Hidden by default */
position: fixed;
bottom: 40px;
right: 30px;
background-color: #2980b9;
color: white;
border: none;
width: 50px;
height: 50px;
border-radius: 50%; /* Circular button */
font-size: 24px; /* Adjusted font size */
line-height: 50px; /* Center the Unicode character */
cursor: pointer;
}
#back-to-top:hover {
background-color: #1c5980;
}
/* Footer Styles */
footer {
text-align: center;
padding: 20px;
background-color: #2980b9;
color: white;
}
footer p {
margin: 0;
}
/* Dark Mode */
body.dark-mode {
background-color: #121212;
color: white;
}
header.dark-mode {
background: linear-gradient(135deg, #1b262c, #0f4c75);
}
nav.dark-mode {
background-color: rgba(0, 0, 0, 0.7);
}
.contact-links a.dark-mode {
background-color: #0f4c75;
}
.dark-mode i {
color: white; /* Icon color in dark mode */
}