MediaWiki:Gadget-StickyTableHeaders.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 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/StickyTableHeaders}
* @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/>.
*/
/**
* +------------------------------------------------------------+
* | === 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> */
/* esbuild-css-modules-plugin-ns-css:src/StickyTableHeaders/StickyTableHeaders.module.less */
.StickyTableHeaders-module__stickyheader_eOk_LG .StickyTableHeaders-module__thead_eOk_LG {
position: sticky;
top: -1px;
}
.skin-gongbi :is(.StickyTableHeaders-module__stickyheader_eOk_LG .StickyTableHeaders-module__thead_eOk_LG) {
top: calc(3.125rem + 6px);
}
@media screen and (min-width: 1440px) and (max-width: 1524px), screen and (max-width: 950px) {
.skin-gongbi :is(.StickyTableHeaders-module__stickyheader_eOk_LG .StickyTableHeaders-module__thead_eOk_LG) {
top: -1px;
}
}
@media screen and (min-width: 1000px) {
.skin-vector-2022.vector-sticky-header-visible :is(.StickyTableHeaders-module__stickyheader_eOk_LG .StickyTableHeaders-module__thead_eOk_LG) {
top: calc(3.125rem - 1px);
}
}