-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
42 lines (40 loc) · 1.07 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.blog-cover-image {
width: 100%;
height: 400px;
object-fit: cover;
}
.blog-content {
margin-top: 30px;
}
.comment-section {
margin-top: 50px;
border-top: 1px solid #ddd;
padding-top: 20px;
}
.comment {
margin-bottom: 15px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}
.navbar-dark .navbar-toggler {
border-color: rgba(243, 237, 237, 0.1); /* Optional: Change the border color */
}
.navbar-dark .navbar-toggler-icon {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.card-img-top {
height: 250px; /* Set a fixed height for the image */
object-fit: cover; /* Ensure the image scales properly without distortion */
}
.card {
height: 100%; /* Make card take up full height */
}
.card-body {
display: flex;
flex-direction: column;
justify-content: space-between; /* Align content properly */
}
.btn {
margin-top: auto; /* Keep the button at the bottom */
}