-
Notifications
You must be signed in to change notification settings - Fork 0
/
comment.css
106 lines (87 loc) · 1.63 KB
/
comment.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
.blog-card {
border: 1px solid #ccc;
margin: 10px;
padding: 10px;
}
.blog-card h2 {
font-size: 24px;
margin-top: 0;
}
.blog-card img {
max-width: 100%;
height: auto;
}
.blog-card p {
margin-top: 10px;
}
.blog-preview {
margin: 20px 0;
}
.blog-preview h2 {
font-size: 36px;
margin-top: 0;
}
.blog-preview img {
max-width: 100%;
height: auto;
}
.blog-preview p {
margin-top: 20px;
font-size: 18px;
line-height: 1.5;
}
/* Comment section styling */
.comment-section {
margin-top: 30px;
}
.comment {
display: flex;
margin-bottom: 20px;
}
.comment img {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 15px;
}
.comment .comment-body {
display: flex;
flex-direction: column;
}
.comment .comment-author {
font-weight: bold;
margin-bottom: 5px;
}
.comment .comment-text {
margin-top: 0;
margin-bottom: 10px;
}
.comment .comment-date {
color: #888;
}
.comment-form {
margin-top: 30px;
}
.comment-form label {
font-weight: bold;
}
.comment-form input[type="text"],
.comment-form textarea {
display: block;
width: 100%;
margin-bottom: 10px;
padding: 5px;
border: 1px solid #ccc;
border-radius: 3px;
}
.comment-form input[type="submit"] {
background-color: #007bff;
color: #fff;
border: none;
border-radius: 3px;
padding: 10px 20px;
cursor: pointer;
}
.comment-form input[type="submit"]:hover {
background-color: #0062cc;
}