|
|
| 第1行: |
第1行: |
| /* 此处的CSS将影响使用Vector皮肤的用户 */ | | /** |
| | * Note: [[MediaWiki:Common.css]] [[MediaWiki:Vector.css]] is loaded in addition to these styles |
| | * Please use [[Extension:TemplateStyles]] where possible. |
| | */ |
|
| |
|
| /* T310533 */ | | /* T281974#8869238 */ |
| .mw-first-heading {
| | #mw-indicator-coordinates #coordinates { |
| border-bottom-color: #a2a9b1 !important; | | right: auto; |
| | position: relative; |
| | top: auto; |
| | line-height: 2; |
| | float: none; |
| | font-size: 92%; |
| } | | } |
|
| |
|
| .action-view.page-Wikipedia_首页 #contentSub, .action-view.page-Wikipedia_首页 #siteSub, .action-view.page-Wikipedia_首页 .firstHeading, .page-Wikipedia_首页 #deleteconfirm, .page-Wikipedia_首页 #footer-info-lastmod, .page-Wikipedia_首页 #t-cite { | | .mw-indicators .mw-indicators { |
| display: none !important; | | display: flex; |
| | column-gap: 10px; |
| } | | } |
|
| |
|
| .page-Wikipedia_首页 #jump-to-nav { | | /* |
| margin: 0 !important; | | 修复vector 2022下首页问题 |
| | */ |
| | .skin-vector-2022 #mp-2012-banner { |
| | margin: auto !important; |
| } | | } |
| | | @media screen and (min-width: 982px) { |
| /* {{tl|Link FA}} */
| | .skin-vector-2022 #mp-2012-banner { |
| #mw-panel div.portal div.body ul li.FA { | | margin: auto !important; |
| margin-left: -10px;
| | } |
| padding-left: 10px; | |
| background: url("//upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png") no-repeat 0% 0%;
| |
| } | | } |
|
| |
|
| /* {{tl|Link GA}} */
| | @media screen { |
| #mw-panel div.portal div.body ul li.GA {
| | html.skin-theme-clientpref-night .navbox a:not(.new):not(.mw-selflink):link, |
| margin-left: -10px;
| | html.skin-theme-clientpref-night .infobox a:not(.new):not(.mw-selflink):link { |
| padding-left: 10px;
| | color: var( --color-progressive ) !important; |
| background: url("//upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png") no-repeat 0% 0%; | | } |
| } | |
|
| |
|
| .badge-goodarticle { | | /* T370074 */ |
| list-style-image: url("//upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png");
| | html.skin-theme-clientpref-night .mw-parser-output > figure img { |
| | background: var( --background-color-disabled-fixed, #C8CCD1 ); |
| | } |
| } | | } |
|
| |
|
| .badge-featuredarticle, .badge-featuredlist {
| |
| list-style-image: url("//upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png");
| |
| }
| |
|
| |
|
| #siteNotice div.expanded table.siteNoticeUser {
| | @media screen and (prefers-color-scheme: dark) { |
| margin-bottom: 1em; | | html.skin-theme-clientpref-os .navbox a:not(.new):not(.mw-selflink):link, |
| | html.skin-theme-clientpref-os .infobox a:not(.new):not(.mw-selflink):link { |
| | color: var( --color-progressive ) !important; |
| | } |
| | /* T370074 */ |
| | html.skin-theme-clientpref-os .mw-parser-output > figure img { |
| | background: var( --background-color-disabled-fixed, #C8CCD1 ); |
| | } |
| } | | } |
| /* end of bugfixes */
| |
|
| |
| /* Position coordinates */
| |
|
| |
|
| body.skin-vector-legacy #coordinates {
| | /* T314254 */ |
| position: absolute; | | .toc { |
| top: 0;
| | display: table; |
| right: 0;
| | padding: 7px; |
| line-height: 1.6;
| |
| text-align: right;
| |
| font-size: 92%;
| |
| white-space: nowrap;
| |
| float: right;
| |
| margin: 0;
| |
| padding: 0; | |
| text-indent: 0;
| |
| text-transform: none;
| |
| } | | } |
|
| |
|
| /* correct position for VE */
| | .toccolours, |
| body.skin-vector-legacy .ve-ce-surface #coordinates {
| | .toc { |
| margin-right: 2em; | | background-color: var(--background-color-neutral-subtle, #f8f9fa); |
| margin-top: -1em; | | border: 1px solid var(--border-color-base, #a2a9b1); |
| | padding: 5px; |
| | font-size: 95%; |
| } | | } |
|
| |
|
| | | table.toc { |
| /* For the new main page design */
| | border-collapse: collapse; |
| #mp-2012-banner {
| |
| /* In default font size, #bodyContent has font-size: 0.8em. */
| |
| /* See also: [[bugzilla:57401]] */
| |
| margin: 0 -1.25em;
| |
| margin: 0 -1rem !important;
| |
| }
| |
| body.vector-animateLayout #mp-2012-banner {
| |
| -webkit-transition: margin-left 250ms, margin-right 250ms;
| |
| -moz-transition: margin-left 250ms, margin-right 250ms;
| |
| -o-transition: margin-left 250ms, margin-right 250ms;
| |
| transition: margin-left 250ms, margin-right 250ms;
| |
| }
| |
| @media screen and (min-width: 982px) {
| |
| #mp-2012-banner {
| |
| margin: 0 -1.875em;
| |
| margin: 0 -1.5rem !important;
| |
| }
| |
| } | | } |
|
| |
|
| .selected-anniversary dl { | | table.toc td { |
| list-style-type: disc;
| | padding: 0; |
| list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAANAQMAAABb8jbLAAAABlBMVEX///8AUow5QSOjAAAAAXRSTlMAQObYZgAAABNJREFUCB1jYEABBQw/wLCAgQEAGpIDyT0IVcsAAAAASUVORK5CYII=");
| |
| }
| |
| | |
| /* [[Special:Diff/19476960/65547206]] */
| |
| .oo-ui-textInputWidget input {
| |
| height: revert;
| |
| } | | } |
|
| |
|
| .hlist dl { | | /* Don't display some stuff on the main page */ |
| line-height: 1.5em;
| | .action-view.page-Main_Page #siteSub{ |
| | display: none !important; |
| } | | } |