mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-08 07:26:47 +00:00
自定义js/css 自定义代码主题
This commit is contained in:
@@ -1999,5 +1999,5 @@ code.language-mermaid {
|
||||
}
|
||||
|
||||
.code-toolbar{
|
||||
@apply w-full;
|
||||
@apply w-full shadow-md;
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
/**
|
||||
* @author https://github.com/txs
|
||||
**/
|
||||
.code-toolbar {
|
||||
position: relative;
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
@apply w-full rounded-lg
|
||||
}
|
||||
|
||||
.toolbar-item{
|
||||
@apply whitespace-nowrap
|
||||
}
|
||||
|
||||
.toolbar-item > button {
|
||||
margin-top: -0.1rem;
|
||||
}
|
||||
|
||||
pre[class*='language-'] {
|
||||
@apply mt-0 mb-2 pt-6 !important;
|
||||
}
|
||||
|
||||
.pre-mac {
|
||||
@apply left-5 top-2 z-10 absolute
|
||||
}
|
||||
|
||||
.pre-mac > span {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
margin-right: 5px;
|
||||
@apply float-left
|
||||
}
|
||||
|
||||
.pre-mac > span:nth-child(1) {
|
||||
background: red;
|
||||
}
|
||||
|
||||
.pre-mac > span:nth-child(2) {
|
||||
background: sandybrown;
|
||||
}
|
||||
|
||||
.pre-mac > span:nth-child(3) {
|
||||
background: limegreen;
|
||||
}
|
||||
Reference in New Issue
Block a user