Skip to content

Commit

Permalink
add callout
Browse files Browse the repository at this point in the history
  • Loading branch information
shawroger committed Jan 13, 2023
1 parent 6d61e62 commit 126a907
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 1 deletion.
Binary file added callout/card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added callout/extract.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added callout/teacher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

.protyle-wysiwyg [data-node-id][custom-f~="tnr"],
.protyle-wysiwyg [data-node-id][custom-f~="en"] {
font-family: "Times New Roman", "宋体";
font-family: "Times New Roman", "霞鹜文楷";
}

.protyle-wysiwyg [data-node-id][custom-f~="dskg"],
Expand Down
25 changes: 25 additions & 0 deletions style/callout.css
Original file line number Diff line number Diff line change
Expand Up @@ -2464,3 +2464,28 @@
content: "";
background-image: url("../icon/19x19.com.ico");
}

.protyle-wysiwyg [data-node-id][custom-co~="teacher"] {
box-shadow: 0 0 0 1.5px #32bea6 inset;
}

[custom-co~="teacher"]::after {
background-image: url("../callout/teacher.png");
}

.protyle-wysiwyg [data-node-id][custom-co~="zl"],
.protyle-wysiwyg [data-node-id][custom-co~="extract"] {
box-shadow: 0 0 0 1.5px #000000 inset;
}

[custom-co~="zl"]::after,
[custom-co~="extract"]::after {
background-image: url("../callout/extract.png");
}
.protyle-wysiwyg [data-node-id][custom-co~="card"] {
box-shadow: 0 0 0 1.5px #0068ae inset;
}

[custom-co~="card"]::after {
background-image: url("../callout/card.png");
}

0 comments on commit 126a907

Please sign in to comment.