diff --git a/src/mathworks.ico b/src/mathworks.ico new file mode 100644 index 0000000..8e52b3a Binary files /dev/null and b/src/mathworks.ico differ diff --git a/src/ww2mathworks.ico b/src/ww2mathworks.ico new file mode 100644 index 0000000..8e52b3a Binary files /dev/null and b/src/ww2mathworks.ico differ diff --git a/style/link_icon.css b/style/link_icon.css index 1c9e92c..d7373b8 100644 --- a/style/link_icon.css +++ b/style/link_icon.css @@ -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'); +} diff --git a/theme.css b/theme.css index d4dd8e9..a72d509 100644 --- a/theme.css +++ b/theme.css @@ -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; @@ -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; } \ No newline at end of file