From 752d08c44f4048ccc598bee16bea1e849524fc34 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Mon, 28 Mar 2022 15:09:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=8D=E7=94=A8=E7=9A=84gl?= =?UTF-8?q?obal=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/globals.css | 51 ---------------------------------------------- 1 file changed, 51 deletions(-) diff --git a/styles/globals.css b/styles/globals.css index aca04ffd..dd5d8d73 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -121,33 +121,6 @@ nav { @apply max-w-0 } -/* 渐变透明度 */ -.line-x-opacity{ - background: -webkit-linear-gradient(left, rgba(255,255,255,0), rgb(255, 255, 255)); /* Safari 5.1 - 6.0 */ - background: -o-linear-gradient(right, rgba(255, 255, 255,0), rgb(255, 255, 255)); /* Opera 11.1 - 12.0 */ - background: -moz-linear-gradient(right, rgba(255, 255, 255,0), rgba(255, 255, 255)); /* Firefox 3.6 - 15 */ - background: linear-gradient(to right, rgba(255, 255, 255,0), rgba(255, 255, 255)); /* 标准的语法(必须放在最后) */ -} - -.-line-x-opacity{ - background: -webkit-linear-gradient(right, rgba(255,255,255,0), rgb(255, 255, 255)); /* Safari 5.1 - 6.0 */ - background: -o-linear-gradient(left, rgba(255, 255, 255,0), rgb(255, 255, 255)); /* Opera 11.1 - 12.0 */ - background: -moz-linear-gradient(left, rgba(255, 255, 255,0), rgba(255, 255, 255)); /* Firefox 3.6 - 15 */ - background: linear-gradient(to left, rgba(255, 255, 255,0), rgba(255, 255, 255)); /* 标准的语法(必须放在最后) */ -} -.dark .line-x-opacity{ - background: -webkit-linear-gradient(left, rgba(31, 41, 55,0), rgb(31, 41, 55)); /* Safari 5.1 - 6.0 */ - background: -o-linear-gradient(right, rgba(31, 41, 55,0), rgb(31, 41, 55)); /* Opera 11.1 - 12.0 */ - background: -moz-linear-gradient(right, rgba(31, 41, 55,0), rgba(31, 41, 55)); /* Firefox 3.6 - 15 */ - background: linear-gradient(to right, rgba(31, 41, 55,0), rgba(31, 41, 55)); /* 标准的语法(必须放在最后) */ -} - -.dark .-line-x-opacity{ - background: -webkit-linear-gradient(right, rgba(31, 41, 55,0), rgb(31, 41, 55)); /* Safari 5.1 - 6.0 */ - background: -o-linear-gradient(left, rgba(31, 41, 55,0), rgb(31, 41, 55)); /* Opera 11.1 - 12.0 */ - background: -moz-linear-gradient(left, rgba(31, 41, 55,0), rgb(31, 41, 55)); /* Firefox 3.6 - 15 */ - background: linear-gradient(to left, rgba(31, 41, 55,0), rgb(31, 41, 55)); /* 标准的语法(必须放在最后) */ -} .glassmorphism{ background: hsla(0, 0%, 100%, .75); @@ -165,30 +138,6 @@ nav { background: none !important; } -.article-cover{ - -webkit-text-size-adjust: 100%; - font-size: 14px; - font-family: -apple-system,SF UI Text,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif; - -webkit-font-smoothing: antialiased; - color: rgba(0,0,0,.75); - font-variant-ligatures: common-ligatures; - line-height: 1.625; - tab-size: 4; - outline: 0; - font-weight: normal; - -webkit-box-sizing: border-box; - padding: 0; - margin: 0; - position: relative; - z-index: 998; - padding-top: 160px; - bottom: -1px; - margin-top: -200px; - width: 100%; - background-image: linear-gradient(-180deg,rgba(255,255,255,0) 0%,#fff 70%); - padding-bottom: 34px; -} - .shadow-text{ text-shadow: 0.1em 0.1em 0.2em black; }