From 4800b301e45b2c09ecf976ada07f3558be5ffef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=93=E5=8F=91=E5=8F=97=E9=95=BF=E7=94=9F?= Date: Fri, 25 May 2018 16:09:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E7=B2=BE=E7=AE=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source/css/_base/font.styl | 6 +---- .../source/css/_partial/searchform.styl | 22 ------------------- themes/hexo-theme-xups/source/css/style.styl | 4 ---- 3 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 themes/hexo-theme-xups/source/css/_partial/searchform.styl diff --git a/themes/hexo-theme-xups/source/css/_base/font.styl b/themes/hexo-theme-xups/source/css/_base/font.styl index 93e88a6..e78ad2e 100644 --- a/themes/hexo-theme-xups/source/css/_base/font.styl +++ b/themes/hexo-theme-xups/source/css/_base/font.styl @@ -30,11 +30,7 @@ $CDN = hexo-config("CDN") || './fonts/' src url($CDN + 'icomoon/icomoon.eot?#iefixe2xg5y') format('embedded-opentype'), url($CDN + 'icomoon/icomoon.woff?e2xg5y') format('woff'), url($CDN + 'icomoon/icomoon.ttf?e2xg5y') format('truetype'), - url($CDN + 'icomoon/icomoon.svg?e2xg5y#icomoon') format('svg'), - url('./fonts/icomoon/icomoon.eot?#iefixe2xg5y') format('embedded-opentype'), - url('./fonts/icomoon/icomoon.woff?e2xg5y') format('woff'), - url('./fonts/icomoon/icomoon.ttf?e2xg5y') format('truetype'), - url('./fonts/icomoon/icomoon.svg?e2xg5y#icomoon') format('svg') + url($CDN + 'icomoon/icomoon.svg?e2xg5y#icomoon') format('svg') font-weight normal font-style normal [class^="icon-"],[class*=" icon-"] diff --git a/themes/hexo-theme-xups/source/css/_partial/searchform.styl b/themes/hexo-theme-xups/source/css/_partial/searchform.styl deleted file mode 100644 index bcc26a8..0000000 --- a/themes/hexo-theme-xups/source/css/_partial/searchform.styl +++ /dev/null @@ -1,22 +0,0 @@ -/*! - * 搜索框 - */ -.search-form - position relative - padding 10px 70px 0 0 - .form-control - display block - width 100% - padding 5px 5px 5px 10px - border 2px solid c-ddd - border-right 0 - outline 0 - box-shadow 2px 2px 4px rgba(0, 0, 0, .07) inset - .btn - position absolute - top 10px - right 0 - width 70px - padding 7px 0 - &:hover - opacity .75 \ No newline at end of file diff --git a/themes/hexo-theme-xups/source/css/style.styl b/themes/hexo-theme-xups/source/css/style.styl index 49ff2cb..3bcc9ab 100644 --- a/themes/hexo-theme-xups/source/css/style.styl +++ b/themes/hexo-theme-xups/source/css/style.styl @@ -32,10 +32,6 @@ $comment_config = hexo-config("comment.enable") @import "_partial/theme" @import "_partial/highlight" -// 搜索框样式 -//----------------------------------------------- -@import "_partial/searchform" - // 侧栏样式 //----------------------------------------------- @import "_partial/sidebar"