portfolio1 / style.css
JAYASWAROOP's picture
Update style.css
e54eb3a verified
raw
history blame
2.77 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('https://source.unsplash.com/1600x900/?developer'); /* 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: 5rem 0;
}
.skill-card {
background-color: #f5f5f5;
padding: 2rem;
border-radius: 5px;
text-align: center;
transition: all 0.3s ease-in-out;
}
.skill-card:nth-child(1) {
background-color: #f0f8ff;
}
.skill-card:nth-child(2) {
background-color: #f7f7f7;
}
.skill-card:hover {
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
transform: scale(1.02);
}
.custom-icon {
width: 50px;
height: 50px;
fill: #333; /* Change fill color as needed */
}
.skills-list {
list-style: none;
padding: 0;
margin: 0;
}
.skills-list li {
margin-bottom: 1rem;
}
/* Portfolio section styles */
.portfolio-grid {
margin-top: 50px; /* Adjust margin as needed */
}
.card {
border: none; /* Remove default card border */
transition: transform 0.3s ease-in-out; /* Add hover effect transition */
}
.card:hover {
transform: scale(1.02); /* Zoom on hover effect */
}
.card-body {
padding: 20px; /* Adjust padding as needed */
}
.card-img-top {
height: 250px;
object-fit: cover;
}
/* Contact section styles */
.contact {
background-color: #f5f5f5; /* Add a light background color */
padding-top: 100px; /* Adjust padding as needed */
padding-bottom: 50px; /* Adjust padding as needed */
}
.form-control {
border-radius: 5px; /* Add rounded corners to form fields */
}
.btn-primary {
background-color: #333; /* Change button color */
border-color: #333; /* Change button border color */
}
.social-link {
font-size: 24px; /* Increase social media icon size */
transition: transform 0.3s ease-in-out; /* Add hover effect transition */
}
.social-link:hover {
transform: scale(1.1); /* Zoom on hover effect */
}
/* 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;
}
}