跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
分类索引
最近更改
随机页面
灵兰秘典
帮助
帮助
联系我们
捐助本站
关于本站
MediaWiki帮助
中医百科
搜索
搜索
外观
登录
个人工具
登录
查看“︁MediaWiki:Gadget-AdvancedSiteNotices-pagestyles.css”︁的源代码
系统消息
讨论
English
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
特殊页面
页面信息
Cargo数据
外观
移至侧栏
隐藏
←
MediaWiki:Gadget-AdvancedSiteNotices-pagestyles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/** * SPDX-License-Identifier: CC-BY-SA-4.0 * _addText: '{{Gadget Header|license=CC-BY-SA-4.0}}' * * @base {@link https://zh.wikipedia.org/wiki/MediaWiki:Gadget-AdvancedSiteNotices.css} * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/AdvancedSiteNotices-pagestyles} * @license CC-BY-SA-4.0 {@link https://www.qiuwenbaike.cn/wiki/H:CC-BY-SA-4.0} */ /** * SPDX-License-Identifier: MIT * * close Icon from OOjs UI * * @base {@link https://www.qiuwenbaike.cn/wiki/File:OOjs_UI_icon_close.svg} * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/AdvancedSiteNotices-pagestyles/images} * @license MIT {@link https://github.com/wikimedia/oojs-ui/blob/master/LICENSE-MIT} */ /** * Copyright 2011-2022 OOUI Team and other contributors. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /** * +------------------------------------------------------------+ * | === 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/AdvancedSiteNotices-pagestyles/AdvancedSiteNotices-pagestyles.less */ .gadget-advanced_site_notices { display: flex; min-height: 4em; align-items: center; padding: 0 0.5em; border: 1px solid #e6e6e6; box-shadow: 0 0.5px 0 rgba(51, 102, 204, 0.25); background-color: rgba(255, 255, 255, 0.75); color: #191919; line-height: 1; overflow-y: hidden; text-align: center; } .client-darkmode .gadget-advanced_site_notices { background: #d9d9d9; } .gadget-advanced_site_notices__dismiss { min-width: 2em; order: 3; font-size: 150%; } .gadget-advanced_site_notices__dismiss a { display: block; width: 0; height: 16px; padding-left: 16px; background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20d%3D%22m4.3%202.9%2012.8%2012.8-1.4%201.4L2.9%204.3z%22%2F%3E%3Cpath%20d%3D%22M17.1%204.3%204.3%2017.1l-1.4-1.4L15.7%202.9z%22%2F%3E%3C%2Fsvg%3E); background-position: left center; background-size: 16px; font-size: 0; } .gadget-advanced_site_notices__dismiss a:hover { background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22%2336c%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20d%3D%22m4.3%202.9%2012.8%2012.8-1.4%201.4L2.9%204.3z%22%2F%3E%3Cpath%20d%3D%22M17.1%204.3%204.3%2017.1l-1.4-1.4L15.7%202.9z%22%2F%3E%3C%2Fsvg%3E); } .gadget-advanced_site_notices__notice { width: 100%; order: 2; margin: 0.5em; } .gadget-advanced_site_notices__notice__content { word-break: break-word; will-change: opacity; } .gadget-advanced_site_notices__title { order: 1; padding: 0.2em 0.4em; border-radius: 0.25em; background: #36c; color: #fff; white-space: nowrap; } .ve-activated .gadget-advanced_site_notices { display: none !important; } /* </nowiki> */
该页面使用的模板:
Template:Gadget Header
(
查看源代码
)
返回
MediaWiki:Gadget-AdvancedSiteNotices-pagestyles.css
。