225 lines
3.7 KiB
CSS
225 lines
3.7 KiB
CSS
:root {
|
|
--sidebar-bg: #1a1a1a;
|
|
--main-bg: #f0f2f5;
|
|
--text-light: #e0e0e0;
|
|
--text-dark: #333;
|
|
--primary-color: #007bff;
|
|
--card-bg: #ffffff;
|
|
--shadow: 0 4px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
margin: 0;
|
|
display: flex;
|
|
background-color: var(--main-bg);
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.sidebar {
|
|
width: 280px;
|
|
background-color: var(--sidebar-bg);
|
|
color: var(--text-light);
|
|
position: fixed;
|
|
height: 100%;
|
|
padding: 30px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.profile-pic {
|
|
width: 120px;
|
|
height: 120px;
|
|
border-radius: 50%;
|
|
border: 3px solid var(--primary-color);
|
|
}
|
|
|
|
.sidebar h3 {
|
|
color: #fff;
|
|
margin-top: 15px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.sidebar .nav-link {
|
|
color: var(--text-light);
|
|
margin: 10px 0;
|
|
font-size: 1.1rem;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.sidebar .nav-link i {
|
|
margin-right: 15px;
|
|
width: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.sidebar .nav-link:hover,
|
|
.sidebar .nav-link.active {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.social-icons {
|
|
margin-top: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.social-icons a {
|
|
color: var(--text-light);
|
|
margin: 0 10px;
|
|
font-size: 1.2rem;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.social-icons a:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 280px;
|
|
padding: 40px;
|
|
width: calc(100% - 280px);
|
|
}
|
|
|
|
.content-section {
|
|
padding: 60px 0;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.hero-section {
|
|
text-align: center;
|
|
padding: 100px 0;
|
|
}
|
|
|
|
.hero-section h1 {
|
|
font-size: 3rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hero-section p {
|
|
font-size: 1.2rem;
|
|
color: #666;
|
|
}
|
|
|
|
h2 {
|
|
font-weight: 700;
|
|
margin-bottom: 40px;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
h2::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60px;
|
|
height: 3px;
|
|
background-color: var(--primary-color);
|
|
}
|
|
|
|
.card {
|
|
border: none;
|
|
border-radius: 10px;
|
|
box-shadow: var(--shadow);
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
background-color: var(--card-bg);
|
|
text-align: center;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.card .card-body {
|
|
padding: 30px;
|
|
}
|
|
|
|
.card i {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.project-card img {
|
|
border-top-left-radius: 10px;
|
|
border-top-right-radius: 10px;
|
|
}
|
|
|
|
.form-control {
|
|
border-radius: 5px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--primary-color);
|
|
border-color: var(--primary-color);
|
|
border-radius: 50px;
|
|
padding: 12px 30px;
|
|
font-weight: 600;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #0056b3;
|
|
border-color: #0056b3;
|
|
}
|
|
|
|
footer {
|
|
padding: 20px 0;
|
|
color: #777;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 992px) {
|
|
.sidebar {
|
|
width: 100%;
|
|
height: auto;
|
|
position: relative;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
padding: 15px;
|
|
}
|
|
|
|
.sidebar .profile-pic {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
.sidebar h3, .sidebar .text-muted {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar .nav {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.sidebar .nav-link {
|
|
margin: 0 5px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.sidebar .nav-link i {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.social-icons {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
padding: 20px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.sidebar {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.sidebar .nav {
|
|
margin-top: 15px;
|
|
}
|
|
} |