mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-28 15:10:04 +00:00
禁止复制文章功能,附带开关
This commit is contained in:
@@ -10,12 +10,6 @@ const Style = () => {
|
||||
.dark body{
|
||||
background-color: black;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
`}</style>
|
||||
}
|
||||
|
||||
@@ -13,12 +13,6 @@ const Style = () => {
|
||||
.dark body{
|
||||
background-color: black;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
/* fukasawa的首页响应式分栏 */
|
||||
#theme-fukasawa .grid-item {
|
||||
|
||||
@@ -11,12 +11,6 @@ const Style = () => {
|
||||
.dark body{
|
||||
background-color: black;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
`}</style>
|
||||
}
|
||||
|
||||
@@ -10,12 +10,6 @@ const Style = () => {
|
||||
background-color: #f7f9fe;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
// 公告栏中的字体固定白色
|
||||
#theme-heo #announcement-content .notion{
|
||||
|
||||
@@ -13,12 +13,6 @@ const Style = () => {
|
||||
.dark body{
|
||||
background-color: black;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
/* 菜单下划线动画 */
|
||||
#theme-hexo .menu-link {
|
||||
|
||||
@@ -10,12 +10,6 @@ const Style = () => {
|
||||
.test {
|
||||
text-color: red;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
`}</style>
|
||||
}
|
||||
|
||||
@@ -13,12 +13,6 @@ const Style = () => {
|
||||
.dark body{
|
||||
background-color: black;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
/* 设置了从上到下的渐变黑色 */
|
||||
#theme-matery .header-cover::before {
|
||||
|
||||
@@ -11,12 +11,6 @@ const Style = () => {
|
||||
.dark body{
|
||||
background-color: black;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
`}</style>
|
||||
}
|
||||
|
||||
@@ -14,12 +14,6 @@ const Style = () => {
|
||||
.dark body{
|
||||
background-color: black;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
`}</style>
|
||||
}
|
||||
|
||||
@@ -11,12 +11,6 @@ const Style = () => {
|
||||
.dark body{
|
||||
background-color: black;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
`}</style>
|
||||
}
|
||||
|
||||
@@ -10,12 +10,6 @@ const Style = () => {
|
||||
.dark body{
|
||||
background-color: black;
|
||||
}
|
||||
// 文本不可选取
|
||||
.forbid-copy {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
`}</style>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user