mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-20 15:09:40 +00:00
代码主题
This commit is contained in:
@@ -737,7 +737,8 @@ svg.notion-page-icon {
|
||||
width: 100%;
|
||||
padding: 30px 16px 30px 20px;
|
||||
margin: 4px 0;
|
||||
border-radius: 10px;
|
||||
border-bottom-right-radius: 0.5rem;
|
||||
border-bottom-left-radius: 0.5rem;
|
||||
tab-size: 2;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
@@ -1996,4 +1997,22 @@ thead, tbody tr {
|
||||
|
||||
.notion-collection-card{
|
||||
@apply dark:hover:text-gray-200
|
||||
}
|
||||
|
||||
.notion-code-copy{
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
pre[class*="language-mermaid"] {
|
||||
@apply bg-gray-50 dark:bg-gray-200 !important;
|
||||
}
|
||||
|
||||
/* mermaid 原文隐藏 */
|
||||
code.language-mermaid {
|
||||
display:none
|
||||
}
|
||||
|
||||
pre.notion-code.line-numbers{
|
||||
margin-bottom: 0 !important
|
||||
}
|
||||
@@ -3,9 +3,10 @@
|
||||
**/
|
||||
.code-toolbar {
|
||||
position: relative;
|
||||
box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .4);
|
||||
/* box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .4); */
|
||||
padding-bottom: 0 !important;
|
||||
@apply mb-8 mt-4 pt-6 w-full rounded-lg bg-black
|
||||
/* @apply mb-8 mt-4 pt-6 w-full rounded-lg bg-black */
|
||||
@apply w-full rounded-lg
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
@@ -27,10 +28,10 @@
|
||||
margin-top: -0.1rem;
|
||||
}
|
||||
|
||||
.notion-code > code[class*='language-'],
|
||||
/* .notion-code > code[class*='language-'],
|
||||
pre[class*='language-'] {
|
||||
background: black;
|
||||
}
|
||||
} */
|
||||
|
||||
.pre-mac {
|
||||
position: absolute;
|
||||
@@ -55,20 +56,3 @@ pre[class*='language-'] {
|
||||
.pre-mac > span:nth-child(3) {
|
||||
background: limegreen;
|
||||
}
|
||||
|
||||
.notion-code-copy{
|
||||
display: none;
|
||||
}
|
||||
|
||||
pre[class*="language-mermaid"] {
|
||||
@apply bg-gray-50 dark:bg-gray-200 !important;
|
||||
}
|
||||
|
||||
/* mermaid 原文隐藏 */
|
||||
code.language-mermaid {
|
||||
display:none
|
||||
}
|
||||
|
||||
pre.notion-code.line-numbers{
|
||||
margin-bottom: 0 !important
|
||||
}
|
||||
Reference in New Issue
Block a user