portfolio1 / style.css
JAYASWAROOP's picture
Update style.css
e74c99f verified
raw
history blame
1.64 kB
/* General styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.container {
max-width: 960px;
margin: 0 auto;
padding: 20px;
}
/* Header styles */
.header {
background-color: #f5f5f5;
}
.navbar {
padding: 0 20px;
}
.navbar-brand {
font-size: 20px;
font-weight: bold;
}
.hero {
height: 100vh;
background-image: url("images/background.jpg"); /* Replace with your background image path */
background-position: center;
background-size: cover;
color: #fff;
text-align: center;
}
.profile-img {
width: 200px;
height: 200px;
border-radius: 50%;
margin: 0 auto;
}
/* About section styles */
.about {
padding-top: 50px;
}
.about p {
line-height: 1.5;
}
/* Skills section styles */
.skills {
padding-top: 50px;
}
.skill-card {
background-color: #f0f0f0;
border-radius: 5px;
padding: 20px;
margin: 10px;
text-align: center;
}
/* Portfolio section styles */
.portfolio {
padding-top: 50px;
}
.portfolio-item {
margin-bottom: 20px;
}
.card-img-top {
height: 250px;
object-fit: cover;
}
/* Contact section styles */
.contact {
padding-top: 50px;
text-align: center;
}
.social-media {
display: flex;
justify-content: center;
gap: 10px;
}
.social-link {
font-size: 20px;
color: #333;
}
/* Footer styles */
.footer {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.hero {
height: auto;
}
.card-img-top {
height: 200px;
}
}