210 lines
4.2 KiB
SCSS
210 lines
4.2 KiB
SCSS
|
|
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
|
||
|
|
|
||
|
|
.blog-extras {
|
||
|
|
margin: 2rem 0;
|
||
|
|
width: 30%;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
position: sticky;
|
||
|
|
top: 5rem;
|
||
|
|
|
||
|
|
.comments-section {
|
||
|
|
background: #fff;
|
||
|
|
border-radius: 12px;
|
||
|
|
padding: 1rem 1.5rem;
|
||
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
||
|
|
border: 1px solid #f0f0f0;
|
||
|
|
|
||
|
|
h3 {
|
||
|
|
color: #2c3e50;
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
font-size: 1.4rem;
|
||
|
|
font-weight: 500;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
letter-spacing: -0.02em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.comment-form {
|
||
|
|
.form-group {
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
|
||
|
|
input,
|
||
|
|
textarea {
|
||
|
|
width: 100%;
|
||
|
|
padding: 0.385rem 1rem;
|
||
|
|
border: 1px solid #e8ecef;
|
||
|
|
border-radius: 8px;
|
||
|
|
font-size: 14px;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
font-weight: 400;
|
||
|
|
|
||
|
|
&:focus {
|
||
|
|
outline: none;
|
||
|
|
border-color: #007bff;
|
||
|
|
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
&::placeholder {
|
||
|
|
color: #6c757d;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
font-weight: 300;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
textarea {
|
||
|
|
resize: vertical;
|
||
|
|
min-height: 100px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.submit-btn {
|
||
|
|
background: linear-gradient(190deg, #007bff, #007bff);
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
padding: 10px 16px;
|
||
|
|
border-radius: 8px;
|
||
|
|
font-size: 14px;
|
||
|
|
font-weight: 400;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
width: 100%;
|
||
|
|
|
||
|
|
&:hover {
|
||
|
|
transform: translateY(-2px);
|
||
|
|
}
|
||
|
|
|
||
|
|
&:active {
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.featured-posts {
|
||
|
|
background: #fff;
|
||
|
|
border-radius: 12px;
|
||
|
|
padding: 1.5rem;
|
||
|
|
margin-bottom: 10px;
|
||
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
||
|
|
border: 1px solid #f0f0f0;
|
||
|
|
margin-top: 5px;
|
||
|
|
|
||
|
|
h3 {
|
||
|
|
color: #2c3e50;
|
||
|
|
margin-bottom: 1.5rem;
|
||
|
|
font-size: 1.4rem;
|
||
|
|
font-weight: 400;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
letter-spacing: -0.02em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.featured-post-item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 12px 0;
|
||
|
|
border-bottom: 1px solid #f0f0f0;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
|
||
|
|
&:last-child {
|
||
|
|
border-bottom: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
&:hover {
|
||
|
|
background: #f8f9fa;
|
||
|
|
border-radius: 8px;
|
||
|
|
padding: 12px;
|
||
|
|
margin: 0 -12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
img {
|
||
|
|
width: 60px;
|
||
|
|
height: 60px;
|
||
|
|
border-radius: 8px;
|
||
|
|
object-fit: cover;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.featured-post-content {
|
||
|
|
flex: 1;
|
||
|
|
|
||
|
|
h4 {
|
||
|
|
margin: 0 0 4px 0;
|
||
|
|
font-size: 14px;
|
||
|
|
font-weight: 500;
|
||
|
|
color: #2c3e50;
|
||
|
|
line-height: 1.4;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
span {
|
||
|
|
font-size: 12px;
|
||
|
|
color: #6c757d;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
font-weight: 400;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.social-section {
|
||
|
|
border-radius: 12px;
|
||
|
|
padding: 1rem;
|
||
|
|
border: 1px solid #f0f0f0;
|
||
|
|
text-align: left;
|
||
|
|
|
||
|
|
h3 {
|
||
|
|
color: #000000;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
font-weight: 600;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
letter-spacing: -0.02em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.social-links {
|
||
|
|
display: flex;
|
||
|
|
justify-content: flex-start;
|
||
|
|
|
||
|
|
.social-link {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
width: 35px;
|
||
|
|
height: 35px;
|
||
|
|
border-radius: 50%;
|
||
|
|
color: #000000;
|
||
|
|
text-decoration: none;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
background-color: #ffffff;
|
||
|
|
|
||
|
|
&:hover {
|
||
|
|
transform: translateY(-3px);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.blog-extras {
|
||
|
|
margin: 1rem auto;
|
||
|
|
width: 100%;
|
||
|
|
.comments-section,
|
||
|
|
.social-section {
|
||
|
|
padding: 1.5rem;
|
||
|
|
margin-bottom: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.social-links {
|
||
|
|
.social-link {
|
||
|
|
width: 45px;
|
||
|
|
height: 45px;
|
||
|
|
font-size: 1.1rem;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|