From b0a428533aaa6bb1e5b0d317e3a7914792b472f4 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Fri, 22 Nov 2024 02:55:43 +0800 Subject: [PATCH] Remove CSS vendor prefixes --- source/css/_common/scaffolding/base.styl | 1 + source/css/_common/scaffolding/tags/tabs.styl | 1 - source/css/_mixins.styl | 2 -- source/css/_schemes/Pisces/_sidebar.styl | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/source/css/_common/scaffolding/base.styl b/source/css/_common/scaffolding/base.styl index b7578419b..abf962208 100644 --- a/source/css/_common/scaffolding/base.styl +++ b/source/css/_common/scaffolding/base.styl @@ -27,6 +27,7 @@ body { } if (hexo-config('body_scrollbar.stable')) { + // https://caniuse.com/mdn-css_properties_scrollbar-gutter scrollbar-gutter: stable; } } diff --git a/source/css/_common/scaffolding/tags/tabs.styl b/source/css/_common/scaffolding/tags/tabs.styl index f395c2400..bc7ea6721 100644 --- a/source/css/_common/scaffolding/tags/tabs.styl +++ b/source/css/_common/scaffolding/tags/tabs.styl @@ -11,7 +11,6 @@ flex-wrap: wrap; margin: 0; padding: 0; - position: -webkit-sticky; position: sticky; top: 0; // Fix issue #398 diff --git a/source/css/_mixins.styl b/source/css/_mixins.styl index 0ca778b61..e4dd275e2 100644 --- a/source/css/_mixins.styl +++ b/source/css/_mixins.styl @@ -71,8 +71,6 @@ word-wrap() { } disable-user-select() { - -moz-user-select: none; - -ms-user-select: none; -webkit-user-select: none; user-select: none; } diff --git a/source/css/_schemes/Pisces/_sidebar.styl b/source/css/_schemes/Pisces/_sidebar.styl index 2718905c7..2ca81359e 100644 --- a/source/css/_schemes/Pisces/_sidebar.styl +++ b/source/css/_schemes/Pisces/_sidebar.styl @@ -1,7 +1,6 @@ +desktop() { .sidebar { // https://caniuse.com/css-sticky - position: -webkit-sticky; position: sticky; top: $sidebar-offset; }