Skip to content

Commit

Permalink
✨ 优化代码块的工具栏、字体等展现样式
Browse files Browse the repository at this point in the history
  • Loading branch information
Licoy committed Sep 12, 2024
1 parent 5bafff2 commit e452635
Showing 4 changed files with 22 additions and 23 deletions.
18 changes: 6 additions & 12 deletions assets/dist/js/libs.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions assets/dist/style/libs.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/dist/style/style.min.css

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions assets/style/style.less
Original file line number Diff line number Diff line change
@@ -24,6 +24,9 @@ blockquote {
}

//覆盖样式
[id^=hljs-item]{
font-size: 13px;
}
.hljs-ln-numbers {
-webkit-touch-callout: none;
-webkit-user-select: none;
@@ -2333,17 +2336,18 @@ a:hover {
background-color: #0b1c2c;
border-top-left-radius: var(--pk-g-box-radius);
border-top-right-radius: var(--pk-g-box-radius);
padding: 5px 10px 0 10px;
padding: 5px 10px 5px 10px;
display: flex;
justify-content: space-between;
align-content: center;
border-bottom: 1px dashed var(--pk-c-dark);

.dot {
i {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 6px;
width: 11px;
height: 11px;
border-radius: 5.5px;

&:not(:last-child) {
margin-right: 5px;
@@ -2365,6 +2369,7 @@ a:hover {

.actions {
.i {
font-size: 12px;
color: var(--pk-c-light);
cursor: pointer;
transition: all .3s;

0 comments on commit e452635

Please sign in to comment.