“User:Bhsd/common.css”的版本间差异
小 |
小 |
||
(未显示同一用户的132个中间版本) | |||
第1行: | 第1行: | ||
/* 数字等宽 */ |
|||
.Wikiplus-InterBox { |
|||
#mw-content-text { |
|||
border:1px #a7d7f9 solid !important; |
|||
font-family: Tahoma, Verdana, sans-serif; |
|||
right:0.5em; |
|||
width:1000px !important; |
|||
padding:10px !important; |
|||
} |
} |
||
/* Menlo的下划线太细 */ |
|||
#wpTextbox1, #Wikiplus-Quickedit, .CodeMirror, code, pre, .template-code, .template-pre { |
|||
.Wikiplus-InterBox-Header, |
|||
font-family: Monaco, Menlo, Courier, monospace; |
|||
#Wikiplus-Quickedit-Jump, |
|||
#Wikiplus-Quickedit-Summary-Input + br, |
|||
.Wikiplus-InterBox-Close, |
|||
#t-log, #t-print, #t-whatlinkshere, #t-recentchangeslinked { |
|||
display:none !important; |
|||
} |
} |
||
/* Monaco的删除线太细 */ |
|||
.cm-mw-tag-s, .cm-mw-tag-strike, .cm-mw-tag-del { |
|||
#Wikiplus-Quickedit { |
|||
font-family: Menlo, Courier, monospace; |
|||
min-height:unset !important; |
|||
height:420px; |
|||
} |
} |
||
.mw-redirect { |
|||
font-style: italic; |
|||
/* https://github.com/google/code-prettify/blob/master/src/prettify.css */ |
|||
/** |
|||
* @license |
|||
* Copyright (C) 2015 Google Inc. |
|||
* |
|||
* 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 |
|||
* |
|||
* Unless required by applicable law or agreed to in writing, software |
|||
* distributed under the License is distributed on an "AS IS" BASIS, |
|||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|||
* See the License for the specific language governing permissions and |
|||
* limitations under the License. |
|||
*/ |
|||
.pln { |
|||
color: #000; |
|||
} |
} |
||
.mw-parser-output a[href*='#']:not([class]) { |
|||
color: #007a5e; |
|||
@media screen { |
|||
.str { |
|||
color: #080; |
|||
} |
|||
.kwd { |
|||
color: #008; |
|||
} |
|||
.com { |
|||
color: #800; |
|||
} |
|||
.typ { |
|||
color: #606; |
|||
} |
|||
.lit { |
|||
color: #066; |
|||
} |
|||
.pun, |
|||
.opn, |
|||
.clo { |
|||
color: #660; |
|||
} |
|||
.tag { |
|||
color: #008; |
|||
} |
|||
.atn { |
|||
color: #606; |
|||
} |
|||
.atv { |
|||
color: #080; |
|||
} |
|||
.dec, |
|||
.var { |
|||
color: #606; |
|||
} |
|||
.fun { |
|||
color: red; |
|||
} |
|||
} |
} |
||
/* eruda */ |
|||
@media print, |
|||
#eruda-loader { |
|||
projection { |
|||
position: fixed; |
|||
.str { |
|||
left: 0.76923077rem; |
|||
color: #060; |
|||
bottom: 3rem; |
|||
} |
|||
width: 40px; |
|||
.kwd { |
|||
height: 40px; |
|||
color: #006; |
|||
box-sizing: border-box; |
|||
font-weight: bold; |
|||
border-radius: 10px; |
|||
} |
|||
padding: 7.5px; |
|||
.com { |
|||
background: #000; |
|||
color: #600; |
|||
opacity: 0.3; |
|||
font-style: italic; |
|||
z-index: 1; |
|||
} |
|||
.typ { |
|||
color: #404; |
|||
font-weight: bold; |
|||
} |
|||
.lit { |
|||
color: #044; |
|||
} |
|||
.pun, |
|||
.opn, |
|||
.clo { |
|||
color: #440; |
|||
} |
|||
.tag { |
|||
color: #006; |
|||
font-weight: bold; |
|||
} |
|||
.atn { |
|||
color: #404; |
|||
} |
|||
.atv { |
|||
color: #060; |
|||
} |
|||
} |
} |
||
#eruda-loader > div { |
|||
border: 2.5px solid #fff; |
|||
pre.prettyprint { |
|||
border-radius: 50%; |
|||
padding: 2px; |
|||
padding: 4px; |
|||
border: 1px solid #888; |
|||
font-size: 12px; |
|||
color: #fff; |
|||
} |
} |
||
/* 特定页面 */ |
|||
ol.linenums { |
|||
.queried-id { |
|||
margin-top: 0; |
|||
margin-right: 1ch; |
|||
background-color: #fff8dc; |
|||
} |
|||
.comment--without-parentheses { |
|||
word-break: break-all; |
|||
} |
|||
.noredirect > .allpagesredirect, |
|||
.jsTable th:last-child, .jsTable td:last-child, |
|||
.mw-editTools > :not(div) { |
|||
display: none; |
|||
} |
|||
.jsTable2 td:last-child { |
|||
text-align: right; |
|||
} |
|||
#myJsSize { |
|||
color: #0645ad; |
|||
cursor: pointer; |
|||
} |
|||
.myTable { |
|||
text-align: center; |
|||
} |
|||
.myTable td[data-sort-value="1"] { |
|||
background-color: #cfc; |
|||
} |
|||
.myTable td[data-sort-value="-1"] { |
|||
background-color: #fcc; |
|||
} |
} |
||
/* Wikiplus替换 */ |
|||
li.L1, |
|||
.quickEdit-replace { |
|||
li.L3, |
|||
position: fixed; |
|||
li.L5, |
|||
top: calc(50% - 55px); |
|||
li.L7, |
|||
left: calc(50% - 155px); |
|||
li.L9 { |
|||
border: 1px #ccc solid; |
|||
background: #eee; |
|||
box-shadow: 0 0 3px #ccc; |
|||
padding: 10px 20px; |
|||
z-index: 10000; |
|||
background-color: #fff; |
|||
text-align: center; |
|||
} |
|||
.quickEdit-replace label { |
|||
display: block; |
|||
margin-bottom: 5px; |
|||
white-space: nowrap; |
|||
} |
|||
.quickEdit-replace input[type="text"], .quickEdit-replace textarea { |
|||
width: 220px; |
|||
height: 22px; |
|||
text-indent: 5px; |
|||
border: 1px #ababab solid; |
|||
display: inline; |
|||
box-sizing: border-box; |
|||
vertical-align: middle; |
|||
font-size: 100%; |
|||
font-family: sans-serif; |
|||
} |
|||
#quickEdit-replace-regex { |
|||
display: inline; |
|||
} |
} |
||
.quickEdit-replace button, #quickEdit-replace-regex { |
|||
pre, .mw-code { |
|||
margin: 0 5px; |
|||
word-break: break-all; |
|||
cursor: pointer; |
|||
} |
} |
2022年1月25日 (二) 13:50的最新版本
/* 数字等宽 */ #mw-content-text { font-family: Tahoma, Verdana, sans-serif; } /* Menlo的下划线太细 */ #wpTextbox1, #Wikiplus-Quickedit, .CodeMirror, code, pre, .template-code, .template-pre { font-family: Monaco, Menlo, Courier, monospace; } /* Monaco的删除线太细 */ .cm-mw-tag-s, .cm-mw-tag-strike, .cm-mw-tag-del { font-family: Menlo, Courier, monospace; } .mw-redirect { font-style: italic; } .mw-parser-output a[href*='#']:not([class]) { color: #007a5e; } /* eruda */ #eruda-loader { position: fixed; left: 0.76923077rem; bottom: 3rem; width: 40px; height: 40px; box-sizing: border-box; border-radius: 10px; padding: 7.5px; background: #000; opacity: 0.3; z-index: 1; } #eruda-loader > div { border: 2.5px solid #fff; border-radius: 50%; padding: 4px; font-size: 12px; color: #fff; } /* 特定页面 */ .queried-id { margin-right: 1ch; background-color: #fff8dc; } .comment--without-parentheses { word-break: break-all; } .noredirect > .allpagesredirect, .jsTable th:last-child, .jsTable td:last-child, .mw-editTools > :not(div) { display: none; } .jsTable2 td:last-child { text-align: right; } #myJsSize { color: #0645ad; cursor: pointer; } .myTable { text-align: center; } .myTable td[data-sort-value="1"] { background-color: #cfc; } .myTable td[data-sort-value="-1"] { background-color: #fcc; } /* Wikiplus替换 */ .quickEdit-replace { position: fixed; top: calc(50% - 55px); left: calc(50% - 155px); border: 1px #ccc solid; box-shadow: 0 0 3px #ccc; padding: 10px 20px; z-index: 10000; background-color: #fff; text-align: center; } .quickEdit-replace label { display: block; margin-bottom: 5px; white-space: nowrap; } .quickEdit-replace input[type="text"], .quickEdit-replace textarea { width: 220px; height: 22px; text-indent: 5px; border: 1px #ababab solid; display: inline; box-sizing: border-box; vertical-align: middle; font-size: 100%; font-family: sans-serif; } #quickEdit-replace-regex { display: inline; } .quickEdit-replace button, #quickEdit-replace-regex { margin: 0 5px; cursor: pointer; }