Skip to content

Commit 5d865a2

Browse files
committed
fix style
1 parent a206fde commit 5d865a2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

static/css/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@
5858
--code-unit: #48b685;
5959
--code-url: #5bc4bf;
6060
--code-variable: #06b6ef;
61+
62+
--code-button-copy-default: #00000012;
63+
--code-button-copy-area-hover: #707070;
64+
65+
--code-copy-icon: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"/></svg>');
66+
--code-copy-success-icon: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z"/></svg>');
67+
--code-copy-error-icon: url('data:image/svg+xml;charset=utf-8,<<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z"/></svg>');
6168
}
6269

6370
.dark {
@@ -112,6 +119,9 @@
112119
--code-unit: #7ec699;
113120
--code-url: #66d9ef;
114121
--code-variable: #50fa7b;
122+
123+
--code-button-copy-default: #ffffff24;
124+
--code-button-copy-area-hover: #cccccc;
115125
}
116126

117127
/* fonts */

0 commit comments

Comments
 (0)