MediaWiki:Gadget-Wikiplus.css

勤求古训,博采众方
中医百科留言 | 贡献2024年9月17日 (二) 21:55的版本 (创建页面,内容为“/** * SPDX-License-Identifier: CC-BY-SA-4.0 OR Apache-2.0 * _addText: '{{Gadget Header|title=Wikiplus|license=CC-BY-SA-4.0|license2=Apache-2.0}}' * * Wikiplus * * @base {@link https://github.com/Wikiplus/Wikiplus} * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/Wikiplus} * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/Wikiplus/} * @author Eridanus Sora (妹空酱) * @license CC-BY-SA-4.0 {@link h…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/**
 * SPDX-License-Identifier: CC-BY-SA-4.0 OR Apache-2.0
 * _addText: '{{Gadget Header|title=Wikiplus|license=CC-BY-SA-4.0|license2=Apache-2.0}}'
 *
 * Wikiplus
 *
 * @base {@link https://github.com/Wikiplus/Wikiplus}
 * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/Wikiplus}
 * @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/Wikiplus/}
 * @author Eridanus Sora (妹空酱)
 * @license CC-BY-SA-4.0 {@link https://www.qiuwenbaike.cn/wiki/H:CC-BY-SA-4.0} OR Apache-2.0 {@link http://www.apache.org/licenses/LICENSE-2.0}
 */

/**
 * Copyright 2014-2024 Eridanus Sora (妹空酱)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.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/Wikiplus/Wikiplus.less */
.client-js .Wikiplus-InterBox {
  max-width: 90%;
  max-width: calc(100% - 2em);
}
.client-js .Wikiplus-Symbol-Btn {
  vertical-align: bottom !important;
}
.client-js .mw-editsection-visualeditor {
  display: none;
}

/* src/Wikiplus/modules/wikiplus.less */
/*! Wikiplus - 4.0.11 | Eridanus Sora (妹空酱) | CC-BY-SA-4.0 <https://qwbk.cc/H:CC-BY-SA-4.0> */
.mw-editsection-divider {
  display: inline;
}
#Wikiplus-Quickedit {
  width: 100%;
  min-height: 500px;
  word-break: break-all;
}
#Wikiplus-Quickedit-Summary-Input {
  width: 50%;
}
.skin-vector #Wikiplus-Quickedit-Summary-Input {
  margin-top: 5px;
}
#Wikiplus-Quickedit-Preview-Submit,
#Wikiplus-Quickedit-Submit {
  margin-top: 5px;
  padding: revert;
}
#Wikiplus-Quickedit-Preview-Output {
  clear: both;
  margin: 5px 0;
}
.Wikiplus-Btn {
  position: relative;
  float: left;
  margin: 3px 5px;
  padding: 3px 1em;
  width: auto;
  background-color: #fff;
  box-shadow: 0 1px 2px #aaa;
  text-align: center;
  cursor: pointer;
}
.Wikiplus-Btn a {
  position: relative;
  display: block;
  margin: 0;
  color: #000;
  -webkit-text-decoration: none;
  text-decoration: none;
}
.Wikiplus-InterBox {
  position: absolute;
  top: 20%;
  z-index: 200;
  padding: 20px 10px;
  width: 600px;
  min-height: 100px;
  border: 1px solid rgba(161, 154, 220, 0.41);
  background-color: #edf9f7;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.Wikiplus-InterBox-Header {
  position: relative;
  top: 0;
  top: -8px;
  margin: 0;
  width: 100%;
  border-bottom: 1px solid #6cf;
  text-align: left;
  font-size: 1.1rem;
  line-height: 2rem;
  cursor: move;
}
.Wikiplus-InterBox-Input {
  margin: 20px;
  width: 60%;
}
.Wikiplus-InterBox-Btn {
  position: relative;
  float: right;
  margin: auto 3px;
  padding: 6px 12px;
  border: 1px solid #dedede;
  background-color: #fff;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
}
.Wikiplus-InterBox-Btn:hover {
  background-color: #e8e8e8;
}
.Wikiplus-InterBox-Close {
  position: absolute;
  top: 0;
  right: 0;
  margin: 3px 7px;
  font-size: 1.5rem;
  cursor: pointer;
}
.Wikiplus-InterBox label {
  font-size: 0.95rem;
}
.Wikiplus-InterBox table.diff {
  table-layout: auto;
}
.Wikiplus-InterBox table.diff .diff-addedline,
.Wikiplus-InterBox table.diff .diff-deletedline,
.Wikiplus-InterBox table.diff .diff-lineno {
  width: 50%;
}
.Wikiplus-InterBox table.diff .diff-marker {
  text-align: left;
}
.Wikiplus-Banner {
  margin: 0;
  padding: 10px 5px;
  min-height: 50px;
  background: rgba(193, 222, 214, 0.51);
  text-align: center;
  font-size: 2rem;
  font-family: sans-serif;
  font-family: var(--fonts-sans, sans-serif);
}
.MoeNotification-notice {
  position: relative;
  display: none;
  overflow: hidden;
  margin: 3px 5px;
  padding: 0 5px;
  width: auto;
  box-shadow: 0 3px 3px #aaa;
  font-size: 1rem;
}
.MoeNotification-notice span {
  position: relative;
  margin: 3px auto 3px 3px;
  color: #fff;
  text-align: left;
  font-size: 1rem;
  font-family: sans-serif;
  font-family: var(--fonts-sans, sans-serif);
  line-height: 1.5;
}
.MoeNotification-notice-success {
  border-left: 5px solid #8dda93;
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
  background-color: #008a00;
}
.MoeNotification-notice-warning {
  border-left: 5px solid #ffdf00;
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
  background-color: #f4bd00;
}
.MoeNotification-notice-warning span {
  color: #000;
}
.MoeNotification-notice-error {
  border-left: 5px solid #e71717;
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
  background-color: #b00e06;
}
#MoeNotification {
  position: fixed;
  bottom: 30px;
  left: 0;
  z-index: 713;
  min-width: 20%;
}