portfolio1 / style.css
JAYASWAROOP's picture
Update style.css
1525921 verified
raw
history blame
1.43 kB
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.header {
background-color: #fff;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
position: fixed;
top: 0;
width: 100%;
z-index: 10;
}
.navbar {
padding: 1rem 2rem;
}
.hero {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-image: url("images/background.jpg"); /* Replace with your background image */
background-size: cover;
background-attachment: fixed;
color: #fff;
}
.about, .skills, .portfolio, .contact {
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:hover {
transform: scale(1.05);
}
.portfolio-item {
margin-bottom: 2rem;
}
.footer {
background-color: #f2f2f2;
padding: 1rem 0;
}
.social-link {
margin-right: 1rem;
font-size: 1.2
}
.nav-link {
color: #333;
transition: all 0.3s ease-in-out;
}
.nav-link:hover {
color: #007bff;
}
.hero h1 {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.2rem;
line-height: 1.5;
}
@media (max-width: 768px) {
.col-md-6 {
width: 100%;
}
}
.social-link i {
font-size: 1.5rem;
color: #333;
transition: all 0.3s ease-in-out;
}
.social-link:hover i {
color: #007bff;
}
.footer {
padding: 20px;
background-color: #f5f5f5;
}