用户:850710247liu/common.css
< 用户:850710247liu
850710247liu(讨论 | 贡献)2021年3月10日 (三) 09:41的版本
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- 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),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* 侧边栏、顶部栏、页脚 */ .mw-body { border-left: 1px solid #bbb; border-bottom: 1px solid #bbb; border-top: none; border-right: none; } #p-personal { font-size: 17.5px; right: 1em; } div.vectorTabs { font-size: 16px; padding-top: 2px; } div.vectorMenu { font-size: 92%; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-wikilove.icon a { padding-top: 3.4em; } #content { margin-left: 214px !important; } .portal { background: transparent !important; } #mw-panel { border-right: 1px solid #bbb; width: 200px !important; background: rgb(254,254,254,0.99) !important; padding-left: 14px !important; } #p-logo { left: 0px; padding-left: 10px; } #p-logo a { padding-left: 40px; left: 0px; border-right: 1px solid #aaa; } #p-logo a:hover { opacity: 1.0; } #mw-head { background-color: rgb(254,254,254,0.98); opacity: 1.0; box-shadow: 0px 1px 2px #aaa; -webkit-transition-property: opacity !important; -moz-transition-property: opacity !important; -o-transition-property: opacity !important; -ms-transition-property: opacity !important; transition-property: opacity !important; -webkit-transition-duration: 0.5s !important; -moz-transition-duration: 0.5s !important; -o-transition-duration: 0.5s !important; -ms-transition-duration: 0.5s !important; transition-duration: 0.25s !important; } #mw-head:hover { opacity: 1.0 !important; } .uls-settings-trigger { display: none !important; } #left-navigation { margin-left: 233px !important; } #mw-page-base { height: 104px; } #left-navigation, #right-navigation { margin-top: 60px; } #mw-head div.vectorMenu h4 { height: 1.9em; margin-bottom: 0; padding-top: 1.25em; padding-bottom: 0; padding-right: 0.5em; } #mw-panel div.portal { padding-bottom: 0.7em; padding-top: 0.4em; } #mw-panel #p-logo .mw-wiki-logo { width: 175px; } #mw-panel { font-size: 18.5px; /* mw-panel的宽度是10em,改了font-size以后也需要修改一下 */ width: 11.6rem; } ul,li { background: transparent !important; } #mw-panel,#mw-head { line-height: 1.7 !important; font-weight: 300 !important; } #mw-panel .portal .body li { line-height: 1.6em; } .mw-wiki-logo{ padding-left: 5px !important; padding-top: 10px !important; border: none !important; } .clear-div { clear: both; } .uls-trigger{ display: none; } div.vectorMenu div.menu { top: 2.75em; width: 100%; background-color: rgba(251,251,251,0.9); border: 1px solid #a7d7f9; border-top: transparent; } #mw-panel .portal .body li a:visited { color: #0648AF; } #catlinks { background-color: rgba(251,251,251,0.3); } .oo-ui-popupWidget-anchored-top { z-index: 10000; } #mp-banner { margin: -1.7em; margin-top: -4.1em; background-image: url(https://www.hmoegirl.com/images/0/09/80468767.jpg); } #footer { margin-left: 12.4em; padding: 1.25em; } /* 隐藏编辑页面中的返回顶部按钮 */ .page-Mainpage .backToTop, .action-edit .backToTop, .action-submit .backToTop { display: none !important; } /* 全站字型调整 */ body { font-size: 108%; -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; } .mw-body-content { line-height: 1.85; } body .ui-dialog .ui-widget-header { background: #f1f1f1 !important; } body .ui-button { box-shadow: 0 0 0 0 !important; } ::selection { background: rgba(0,0,0,.1); text-shadow: none; } #firstHeading { font-family: sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-weight: 500; padding-bottom: 6px; font-size: 170%; } h2, h3, h4, h5, h6 { font-family: "roboto",sans-serif !important; color: #404040 !important; line-height: 1.8 !important; border-bottom-color: rgba(0, 0, 0, .1) !important; } .mw-body-content h2 { font-weight: 540; } /* 链接显示效果 */ a:hover { text-decoration: none; color: #2a4b8d!important; } a, a:visited { text-decoration: none; color: #3366cc; } .mw-body a.external:visited { color: #3366cc; } /* 斜体字右边距加大看以防止文字挤在一起 */ #mw-content-text i { margin-right: 3px; } /* 隐藏首页标题、空行、分类、讨论、查看源代码tab */ .page-Mainpage h1.firstHeading, .page-Mainpage #siteSub, .page-Mainpage #contentSub, .page-Mainpage #ca-viewsource, .page-Mainpage #siteNotice, .page-Mainpage #ca-talk, .page-Mainpage #catlinks, .page-Mainpage #footer #footer-info { display: none; } /* 弹出框和滚轮条外观 */ .ve-init-mw-desktopArticleTarget-toolbar-open > .oo-ui-toolbar-bar { top: -1px; border-top: 1px solid #c8ccd1; } ::-webkit-scrollbar { border: 0; width: 10px; height: 10px; } ::-webkit-scrollbar-button { width: 0; height: 0; } ::-webkit-scrollbar-thumb { border: 0; min-height: 34px; padding-top: 100; background-clip: padding-box; background-color: rgba(0,0,0,.15); } ::-webkit-scrollbar-track { border: 0; background-clip: padding-box; background-color: rgba(206,205,197,.1); } /* wikitable MD化 */ table.wikitable { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); border-radius: 4px; overflow: hidden; } /* 编辑区样式 */ #wpTextbox1.mw-editfont-monospace{ font-size: 93%; height: 450px; } #msupload-container.start-loading{ display:none; } .ve-ui-mwSaveDialog-summaryLabel { display: none; }