portfolio / app /static /css /styles.css
Rsnarsna's picture
Upload 33 files
1e22a4a verified
Raw
History Blame Contribute Delete
3.56 kB
body {
padding-top: 56px; /* Height of the navbar */
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: #333;
}
.navbar {
z-index: 1030; /* Ensure the navbar is on top of other elements */
background-color: rgba(33, 37, 41, 0.9) !important;
}
body {
padding-top: 56px; /* Adjust for the height of the navbar */
}
.navbar-brand {
color: #ffffff !important;
}
.navbar-nav .nav-link {
color: rgba(255, 255, 255, 0.8) !important;
}
.navbar-nav .nav-link:hover {
color: #ffffff !important;
}
.navbar-toggler {
border-color: rgba(255, 255, 255, 0.1);
}
.navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* @media (max-width: 991.98px) {
.navbar-collapse {
background-color: rgba(33, 37, 41, 0.9);
padding: 1rem;
}
} */
/* Add media query for mobile devices */
@media (max-width: 768px) {
/* Hide default menu */
.navbar-nav {
display: none;
}
/* Show hamburger icon */
.navbar-toggler {
display: block;
}
}
.navbar-scrolled {
background-color: rgba(33, 37, 41, 0.9) !important;
box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}
section {
padding: 100px 0;
}
#dashboard {
background-color: #343a40;
min-height: 100vh;
display: flex;
align-items: center;
}
#about {
background-color: #f8f9fa;
}
#skills {
background-color: #ffffff;
}
#experience {
background-color: #f1f3f5;
}
#projects {
background-color: #e9ecef;
}
#contact {
background-color: #343a40;
color: #ffffff;
}
.section-title {
margin-bottom: 50px;
text-align: center;
}
.section-title h2 {
font-size: 2.5rem;
font-weight: 700;
text-transform: uppercase;
margin-bottom: 20px;
}
.section-title p {
font-size: 1.1rem;
max-width: 700px;
margin: 0 auto;
}
/* experience tab */
.timeline {
position: relative;
padding-left: 50px;
margin-top: 20px;
}
.timeline-line {
position: absolute;
left: 20px;
top: 0;
width: 4px;
height: 100%;
background-color: #fff;
border-radius: 2px;
}
.timeline-item {
display: flex;
align-items: center;
margin-bottom: 40px;
position: relative;
}
.timeline-date {
position: absolute;
left: -40px;
background: #f8f9fa;
color: #222;
padding: 5px 10px;
border-radius: 3px;
font-weight: bold;
font-size: 14px;
}
.timeline-content {
background: #222;
color: white;
padding: 15px;
border-radius: 8px;
width: 60%;
position: relative;
margin-left: 50px;
box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}
.timeline-content h4 {
color: #00ff99;
}
.timeline-content h6 {
font-weight: bold;
color: #aaa;
}
.timeline-content ul {
list-style: none;
padding-left: 0;
}
.timeline-content ul li {
color: #ddd;
padding-left: 20px;
position: relative;
}
.timeline-content ul li::before {
content: '✔';
position: absolute;
left: 0;
color: #00ff99;
font-weight: bold;
}
/* Arrow Effect */
.timeline-content .arrow {
position: absolute;
left: -15px;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-right: 15px solid #222;
}