|
|
| (未显示同一用户的98个中间版本) |
| 第1行: |
第1行: |
| /* 这里放置的CSS将应用于所有皮肤 */ | | /***************************************** |
| html body {
| | * Skin -> Example |
| font-family: Times New Roman,Trebuchet MS,Sans Serif,Arial;
| | * 修复使用 example 皮肤时,诸如"首页"、"编辑源代码"、"删除"等常规功能不能点击 |
| | * p-user-page(user-page): <用户名称> |
| | * p-notifications(通知): <重要通知(0)>|<常规通知(1)> |
| | * p-user-interface-preferences(user-interface-preferences): |
| | * p-personal(个人工具): 参数设置|退出 |
| | * p-associated-pages(associated-pages): 系统消息|页面|讨论 |
| | * p-variants(语言变体): |
| | * p-views(查看): 编辑|编辑源代码 |
| | * p-cactions(更多): 删除|移动|保护|监视|刷新 |
| | * p-navigation(导航): 首页|最近更改|随机页面 |
| | * p-tb(工具): 链入页面|相关更改|上传文件|固定链接|页面信息|引用此页|浏览属性 |
| | * p-coll-print_export(打印/导出): 创建图书|下载PDF|可打印版 |
| | *****************************************/ |
| | |
| | /* 个人工具等栏目隐藏 checkbox 占位 */ |
| | #p-user-page > input[type="checkbox"], |
| | #p-notifications > input[type="checkbox"], |
| | #p-user-interface-preferences > input[type="checkbox"], |
| | #p-personal > input[type="checkbox"], |
| | #p-associated-pages > input[type="checkbox"], |
| | #p-variants > input[type="checkbox"], |
| | #p-views > input[type="checkbox"], |
| | #p-cactions > input[type="checkbox"], |
| | #p-navigation > input[type="checkbox"], |
| | #p-tb > input[type="checkbox"], |
| | #p-coll-print_export > input[type="checkbox"] { |
| | /*visibility: hidden !important;*/ |
| | display: none !important; |
| } | | } |
| body, #mw-page-base, .vectorTabs li, .vectorTabs, .vectorTabs span, #mw-head .vectorMenu h3, #mw-panel .portal .body {
| | /* 个人工具等栏目隐藏标题 */ |
| background: transparent !important;
| | #p-user-page h3, |
| | #p-notifications h3, |
| | #p-user-interface-preferences h3, |
| | #p-personal h3, |
| | #p-associated-pages h3, |
| | #p-variants h3, |
| | #p-views h3, |
| | #p-cactions h3, |
| | #p-navigation h3, |
| | #p-tb h3, |
| | #p-coll-print_export h3 { |
| | display: none !important; |
| } | | } |
| #ca-talk, #ca-nstab-mediawiki, #ca-nstab-main, #p-coll-print_export { | | |
| display: none;
| | /***************************************** |
| | * 隐藏一些功能按键 |
| | *****************************************/ |
| | |
| | /* 隐藏文件页的原始文件下载链接 */ |
| | /*.fullMedia .internal {*/ |
| | /* display: none !important;*/ |
| | /*}*/ |
| | |
| | /* 隐藏所有页面顶部的“讨论”标签页 */ |
| | /*#ca-nstab-main,*/ |
| | /*#ca-talk,*/ |
| | /*#ca-unwatch,*/ |
| | /*#ca-watch,*/ |
| | /*#ca-nstab-mediawiki {*/ |
| | /* display: none !important;*/ |
| | /*}*/ |
| | |
| | /* 可选:隐藏右上角个人工具栏中的“讨论”链接 */ |
| | /*#pt-mytalk {*/ |
| | /* display: none !important;*/ |
| | /*}*/ |
| | /* g */ |
| | /*#p-coll-print_export,*/ |
| | /*#p-navigation,*/ |
| | /*#p-variants,*/ |
| | /*#p-associated-pages,*/ |
| | /*#p-tb {*/ |
| | /* display: none !important;*/ |
| | /*}*/ |
| | /***************************************** |
| | * 页面内样式修改 |
| | *****************************************/ |
| | body { |
| | background-color: transparent; |
| } | | } |
| .mw-body {
| | |
| border: 1px solid transparent !important;
| | #mw-page-base { |
| | background-color: transparent; |
| | background-image: none; |
| } | | } |
| #content h1 {
| | /* 页面内 [编辑 | 编辑源代码] 样式 */ |
| border-bottom: 2px double #a2a9b1 !important;
| | .mw-editsection { |
| | font-size: 14px; |
| | padding: 0 10px; |
| } | | } |
| #content h2 { | | /* 头部返回按钮面包屑 */ |
| border-bottom: 1px dashed #a2a9b1 !important;
| | #contentSub { |
| | padding: 3px 10px; |
| | margin-bottom: 10px; |
| | font-size: 12px; |
| } | | } |
| h3, h4, h5, h6, .portal h3, #p-cactions-label, #content .mw-body-content .toc h2 {
| | /* 分类框 */ |
| border-bottom: 1px solid transparent !important;
| | #catlinks { |
| | background: lightyellow; |
| | padding: 5px 10px; |
| | font-size: 12px; |
| } | | } |
| /* 这里放置的CSS将应用于所有皮肤 */ | | /* 头部 H1 大标题 */ |
| div.wiki-template-box.wiki-template-box-tip {
| | #firstHeading { |
| background-color: #dfd;
| | border: none; |
| border-color: #bdb; | |
| } | | } |
| div.wiki-template-box {
| | /* 加粗字体 */ |
| padding: 5px; | | .mw-body-content b { |
| border: thin solid black;
| | color: #8b0000; |
| margin: 0.5em 0;
| |
| overflow: hidden;
| |
| } | | } |
| #content pre, #content code, #content tt {
| | |
| background-color: #ebf1f5; | | /* code 标签 */ |
| font-family: monospace; | | .mw-body-content code:not([class]) { |
| | background: black; |
| | color: white; |
| } | | } |
| #content pre {
| | /* 标题样式 */ |
| border: 1px solid #bbccdd; | | .mw-body > h1 { |
| overflow: auto;
| | border-bottom: 2px double #a2a9b1; |
| word-break: break-all;
| |
| white-space: pre-wrap !important;
| |
| } | | } |
| #content table, #content h1, #content h2, #content h3, #content h4, #content h5, #content pre, #content code, #content tt {
| | |
| color: #222222; | | /* 编辑样式 */ |
| | .mw-body-content pre, |
| | .mw-body-content .mw-code { |
| | padding: 10px; |
| } | | } |
| /* 模板文档皮肤 */
| | |
| .template-documentation { | | .mw-body-content blockquote { |
| background: aliceblue;
| | border-left: none; |
| padding: 1em;
| |
| border: 1px solid #aaa;
| |
| } | | } |
| .template-documentation-header { | | |
| padding-bottom:3px;
| | .mw-body-content .mw-parser-output > h2 { |
| border-bottom: 1px solid #aaa;
| | border-bottom: 1px dashed #a2a9b1; |
| margin-bottom:1ex;
| |
| } | | } |
| .template-documentation-header span { | | .mw-body .mw-highlight .nv { |
| font-weight: bold; | | color: #0e9bbf; |
| font-size: 125%;
| |
| } | | } |
| .template-documentation-header span.plainlinks { | | table.wikitable .mw-highlight { |
| font-size:small; | | margin: 0; |
| }
| |
| #template_doc_page_transcluded {
| |
| font-size:84%;
| |
| } | | } |
| .pageBoxGreen {
| | |
| background: #E9FBE9;
| | table.wikitable .td-pre-noborder pre { |
| padding: .5em;
| | border: none; |
| margin: .5em 0;
| |
| page-break-inside: avoid;
| |
| border-left: .5em solid #52E052;
| |
| } | | } |
| .wikiLeftRightBoxMain {
| | |
| height: auto;
| | /***************************************** |
| display: flex;
| | * Skin -> Example |
| margin: auto; | | * [导航菜单]修改基础样式 |
| | * p-logo: <wiki name> |
| | * p-search: |
| | * user-tools: |
| | * page-tools: |
| | * site-navigation: |
| | *****************************************/ |
| | |
| | /* 修改功能按钮样式 */ |
| | #p-user-page li > a, |
| | #p-notifications li > a, |
| | #p-user-interface-preferences li > a, |
| | #p-personal li > a, |
| | #p-associated-pages li > a, |
| | #p-variants li > a, |
| | #p-views li > a, |
| | #p-cactions li > a, |
| | #p-navigation li > a, |
| | #p-tb li > a, |
| | #p-coll-print_export li > a { |
| | font-size: 14px; |
| } | | } |
| .wikiLeftRightBoxMain .mw-highlight pre{
| | #p-user-page li, |
| background: #fff !important;
| | #p-notifications li, |
| | #p-user-interface-preferences li, |
| | #p-personal li, |
| | #p-associated-pages li, |
| | #p-variants li, |
| | #p-views li, |
| | #p-cactions li, |
| | #p-navigation li, |
| | #p-tb li, |
| | #p-coll-print_export li { |
| | padding-right: 0 !important; |
| } | | } |
| .wikiLeftRightBoxMain>div:first-child .mw-highlight {
| | #p-personal, |
| display: grid;
| | #page-tools { |
| width: 100%;
| |
| height: 100%;
| |
| margin: 0;
| |
| background: rgba(0,0,0,0);
| |
| }
| |
| .wikiLeftRightBoxMain .left, .wikiLeftRightBoxMain .right {
| |
| flex: 0;
| |
| }
| |
| .wikiLeftRightBoxMain div {
| |
| /* margin: .5em; */
| |
| flex: 1;
| |
| }
| |
| div.wiki-shc-background pre{
| |
| background: #222222 !important;
| |
| color: #f6f6f6 !important;
| |
| margin: 0 !important; | | margin: 0 !important; |
| border: 1px solid #fff !important;
| |
| border-left: none !important;
| |
| } | | } |
| div.wiki-hc-background>div {
| | #footer #footer-icons { |
| border-top: 1px dashed #bbccdd !important;
| | display: flex; |
| padding: 0 !important;
| | float: none; |
| }
| | justify-content: end; |
| div.wiki-hc-background>div pre {
| | margin: 5px 0 10px 0; |
| margin: 0 !important;
| |
| border-top: none !important; | |
| }
| |
| div.wiki-hcdiff-main div.right pre {
| |
| border-left: none !important;
| |
| }
| |
| div.wiki-codepen div.wikiLeftRightBoxMain {
| |
| width: 100%;
| |
| }
| |
| div.wiki-codepen div.wikiLeftRightBoxMain .tabs-tabbox{
| |
| margin: 0;
| |
| }
| |
| div.wiki-codepen div.wikiLeftRightBoxMain .tabs-tabbox .tabs-container {
| |
| margin: 0;
| |
| padding: 0;
| |
| height: 300px;
| |
| border-radius: 0;
| |
| } | | } |
| div.wiki-codetab .tabs-tabbox .tabs-container pre, div.wiki-codepen div.wikiLeftRightBoxMain .tabs-tabbox .tabs-container pre{
| | #footer #footer-icons li { |
| box-sizing: border-box;
| | padding-right: 0; |
| | padding-left: 1em; |
| } | | } |
| div.wiki-codetab .tabs-tabbox .tabs-container {
| | #footer #footer-icons li > a { |
| | border: none; |
| margin: 0; | | margin: 0; |
| padding: 0; | | padding: 0; |
| height: 300px; | | background: transparent; |
| border-radius: 0;
| |
| } | | } |
| div.wiki-codepen .tabs-content {
| | #footer #footer-info { |
| width: 100%; | | margin-top: 0; |
| height: 100%; | | margin-bottom: 5px; |
| } | | } |
| div.wiki-codepen .tabs-content .mw-highlight {
| | #footer #footer-places { |
| display: table; | | margin-top: 0; |
| height: 100%;
| |
| width: 100%;
| |
| } | | } |
| div.wiki-codepen .tabs-content .mw-highlight pre{
| | #footer #footer-info li { |
| border: none !important; | | display: block; |
| height: 100%; | | font-size: 12px; |
| } | | } |
| div.wiki-codepen .tabs-content, div.wiki-codepen .tabs-content .mw-highlight, div.wiki-codepen .tabs-content .mw-highlight pre {
| | #footer-places li a { |
| margin: 0; | | font-size: 12px; |
| } | | } |
| div.wiki-codepen .wiki-codepen-iframe{
| | #siteSub { |
| margin: 0; | | display: none; |
| } | | } |
| div.wiki-codepen .wiki-codepen-iframe iframe{
| | #p-logo { |
| width: 100%; | | float: none; |
| height: 300px;
| |
| margin-top: 25px;
| |
| border: 1px solid #AAA;
| |
| padding: 0;
| |
| overflow: auto;
| |
| display: block;
| |
| }
| |
| table.wikitable div.mw-highlight pre, table.wikitable div.shc-content pre{
| |
| margin: 0;
| |
| }
| |
| div.wiki-test-content{
| |
| display: block;
| |
| position: absolute; | | position: absolute; |
| top: 10px;
| | right: 0; |
| right: 10px; | | top: 20px; |
| background: red; | |
| border: 1px solid black;
| |
| width: 50px;
| |
| height: 50px;
| |
| color: white;
| |
| text-align: center;
| |
| border-radius: 10px;
| |
| } | | } |
| .wikiLeftRightBoxMain .wiki-hc-background>div, .wikiLeftRightBoxMain .wiki-hc-background>div>div.mw-highlight {
| | #p-logo img { |
| margin: 0 !important;
| | width: 60px; |
| | height: 60px; |
| } | | } |
| div#Consoleoutstyle {
| | #p-logo h1 { |
| margin:0;
| | display: none; |
| padding:0;
| |
| display: grid;
| |
| width: 100%;
| |
| height: 100%;
| |
| } | | } |
| div#Consoleoutstyle * {
| | #p-search { |
| background-color: #000;
| | display: flex; |
| color: #fff;
| | gap: 10px; |
| } | | } |
| blockquote>div.mw-highlight>pre, blockquote>pre {
| | #mw-navigation #p-search h3 { |
| background: #d0ee87 !important;
| | position: relative !important; |
| | width: 30px; |
| | height: 26px; |
| | font-size: 14px; |
| | display: flex; |
| | align-items: center; |
| } | | } |
| blockquote>div.mw-highlight>pre span.nt{
| | #p-search input[type="search"] { |
| color: #247ff0 !important;
| | flex: 1; |
| } | | } |
| blockquote>div.mw-highlight>pre span.p{
| | |
| color: red !important;
| | /***************************************** |
| }
| | * 动画效果 |
| div.shc_out-content div.wiki-shc-out-background>div.mw-highlight>pre, div.shc_out-content div.wiki-shc-out-background>pre {
| | *****************************************/ |
| margin-top: 0 !important;
| | |
| background: #222222 !important;
| | /* template: module_name_version style */ |
| border-top: none !important;
| | @keyframes glowing-button-85 { |
| color: #f6f6f6 !important;
| | 0% { |
| }
| | background-position: 0 0; |
| div.shc_out-content div.shc_out-content_header div.wiki-shc-background>div.mw-highlight>pre, div.shc_out-content div.shc_out-content_header>div>pre {
| | } |
| margin-bottom: 0 !important;
| | |
| border-bottom: none !important;
| | 50% { |
| }
| | background-position: 400% 0; |
| /** | | } |
| * Styling for links generated by [[MediaWiki:Edittools]] | | |
| * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling | | 100% { |
| * @updated 2020-03-17
| | background-position: 0 0; |
| */
| | } |
| .mw-charinsert-buttons {
| |
| border: 1px solid #aaa;
| |
| margin-top: 10px;
| |
| padding: 1px;
| |
| font-size: 1.1em;
| |
| text-align: center;
| |
| }
| |
| .mw-charinsert-buttons a {
| |
| background-color: #cde !important;
| |
| color: #000;
| |
| border: thin #069 outset;
| |
| padding: 0 1px 1px;
| |
| font-weight: bold;
| |
| font-size: .9em;
| |
| text-decoration: none;
| |
| }
| |
| .mw-charinsert-buttons a:hover,
| |
| .mw-charinsert-buttons a:active {
| |
| background-color: #bcd;
| |
| border-style: inset;
| |
| } | |
| .client-js .mw-edittools-section {
| |
| display: inline;
| |
| }
| |
| .client-js .mw-edittools-section input[type="button"] {
| |
| font-size: .9em;
| |
| margin-left: 1px;
| |
| padding-left: 1px;
| |
| padding-right: 1px;
| |
| }
| |
| .wiki-shc-background .mw-highlight pre .nv {
| |
| color: #efe3ab;
| |
| } | |
| .mw-mmv-pre-image .mw-mmv-download-button, .mw-mmv-pre-image .mw-mmv-reuse-button {
| |
| display: none;
| |
| }
| |
| .mw-highlight {
| |
| background: transparent !important;
| |
| }
| |
| .mw-highlight pre, div#Consoleoutstyle pre{
| |
| margin: .5em;
| |
| }
| |
| .wiki-timepoint {
| |
| background: #000000;
| |
| color: white;
| |
| padding: 0px 2px; | |
| }
| |
| /* shc https://kangkk.cn/index.php/%E6%A8%A1%E6%9D%BF:Shc */
| |
| .shc-content {
| |
| display: flex !important;
| |
| }
| |
| .shc-pre {
| |
| border: 1px solid #fff !important;
| |
| font-weight:bold !important;
| |
| user-select: none !important;
| |
| word-break: normal;
| |
| white-space: nowrap !important;
| |
| background: #168d4b !important;
| |
| color: white !important;
| |
| margin: 0 !important;
| |
| border-right: none !important; | |
| } | | } |