LLWiki正在建设中,欢迎加入我们!
MediaWiki:Gadget-site-styles.css
跳转到导航
跳转到搜索
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/*<nowiki>*/ /* 这里是桌面版和手机版共用的样式,另外用于模板的样式参见[[mediawiki:gadget-templates-styles.css]] */ /* 1. 默认元素 */ .mw-parser-output > p:first-child:empty, .mw-parser-output > p:last-child:empty { display: none; } pre, textarea, .diff { -moz-tab-size: 4; tab-size: 4; } rt { font-size: 0.8em; } /* 英文字体优先 */ #mw-content-text, #catlinks { font-family: Helvetica, Arial, sans-serif; } /* 插入音频 */ audio { width: 270px; height: 24px; } .gallery audio { width: auto; /* Safari */ min-width: 100%; /* Chrome和Edge */ max-width: 100%; /* Firefox */ } #mw-category-media audio, .page-Special_新建文件 audio { transform: translateY(-50%); } #mw-category-media .thumb, .page-Special_新建文件 .thumb { height: 150px; } /* 特殊頁面的重新導向 */ .mw-changeslist-title.mw-redirect, .mw-contributions-title.mw-redirect, .mw-newpages-pagename.mw-redirect { font-style: italic; } /* 2. 自定义元素 */ /* 编辑请求 */ .editRequest > a { vertical-align: text-bottom; } /* 含大量文字的表格 */ .content-table { width: 100%; font-size: small; } /* pt表 */ .point-table { text-align:center; } .point-table tr:nth-child(odd) td:nth-child(odd), .point-table tr:nth-child(even) td:nth-child(even) { background-color:#fbfdff; } .point-table tr:nth-child(odd) td:nth-child(even), .point-table tr:nth-child(even) td:nth-child(odd) { background-color:#f2f4f6; } .point-table tr:first-child td:only-child { background-color:#77D2AF; color:white; } .point-table.wikitable tr th { background-color:#E8F8F2; } /* 活动列表 */ .event-list { text-align: center; font-size: small; } .skin-minerva .event-list th:nth-last-child(-n+2) { width: auto !important; } .skin-minerva .event-list td:nth-last-child(-n+2) { text-align: left; } .skin-minerva .event-list td:nth-last-child(-n+2) img, .skin-minerva .event-list td:nth-last-child(-n+2) .lazy-image-placeholder { width: 32px !important; height: 32px !important; } /* 模板代码,这与CodeMirror小工具无关 */ code.wiki-highlight { display: block; white-space: pre-wrap; } /* 大图 */ .big-img { max-width: 100%; height: auto; } /* 3. 模块、扩展和小工具 */ /* 時間 */ .countdown-num { display: inline-block; width: 2.1ch; text-align: right; text-decoration: inherit; } /* popup的默认样式 */ .mw-tipsy .oo-ui-popupWidget-body-padded { margin: 1px 3px; font-size: small; text-align: center; } /* 下拉菜单的默认样式 */ .site-menu { width: auto; } .site-menu > .oo-ui-menuOptionWidget { padding: 5px 10px; } .site-menu .fa { width: 25px; } /* 禁止使用InPageEdit快速重定向 */ .in-page-edit.quick-redirect .okBtn, .in-page-edit.quick-rename #ssi-rightButtons { display: none; } /*</nowiki>*/