a new start
This commit is contained in:
82
_sass/pivoine/__link__/_search.scss
Normal file
82
_sass/pivoine/__link__/_search.scss
Normal file
@@ -0,0 +1,82 @@
|
||||
// THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
||||
//
|
||||
// To change the contents of this file,
|
||||
// edit `_sass/pivoine/_search.pre.scss`
|
||||
// and run `npm run build:css`.
|
||||
//
|
||||
// During development you can run `npm run watch:css`
|
||||
// to continuosly rebuild this file.
|
||||
|
||||
// Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
hm-search {
|
||||
// display: flex;
|
||||
// flex-grow: 1;
|
||||
// padding: 1em;
|
||||
// position: relative;
|
||||
// overflow: hidden;
|
||||
@media screen {
|
||||
|
||||
--hm-search-input-color: var(--menu-text);
|
||||
--hm-search-input-color-bg: none;
|
||||
--hm-search-input-color-border: none;
|
||||
--hm-search-input-color-caret: var(--accent-color);
|
||||
--hm-search-font-size: larger;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.search-results {
|
||||
> article {
|
||||
animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
|
||||
|
||||
&:hover img {
|
||||
filter: grayscale(0);
|
||||
}
|
||||
|
||||
|
||||
img {
|
||||
filter: grayscale(1.0);
|
||||
transition: filter 250ms ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* ----------------------------------------------
|
||||
* Generated by Animista on 2025-4-30 22:39:13
|
||||
* Licensed under FreeBSD License.
|
||||
* See http://animista.net/license for more info.
|
||||
* w: http://animista.net, t: @cssanimista
|
||||
* ---------------------------------------------- */
|
||||
|
||||
/**
|
||||
* ----------------------------------------
|
||||
* animation scale-in-center
|
||||
* ----------------------------------------
|
||||
*/
|
||||
@keyframes scale-in-center {
|
||||
0% {
|
||||
transform: scale(0);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user