portfolio1 / style.css
JAYASWAROOP's picture
Update style.css
4163f0a verified
/* 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 */
}
.education {
padding-top: 50px;
}
.timeline {
position: relative;
padding: 0;
list-style: none;
}
.timeline-item {
position: relative;
margin-bottom: 20px;
}
.timeline-badge {
color: #fff;
padding: 10px 15px;
border-radius: 50%;
background-color: #9b59b6; /* Unique color */
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}
.timeline-content {
padding: 20px;
border: none; /* Removed border */
border-radius: 5px;
background-color: #f5f5f5;
position: relative;
left: 50%;
transform: translateX(-50%);
z-index: 1;
margin-top: 20px;
border-left: 5px solid #9b59b6; /* Decorative border line */
}
.timeline-content h3 {
margin-top: 0;
margin-bottom: 5px;
}
.timeline-content p {
font-size: 14px;
margin-bottom: 0;
}
.contact-details {
padding-top: 50px;
}
.list-unstyled {
padding: 0;
list-style: none;
}
.list-unstyled li {
margin-bottom: 10px;
display: flex;
align-items: center;
}
.list-unstyled a {
color: #333;
text-decoration: none;
margin-left: 10px; /* Adjust spacing between icon and text */
}
.list-unstyled i {
color: #9b59b6; /* Unique color */
font-size: 18px;
}
/* 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;
}
}