update from sparkleup

This commit is contained in:
Madison Scott-Clary 2020-04-22 19:25:06 -07:00
parent 328392bf52
commit 3d505d360f
1 changed files with 29 additions and 5 deletions

View File

@ -257,6 +257,10 @@ ins.addition, .substitution ins {
background-color: #d4fcbc;
}
mark.selected {
background-color: #ddf;
}
q.comment {
display: block;
float: right;
@ -287,10 +291,6 @@ q.comment::before, q.comment::after {
clear: both;
}
ins q.comment, ins q.comment::before {
border-color: #d4fcbc;
}
p q.comment::before {
/* Add an arrow pointing back to the line. */
width: 0;
@ -298,11 +298,35 @@ p q.comment::before {
float: left;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-right: 20px solid inherit;
border-right: 20px solid #ccc;
margin-left: calc(-1rem - 12px);
margin-top: calc(-0.5rem - 1.195px);
}
ins q.comment::before {
border-right-color: #d4fcbc;
}
ins q.comment {
background-color: #d4fcbc;
}
del q.comment::before {
border-right-color: #fbb;
}
del q.comment {
background-color: #fbb;
}
mark q.comment::before {
border-right-color: #ddf;
}
mark q.comment {
background-color: #ddf;
}
q.comment q.comment::before {
/* don't add arrow on nested comments. */
border: none;