69 lines
1.1 KiB
CSS
69 lines
1.1 KiB
CSS
|
|
.pfp {
|
|
width: 60px;
|
|
height: 60px;
|
|
margin: 0 15px 0 15px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.comment {
|
|
display: flex;
|
|
font-family: system-ui, sans;
|
|
margin-bottom: 20px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.comment p {
|
|
background-color: rgba(255.0,255.0,255.0,0.1);
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
margin: 0;
|
|
width: 55%;
|
|
}
|
|
|
|
.comment .info {
|
|
text-align: right;
|
|
width: 18%;
|
|
line-height: 0.8em;
|
|
}
|
|
|
|
.quote {
|
|
border-left: 2px solid white;
|
|
margin-left: 10px;
|
|
padding: 10px;
|
|
background-color: rgba(255.0,255.0,255.0,0.1);
|
|
display: block;
|
|
}
|
|
|
|
.comment .info span {
|
|
font-size: 11px;
|
|
color: rgba(255.0,255.0,255.0,0.7);
|
|
}
|
|
|
|
@media (max-width: 800px){
|
|
/* Reverse the order of elements in the user comments,
|
|
so that the avatar and info appear after the text. */
|
|
.comment .info {
|
|
order: 2;
|
|
width: 50%;
|
|
text-align: left;
|
|
}
|
|
|
|
.pfp {
|
|
order: 1;
|
|
margin: 0 15px 0 0;
|
|
}
|
|
|
|
.comment {
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
background-color: rgba(255.0,255.0,255.0,0.1);
|
|
}
|
|
|
|
.comment p {
|
|
order: 3;
|
|
margin-top: 10px;
|
|
width: 100%;
|
|
}
|
|
}
|