From 3061bed020d80213c027ed5ce82b0f53f3161545 Mon Sep 17 00:00:00 2001 From: ken Date: Mon, 24 Aug 2026 21:29:43 +0800 Subject: [PATCH] update --- .../stylesheets/template/layout/content.scss | 219 +----------------- .../stylesheets/template/layout/header.scss | 10 +- 2 files changed, 9 insertions(+), 220 deletions(-) diff --git a/assets/stylesheets/template/layout/content.scss b/assets/stylesheets/template/layout/content.scss index b2545e1..63f8d83 100644 --- a/assets/stylesheets/template/layout/content.scss +++ b/assets/stylesheets/template/layout/content.scss @@ -561,177 +561,6 @@ transform: translateX(60vw) translateY(60vh) rotate(620deg); } } -.quick{ - &:hover{ - - } -} -#itemFullText{ - td{ - &:first-child{ - @media(min-width:769px){ - width: 27%; - } - - } - } -} -#subCategory2{ - tbody{ - border-radius: 0.5em; - background: radial-gradient(circle at 60% 90%, #eaf6fd, transparent 60%), radial-gradient(circle at 10% 10%, #bddbf8, transparent 25%), #dbdee280; - border: 1px solid #d7d7d7; - margin-bottom: 1em !important; - position: relative; - overflow: hidden; - } -} -#subCategory{ - tr { - border-radius: 0.5em; - background: radial-gradient(circle at 60% 90%, #eaf6fd, transparent 60%), radial-gradient(circle at 10% 10%, #bddbf8, transparent 25%), #dbdee280; - border: 1px solid #d7d7d7; - margin-bottom: 1em !important; - position: relative; - display: flex; - } - td{ - display: block; - width: fit-content; - // @media(min-width:480px){ - // width: 50%!important; - // } - &:first-child{ - - } - img{ - - @media(min-width:480px){ - outline: 0px; - vertical-align: middle; - display: block; - border-radius: 0.5em; - max-width: 100%; - padding: 4px; - } - } - h2{ - outline: 0px; - font-weight: 300; - line-height: 1.1; - color: inherit; - margin-top: 20px; - margin-bottom: 10px; - font-size: 1em!important; - a{ - color: #347018; - } - a:before { - // content: ""; - // display: block; - // background: url(/assets/li-sign.gif) no-repeat; - // width: 20px; - // height: 20px; - // float: left; - // margin: 0 6px 0 0; - } - } - } - -} -.subCategory { - background: #fafafa; - border: 1px solid #ddd; - h2{ - font-size: 1.5em!important ; - } -} -.subCategory h2 a:before { - content: ""; - display: block; - background: url(/assets/li-sign.gif) no-repeat; - width: 20px; - height: 20px; - float: left; - margin: 0 6px 0 0; -} - -.itemFullText { - font-size: 0.8em; - -} -.ic-wrapper { - background-color: #F0F0F0; - border-top: 10px solid #ffffff; - border-bottom: 3px solid #E0E0E0; - padding: 8px; - font-size: 20px; - line-height: 20px; - font-family: Microsoft JhengHei, arial; -} -.ic-wrapper-item { - padding: 0; - min-width:unset!important; -} -.toggler{ - cursor: pointer; - margin-bottom: 10px; - padding: 7px; - border: 1px solid #ddd; - background: #F5F5F5; - background: -moz-linear-gradient(top, #FAFAFA 0%, #F5F5F5 100%); - background: -webkit-linear-gradient(top, #FAFAFA 0%, #F5F5F5 100%); - background: -o-linear-gradient(top, #FAFAFA 0%, #F5F5F5 100%); - background: linear-gradient(to bottom, #FAFAFA 0%, #F5F5F5 100%); - border-radius: 5px; - box-shadow: 0 1px 0 #fff inset; - text-shadow: 0 1px 0 #fff; - font-size: 1.2em!important; -} -blockquote{ - border-radius: 0.5em; - background: radial-gradient(circle at 60% 90%, #eaf6fd, transparent 60%), radial-gradient(circle at 10% 10%, #bddbf8, transparent 25%), #dbdee280; - border: 1px solid #d7d7d7; - &:hover{ - border: 2px solid #ec6641; - -webkit-transition: .6s all -ease; - -o-transition: .6s all ease; - transition: .6s all -ease; - -webkit-transform: translateY(-6px); - -ms-transform: translateY(-6px); - transform: translateY(-6px); - } -} - -.ic-wrapper { - background-color: #F0F0F0; - border-top:10px solid #ffffff; - border-bottom: 3px solid #E0E0E0; - padding: 8px; - font-size:20px; - line-height: 20px; - font-family: Microsoft JhengHei, arial; -} - -// .fa { margin:0;} -// .row table {width: 100%;} - -// .ic-wrapper-item { -// Font-family:Microsoft JhengHei; -// background-color: white; -// color: #333; -// line-height: 16px; -// width: 14px; -// } -// .ic-wrapper-item:hover { -// Font-family:Microsoft JhengHei; -// background-color: white; -// color: #f60; -// line-height: 18px; -// width: 14px; -// } .tab-content{ .w-annc__widget-title{ @@ -744,30 +573,6 @@ ease; } } .kenbox{ - // &:before{ - // content: ""; - // position: absolute; - // left: 0; - // top: 0; - // width: 100%; - // height: 100%; - // clip-path: polygon( - // 20px 0, - // calc(100% - 20px) 0, - // 100% 20px, - // 100% calc(100% - 20px), - // calc(100% - 20px) 100%, - // 20px 100%, - // 0 calc(100% - 20px), - // 0 20px - // ); - // transform: translateY(6px) scale(1.02); - // filter: blur(12px); - // background: rgba(0,0,0,0.54); - // z-index: 0; - // pointer-events: none; - // } - @media(min-width:769px){ padding: 1em; z-index: 1; @@ -776,35 +581,13 @@ ease; padding-top: 1em; background:#fff; } - // clip-path: polygon(20px 0, /* 左上水平切入 */ calc(100% - 20px) 0, /* 右上水平切入 */ 100% 20px, /* 右上垂直切入 */ 100% calc(100% - 20px), /* 右下垂直切入 */ calc(100% - 20px) 100%, /* 右下水平切入 */ 20px 100%, /* 左下水平切入 */ 0 calc(100% - 20px), /* 左下垂直切入 */ 0 20px /* 左上垂直切入 */); -} -.colorbox { - border-radius: 0.5em; - background: radial-gradient(circle at 60% 90%, #eaf6fd, transparent 60%), radial-gradient(circle at 10% 10%, #bddbf8, transparent 25%), #dbdee280; - border: 1px solid #d7d7d7; - padding: 15px 15px; - min-height: 22em; - &:hover{ - -webkit-transition: .6s all ease; - -o-transition: .6s all ease; - transition: .6s all ease; - -webkit-transform: translateY(-6px); - -ms-transform: translateY(-6px); - transform: translateY(-6px); - } } .view_count{ position: absolute; right: 0; } .btn-warning{ -background-color: $theme-color-second; - &:hover{ - background: radial-gradient(circle at 70% 80%, #046fca, transparent 60%), radial-gradient(circle at 1% 1%, #f25930, transparent 30%), radial-gradient(circle at 50% 50%, #2963e64d, transparent 70%), linear-gradient(135deg, #0076d8 0%, #00437c 80%, #f25930 100%); - } - &:focus{ - background: radial-gradient(circle at 70% 80%, #046fca, transparent 60%), radial-gradient(circle at 1% 1%, #f25930, transparent 30%), radial-gradient(circle at 50% 50%, #2963e64d, transparent 70%), linear-gradient(135deg, #0076d8 0%, #00437c 80%, #f25930 100%); - } + background-color: $theme-color-second; } .row{ @media(max-width:768px){ diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index cf93746..1c1aed0 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -131,6 +131,12 @@ a[href="/en/sitemap"]{ margin: 0; font-size: unset; border-left: 0; + @media(min-width:769px){ + float: left; + .movelanguage{ + float: right; + } + } &:after, &:before{ display: none; } @@ -139,8 +145,8 @@ a[href="/en/sitemap"]{ text-decoration: none; display: inline-block; height: 40px; - padding:5px; - font-size: 0.8em; + padding: 0.7em; + font-size: 0.85em; } } }