Display blockquote elements in post content as greentext
This commit is contained in:
parent
dd821a8760
commit
4f0ec427f5
2 changed files with 11 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue