Display blockquote elements in post content as greentext

This commit is contained in:
silverpill 2022-06-21 18:19:26 +00:00
parent dd821a8760
commit 4f0ec427f5
2 changed files with 11 additions and 1 deletions

View file

@ -629,7 +629,16 @@ export default class PostComponent extends Vue {
}
:deep(.greentext) {
color: #789922;
color: $greentext-color;
}
:deep(blockquote) {
color: $greentext-color;
&::before {
content: ">";
float: left;
}
}
}

View file

@ -13,6 +13,7 @@ $link-colorizer: invert(27%) sepia(2%) saturate(0%) hue-rotate(58deg) brightness
$link-hover-color: #000000;
$link-hover-colorizer: invert(0%) sepia(0%) saturate(0%) hue-rotate(324deg) brightness(96%) contrast(104%);
$error-color: #FF4D4D;
$greentext-color: #789922;
$background-color: #f3f2ed;
$btn-background-color: $text-color;