美化代码样式

This commit is contained in:
tangly
2022-11-17 23:15:05 +08:00
parent 12babbdbca
commit 34f63bfc84
6 changed files with 246 additions and 70 deletions

View File

@@ -1909,4 +1909,33 @@ pre[class*='language-'] {
.notion-simple-table td {
white-space: nowrap;
}
.pre-mac {
position: relative;
margin-top: -7px;
top: 21px;
left: 10px;
width: 100px;
z-index: 99;
}
.pre-mac > span {
float: left;
width: 10px;
height: 10px;
border-radius: 50%;
margin-right: 5px;
}
.pre-mac > span:nth-child(1) {
background: red;
}
.pre-mac > span:nth-child(2) {
background: sandybrown;
}
.pre-mac > span:nth-child(3) {
background: limegreen;
}