![刷新 刷新](/images/thumb/b/b0/OOjs_UI_icon_reload-progressive.svg/55px-OOjs_UI_icon_reload-progressive.svg.png)
请注意:更新本页面后,您可能需要清除浏览器缓存才能看到所作变更的影响。
Google Chrome、Microsoft Edge、Mozilla Firefox、Safari:按住⇧ Shift,同时单击“刷新”。
Google Chrome、Microsoft Edge、Mozilla Firefox、Safari:按住⇧ Shift,同时单击“刷新”。
![Cc.logo.circle.svg](/images/thumb/5/5d/CC_Logo.svg/40px-CC_Logo.svg.png)
![署名 署名](/images/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![相同方式共享 相同方式共享](/images/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
本文件采用知识共享署名-相同方式共享 4.0 国际(CC BY-SA 4.0)许可协议授权。
- 您可以自由地:
- 分享 – 在任何媒介以任何形式复制、发行本作品
- 演绎 – 修改、转换或以本作品为基础进行创作
- 惟须遵守下列条件:
- 署名 – 您必须给出适当的署名(标明原作者),提供指向本许可协议的链接,同时标明是否(对原始作品)作了修改。您可以用任何合理的方式来署名,但是不得以任何方式暗示许可人为您或您的使用背书(即诱导原作者在不了解协议情况下给你授权)。
- 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须基于与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
/**
* SPDX-License-Identifier: CC-BY-SA-4.0
* _addText: '{{Gadget Header|license=CC-BY-SA-4.0}}'
*
* @base <https://zh.wikipedia.org/wiki/Special:Permalink/59753812>
* @base <https://zh.wikipedia.org/wiki/MediaWiki:Gadget-ding.css>
* @source <https://git.qiuwen.net.cn/InterfaceAdmin/Gadgets/src/branch/master/src/Gadgets/Ding>
*/
/**
* +--------------------------------------------------------+
* | === 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 at talk page before editing. |
* +--------------------------------------------------------+
*/
/* <nowiki> */
#ding button {
box-sizing: border-box;
padding: 0 0.7em;
border: 0.2em solid #fff;
border-radius: 9em;
margin: 0 0.2em;
background: 0 0;
color: inherit;
font-weight: inherit;
}
#ding button:active {
background: rgba(255, 255, 255, 0.2);
}
.ding_inner {
position: fixed;
z-index: 9999;
right: 0;
bottom: 0;
left: 0;
width: 75%;
height: auto;
min-height: 3.75%;
padding: 0.75em 1.5em;
border-radius: 1em 1em 0 0;
margin: 0 auto;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
font-size: 92.5%;
font-weight: bold;
line-height: 1.25em;
opacity: 1;
text-align: center;
-webkit-transform: translateY(125%);
-moz-transform: translateY(125%);
-ms-transform: translateY(125%);
-o-transform: translateY(125%);
transform: translateY(125%);
transition: all 0.2s;
word-break: break-word;
}
/* Font and background colors */
.ding_default {
background-color: #eaecf0;
color: #000;
}
.ding_info,
.ding_success,
.ding_warning {
color: #fff;
}
.ding_info {
background-color: #36c;
}
.ding_success {
background-color: #00af89;
}
.ding_warning {
background-color: #b32424;
}
.ding_inner a,
.ding_inner a:visited,
.ding_inner a:hover {
color: #f4ff7f !important;
}
/* Avoid overlapping the blue bar with the limited width control */
@media all and (min-width: 1000px) {
.ding_inner {
width: 800px !important;
margin: auto !important;
}
}
/* </nowiki> */