←MediaWiki:Mobile.css因为以下原因,您没有权限编辑本页: 您所请求的操作仅限于这些用户组的用户使用:用户、自动确认用户 此页提供此wiki软件的界面文字,并受到保护以防止滥用。如欲修改所有wiki的翻译,请访问translatewiki.net上的MediaWiki本地化项目。 您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。 您必须确认您的电子邮件地址才能编辑页面。请通过系统设置设置并确认您的电子邮件地址。 您可以查看和复制此页面的源代码。 /* 这里放置的CSS将影响使用移动版网站的用户 */ @import url('https://fonts.googleapis.com/css?family=Jura');/*科技感包含希腊字母*/ @import url('https://fonts.googleapis.com/css?family=Google Sans');/*谷歌的字体*/ @import url('https://fonts.googleapis.com/css?family=Montserrat'); @import url('https://fonts.googleapis.com/css?family=Noto Sans SC'); @import url('https://fonts.googleapis.com/css?family=Tajawal');/*阿拉伯字母字体*/ body * { font-family:'Montserrat','Google Sans','Noto Sans SC','Tajawal','PingFang SC',"Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Microsoft YaHei","Heiti SC",sans-serif; }/*全站字体*/ /**************************/ /* 顶部导航栏 */ /**************************/ body > #mw-content-container { margin-top: 0; } #cosmos-banner { background-color: #111032; }/*导航栏背景颜色*/ .cosmos-bannerOption-icon { fill: none; stroke: #41A5EE; }/*图标颜色:无填充,只改描边*/ .cosmos-bannerOption-dropdownIcon { stroke: #39B54A; fill: #39B54A; }/*旁边小箭头颜色*/ .cosmos-bannerOption:hover .cosmos-bannerOption-dropdownIcon { fill: #39B54A; stroke: #39B54A; }/*旁边小箭头颜色hover*/ .cosmos-bannerOption:hover .cosmos-bannerOption-icon { stroke: white !important; }/*图标颜色hover*/ #searchInput { color: #41A5EE !important; border-bottom: 2px solid #41A5EE; }/*搜索框文本和下划线颜色*/ #searchInput:enabled { border-bottom: 2px solid #41A5EE; }/*搜索框下划线颜色*/ input[type="search"]::-webkit-input-placeholder { /* WebKit browsers */ color: #41A5EE !important; } input[type="search"]:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #41A5EE !important; } input[type="search"]::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #41A5EE !important; } input[type="search"]:-ms-input-placeholder { /* Internet Explorer 10+ */ color: #41A5EE !important; }/*搜索框文本颜色*/ #cosmos-search-buttonContainer:hover #cosmos-search-buttonIcon { stroke: white !important; }/*搜索框放大镜hover颜色*/ .cosmos-userButton-label { color: #41A5EE; }/*用户名颜色*/ .cosmos-userOptions-personalTools:hover .cosmos-userButton-label { color: white; }/*用户名颜色hover*/ #cosmos-actionsList-list a:hover { background-color: transparent; } /**************************/ /* 主页面 */ /**************************/ body:before { content: ' '; position: fixed; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; background: url(/w/images/0/0e/BackgroundImage.jpg) center 0 no-repeat; background-size: cover; } body pre { background-color: rgba(17,17,17,0.91); color: white; border: 1px solid #cccccc; overflow: auto; padding: 12px; word-break: break-all; line-height: normal; } #cosmos-actionsList-list { background-color: #292929; border-color: #888888; color: #e6e6e6; border-bottom: none !important; } .cosmos-header { background-color: rgb(50, 50, 50, 0.5); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); height: 80px; } .cosmos-header__sitename a:-webkit-any-link { color: white; font-size: 25pt; }/*VoiceWiki的字体属性*/ .cosmos-header .wds-tabs .wds-tabs__tab-label a { color: white !important; } .cosmos-header .wds-tabs .wds-tabs__tab:hover .wds-tabs__tab-label a { color: white !important; } .cosmos-header::before{ background: 0; } .cosmos-header .cosmos-header__counter { color: white !important; } .cosmos-mobile-menu-button{ color: white !important; font-size: 24pt !important; } /**************************/ .mw-body h1.firstHeading{ border-bottom: none !important; color:white; } body h1 { border-bottom: none !important; color:#27d1f4; } body h2 { border-bottom: none !important; background-image: url(/w/images/b/bd/Underline_yellow.svg); background-repeat: no-repeat; background-position: 25% 105%; background-size: 100% 10px; -webkit-background-size:100% 10px; padding-bottom: 6px; color: #27d1f4; } body h3 { border-bottom: none !important; color:#27d1f4; } .mw-body h4 { color: #27d1f4 ; } .mw-body h5 { color: #27d1f4 ; } /**************************/ #mw-content .toctitle h2 { font-size: 20px; background-image: none !important; font-weight: 900; }/*目录的目录二字*/ .toc { background-color: transparent; border: 1px solid yellow; display: table; margin: 1em 0; max-width: 300px; padding: 10px; border-radius: 10px; }/*目录*/ #mw-content .toggleSymbol, .toctogglelabel { color: #ffef00; }/*目录编辑*/ .tocnumber { color: #27d1f4;} body #mw-content-text { color: white !important; }/*普通文本*/ #mw-content { background-color: rgba(17,17,17,0.91); border: 0 !important; } #mw-content a:not(.new){ color: #ffef00; }/*普通超链接*/ .cosmos-button-primary { color: #000000; background-color: #27d1f4; stroke: #000000; stroke-width: 2px; } .cosmos-button.cosmos-button-secondary { color: white; stroke: white; stroke-width: 2px; } #cosmos-footer { background-color: rgba(17,17,17,0.91);} .cosmos-footerLinks-list { color: white;} .cosmos-footerLinks-list li a { color: #ffef00; } .cosmos-articleContainer{ color: white; } }/*监视列表*/ } .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background-color: darkgray;}/*监视列表*/ table.mw-datatable{ color:white;} .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { background-color: transparent; border-color: #447ff5;} #pagehistory li.selected { color: #27d1f4;} /**************************/ /* SM2的播放按钮 */ /**************************/ a.sm2_button, a.sm2_button.sm2_paused:hover { background-image: none,url(/w/images/a/ad/AudioPlay.svg); background-size: 40px; background-repeat: no-repeat; background-position: center; width: 40px; height: 40px; border-radius: 40px; } /**************************/ /* 编辑界面 */ /**************************/ .mw-editform #wpTextbox1 { background-color: black; color: white; } div.editOptions { padding: 1.25em 1.75em; border: solid white; border-width: 0 1px 0.2em; background: black; color: white; } .editOptions p { color: white; } .editOptions .oo-ui-fieldLayout-body .oo-ui-labelElement-label { color: #27d1f4; } #catlinks{ background-color:black; } /*其他*/ table.mw-enhanced-rc th, table.mw-enhanced-rc td { color: white; }/*监视列表*/ #pagehistory li.selected { background-color: transparent;} .oo-ui-fieldLayout-header { color: white;} .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed { background-color: transparent;} .diff-context { color: white;} html .thumbcaption { color: black;} /***********/ /*datatable*/ /***********/ .mw-datatable td { background-color: black; color: deepskyblue; }/*数据库表格*/ .mw-datatable th { background-color: transparent; }/*数据库表头*/ .mw-datatable tr:hover td { background-color: transparent; }/*文件hover*/ .oo-ui-labelElement { color: rgb(57,181,74) !important; } .oo-ui-labelElement .oo-ui-labelElement-label{ color: dodgerblue;} /* 黑幕模板配合CSS */ /* 把这几行单独拎出来写,否则会被Firefox合并到“.heimu a”这条规则,然后又被上面的“点过外链不变色”规则override */ .heimu, .heimu rt { background-color: #ffef00; } span.heimu a.external, span.heimu a.external:visited, span.heimu a.extiw, span.heimu a.extiw:visited { color: #ffef00; } .heimu, .heimu a, a .heimu, .heimu a.new { color: #ffef00; text-shadow: none; } body:not(.heimu_toggle_on) .heimu:hover, body:not(.heimu_toggle_on) .heimu:active, body:not(.heimu_toggle_on) .heimu.off { transition: color .13s linear; color: black; } body:not(.heimu_toggle_on) .heimu:hover a, body:not(.heimu_toggle_on) a:hover .heimu, body:not(.heimu_toggle_on) .heimu.off a, body:not(.heimu_toggle_on) a:hover .heimu.off { transition: color .13s linear; color: lightblue; } body:not(.heimu_toggle_on) .heimu.off .new, body:not(.heimu_toggle_on) .heimu.off .new:hover, body:not(.heimu_toggle_on) .new:hover .heimu.off, body:not(.heimu_toggle_on) .heimu:hover .new { transition: color .13s linear; color: #FCC; } /* 流彩英雄渐变文本 (Webkit only!) */ .text-chromatic { background-image: -webkit-gradient(linear,left top,right top,color-stop(0,#b116ec),color-stop(0.5,#ff0021),color-stop(1,#fff11e)); background-image: -webkit-linear-gradient(left,#b116ec 0%,#ff0021 50%,#fff11e 100%); background-size: 1000% 1000%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-animation: Text-Chromatic 6s linear infinite; color: #f88f25; /* Fallback color for non-webkit browsers */ white-space: nowrap; } @keyframes Text-Chromatic { 0% {background-position: 0% 50%} 50% {background-position: 100% 50%} 100% {background-position: 0% 50%} }/**/ /**************************/ /* 用户页面 */ /**************************/ .profile-on { color: black; } .profile-tab { font-size: smaller; } .profile-update-title { color: #27d1f4;} .wikitable{ background: dimgray; } .user-board-message-from { background-color: transparent; } .board-blast-message-form h2 { color: #27d1f4;} .blast-nav h2{ color: #27d1f4;} /**************************/ /* 全是关于MsUpload */ /**************************/ #msupload-list .green { background: silver; } #msupload-list .file { background: black; } #msupload-bottom { background-color: slategrey; } } ul#filetoc { text-align: center; border: 0px; background-color: transparent; } .wikitable:not([style*="background-color"]) > * > tr > td { background: content-box; } .mw-warning-with-logexcerpt { background-color: steelblue; border: none;} .wikiEditor-ui-toolbar .tabs span.tab a { color: #41A5EE !important;} /**************************/ /* 播放按钮 */ /**************************/ .audio-player button{ height: 50px; width: 50px; text-align: center; border: 0; border-radius: 50%; transition: 0.3s ease-in-out; outline:0 none; background-image:none,url(/w/images/a/ad/AudioPlay.svg); } .audio-player-playing{ transition: 0.3s ease-in-out; background-image:none,url(/w/images/c/cd/AudioPause.svg) !important; } .audio-player-paused{ transition: 0.3s ease-in-out; background-image:none,url(/w/images/a/ad/AudioPlay.svg) !important; } /**************************/ /* 评论区 */ /**************************/ .comments-body{ background-color: rgb(50, 50, 50, 0.2); backdrop-filter: blur(20px) saturate(150%) brightness(1.5); -webkit-backdrop-filter: blur(20px) saturate(150%) brightness(1.5); border-radius: 8px; } .c-avatar img { border-radius: 50px;} .reply{ width: 90%; margin-left: 10% !important; } .full{ width: 100%; } textarea#comment { padding-left: 2%; width: 95%; } .r-message { width: 90%; } .f-message{ width: 100%; } /**************************/ /* B站 */ /**************************/ .bilibili{ border: 0; padding: 0; width: 100%; height: 35vh; } .bilibili iframe{ border: 0; padding: 0; width: 100%; height: 100%; } .mw-ui-icon-mf-expand:before { background-image: url(/w/images/5/51/Up_Arrow.png); background-image: linear-gradient(transparent,transparent),url(/w/images/5/51/Up_Arrow.png); .cosmos-mobile-navigation .wds-tabs { background-color: rgba(10,70,180,0.6) !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; } .cosmos-mobile-navigation .wds-dropdown__content .wds-list.wds-is-linked > li > a:not(.wds-button) { color: white !important; } .cosmos-mobile-navigation .wds-tabs__tab-label span { color: white !important; } .cosmos-mobile-navigation .wds-dropdown__content .wds-list.wds-is-linked > li > a:not(.wds-button) { color: rgb(220, 220, 220) !important; } 返回至MediaWiki:Mobile.css。