100 lines
1.8 KiB
CSS
100 lines
1.8 KiB
CSS
|
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500&display=swap');
|
|
|
|
body {
|
|
background-color: #F4F7F6;
|
|
font-family: 'Roboto', sans-serif;
|
|
color: #333333;
|
|
}
|
|
|
|
:root {
|
|
--primary-color: #4A90E2;
|
|
--secondary-color: #50E3C2;
|
|
--background-color: #F4F7F6;
|
|
--surface-color: #FFFFFF;
|
|
--text-color: #333333;
|
|
--light-text-color: #888;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: var(--surface-color);
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: 700;
|
|
color: var(--primary-color) !important;
|
|
}
|
|
|
|
.post-card {
|
|
background-color: var(--surface-color);
|
|
border: none;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.post-card .card-header {
|
|
background-color: transparent;
|
|
border-bottom: none;
|
|
padding: 16px 24px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.post-card .card-body {
|
|
padding: 16px 24px;
|
|
}
|
|
|
|
.post-card .card-footer {
|
|
background-color: transparent;
|
|
border-top: 1px solid #eee;
|
|
padding: 8px 24px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.post-author {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: 600;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.post-timestamp {
|
|
font-size: 0.85rem;
|
|
color: var(--light-text-color);
|
|
}
|
|
|
|
.post-content {
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.post-actions .btn {
|
|
border-radius: 24px;
|
|
font-weight: 500;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn-like, .btn-comment {
|
|
color: var(--light-text-color);
|
|
}
|
|
|
|
.btn-like:hover, .btn-comment:hover {
|
|
background-color: #f0f0f0;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.btn i {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|