-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
175 lines (146 loc) · 2.81 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
body {
font-family: Arial, sans-serif;
color: #333;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
padding: 1em 0;
text-align: center;
}
#navbar ul {
list-style: none;
padding: 0;
}
#navbar ul li {
display: inline;
margin-right: 20px;
}
#navbar a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
#navbar a:hover {
color: #4CAF50;
}
section {
padding: 2em;
}
h1, h2 {
color: #333;
}
img {
max-width: 100%;
height: auto;
}
#project-detail {
padding: 2em;
}
#project-detail h1 {
color: #333;
}
/* Ensure the images fit within the page */
#project-detail img {
max-width: 100%;
height: auto;
}
/* Previous CSS styles */
/* Styles for Skills Section */
#skills {
padding: 2em;
background-color: #f4f4f4;
text-align: center;
}
.skills-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px; /* Spacing between boxes */
}
.skill-box {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
width: 300px; /* Fixed width, adjust as needed */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skill-box h3 {
margin-top: 0;
color: #4CAF50;
}
.skill-box p {
text-align: left;
}
.skill-box:hover {
transform: translateY(-10px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
/* Responsive adjustments */
@media screen and (max-width: 800px) {
.skills-container {
flex-direction: column;
align-items: center;
}
}
/* Styles for Get In Touch Section */
#contact {
padding: 2em;
background-color: #f4f4f4;
text-align: center;
}
/* Styles for Social Buttons with Icons */
.social-buttons a {
display: inline-block;
margin: 0 10px;
padding: 10px;
background-color: #333;
color: #fff;
text-decoration: none;
border-radius: 50%; /* Makes the buttons circular */
width: 40px;
height: 40px;
text-align: center;
line-height: 40px; /* Centers the icon vertically */
}
.social-buttons a i {
vertical-align: middle;
}
.social-buttons a:hover {
background-color: #4CAF50;
}
/* Responsive and additional styles */
/* Style for 'Back to Portfolio' link */
header a {
color: #4CAF50;
text-decoration: none;
transition: color 0.3s ease;
}
header a:hover {
color: #333;
}
/* Responsive Design */
@media (max-width: 600px) {
#navbar ul li {
display: block;
text-align: center;
margin-top: 10px;
}
}
/* Simple Animations */
button:hover {
animation: pulse 0.3s infinite alternate;
}
@keyframes pulse {
from {
transform: scale(1);
}
to {
transform: scale(1.1);
}
}