跳转到内容

MediaWiki:Gadget-ScrollUpButton-pagestyles.css

勤求古训,博采众方

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/**
 * SPDX-License-Identifier: GPL-3.0-or-later
 * _addText: '{{Gadget Header|license=GPL-3.0-or-later}}'
 *
 * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/ScrollUpButton-pagestyles}
 * @author 安忆 <i@anyi.in>
 * @license GPL-3.0-or-later {@link https://www.qiuwenbaike.cn/wiki/H:GPL-3.0}
 */

/**
 * Copyright (C)  安忆
 *
 * 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 <https://www.gnu.org/licenses/>.
 */

/**
 * Up Arrow (with blue color and white background)
 *
 * @source {@link https://www.qiuwenbaike.cn/wiki/File:Up_Arrow_(Blue,_White_BG).svg}
 * @author WaitSpring
 * @license CC-BY-SA-4.0 {@link https://www.qiuwenbaike.cn/wiki/H:CC-BY-SA-4.0}
 */
/**
 * +------------------------------------------------------------+
 * |            === WARNING: GLOBAL GADGET FILE ===             |
 * +------------------------------------------------------------+
 * |       All changes should be made in the repository,        |
 * |                otherwise they will be lost.                |
 * +------------------------------------------------------------+
 * |        Changes to this page may affect many users.         |
 * | Please discuss changes by opening an issue before editing. |
 * +------------------------------------------------------------+
 */
/* <nowiki> */

/* src/ScrollUpButton-pagestyles/ScrollUpButton-pagestyles.less */
.gadget-scroll_up_button {
  position: fixed;
  right: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  opacity: 0.7;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.client-darkmode .gadget-scroll_up_button {
  transition: none 0s ease 0s;
}
.gadget-scroll_up_button-down {
  content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2250%22%20height%3D%2250%22%20viewBox%3D%220%200%2013.229%2013.229%22%3E%3Ccircle%20cx%3D%226.614%22%20cy%3D%22-6.614%22%20r%3D%225.957%22%20fill%3D%22%23fff%22%20stroke%3D%22%2336c%22%20stroke-width%3D%221.315%22%20transform%3D%22scale(1%20-1)%22%2F%3E%3Cpath%20fill%3D%22%2336c%22%20d%3D%22M5.867%202.964h1.497v5.094l1.94-2.177%201.016.89-3.674%203.81h-.061L2.91%206.773l1.027-.89%201.93%202.177z%22%2F%3E%3C%2Fsvg%3E");
  bottom: 45px;
}
.gadget-scroll_up_button-up {
  content: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2250%22%20height%3D%2250%22%20viewBox%3D%220%200%2013.229%2013.229%22%3E%3Ccircle%20cx%3D%226.614%22%20cy%3D%226.614%22%20r%3D%225.957%22%20fill%3D%22%23fff%22%20stroke%3D%22%2336c%22%20stroke-width%3D%221.315%22%2F%3E%3Cpath%20fill%3D%22%2336c%22%20d%3D%22M5.866%2010.264h1.497V5.17l1.941%202.177%201.015-.89-3.674-3.81h-.061L2.91%206.456l1.027.89%201.93-2.177Z%22%2F%3E%3C%2Fsvg%3E);
  bottom: 85px;
}

/* </nowiki> */