Ajout commentaire + icone menu
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
.section-header {
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.07em;
|
||||
color: #6b7280;
|
||||
background-color: #f9fafb;
|
||||
}
|
||||
|
||||
.comment-item {
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 1px solid #f3f4f6;
|
||||
}
|
||||
|
||||
.comment-item:last-of-type {
|
||||
border-bottom: none;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.comment-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.comment-date {
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
color: #374151;
|
||||
}
|
||||
|
||||
.comment-edited {
|
||||
font-size: 0.75rem;
|
||||
color: #9ca3af;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.comment-actions {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.comment-action-btn {
|
||||
border: none;
|
||||
background: none;
|
||||
font-size: 0.75rem;
|
||||
color: #6b7280;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.comment-action-btn:hover {
|
||||
color: #111827;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.comment-action-delete:hover {
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.comment-text {
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.6;
|
||||
color: #374151;
|
||||
}
|
||||
|
||||
.comment-text :is(h1, h2, h3, h4) {
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0.25rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.comment-text p {
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.comment-text p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.comment-text code {
|
||||
background: #f3f4f6;
|
||||
border-radius: 0.25rem;
|
||||
padding: 0.1em 0.35em;
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
.comment-new {
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
Reference in New Issue
Block a user