Skip to content

Commit

Permalink
🔖 备份
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Nov 7, 2022
1 parent 5695a70 commit 23c4790
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
Binary file added src/mathworks.ico
Binary file not shown.
Binary file added src/ww2mathworks.ico
Binary file not shown.
14 changes: 14 additions & 0 deletions style/link_icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -986,3 +986,17 @@
content: "";
background-image: url('../src/docspython.svg');
}
.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="mathworks.com"]:not(:empty)::before,
.protyle-wysiwyg [data-node-id] a[href *="mathworks.com"]::before,
.b3-typography a[href *="mathworks.com"]::before{

content: "";
background-image: url('../src/mathworks.ico');
}
.protyle-wysiwyg [data-node-id] span[data-type='a'][data-href *="ww2.mathworks.cn"]:not(:empty)::before,
.protyle-wysiwyg [data-node-id] a[href *="ww2.mathworks.cn"]::before,
.b3-typography a[href *="ww2.mathworks.cn"]::before{

content: "";
background-image: url('../src/ww2mathworks.ico');
}
11 changes: 10 additions & 1 deletion theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ body{

/* -------------------------------标题样式-------------------------------------- */
.protyle-wysiwyg [data-node-id].h1 ,.b3-typography h1{
text-align: center;
/* text-align: center; */
border-bottom: 0px solid #c5c7ca !important;
font-size: 1.75em !important;
padding: 0.3em 4px;
Expand Down Expand Up @@ -1888,4 +1888,13 @@ body>div#action{
overflow: hidden;
mask-image: none;
-webkit-mask-image: none;
}

.protyle-wysiwyg [data-node-id].li:before {
content: "";
position: absolute;
height: calc(100% - 41px);
border-left: .5px solid var(--b3-theme-background-light);
top: 35px;
left: 17px;
}

0 comments on commit 23c4790

Please sign in to comment.