LLWiki正在建设中,欢迎加入我们!
MediaWiki:Common.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),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* 这里放置的CSS将应用于所有皮肤 */ /* 全局css */ /* 改变背景颜色 */ #content { background-color:rgba(247,251,255,0.8); } /* 以下修改用于适应背景图片 */ #mw-page-base { background-color:transparent; background-image:none; } #simpleSearch #searchInput { background-color:white; } #p-personal, #p-variants, #p-cactions { background-image:linear-gradient(to top,#77c1f6 0,#e8f2f8 1px,#ffffff 100%); } #p-personal ul { padding: 0 0.5em; } body, #p-navigation, #p-tb, #footer { background-color:rgba(255,255,255,.7); } /* 解决代码的overflow */ pre { word-wrap:break-word; } /* 首页 */ .page-LLWiki_首页 #firstHeading { display:none; } .mainpage-flex { display:inline-block; width:32%; background-color:#FFE5F455; padding:18px; border-radius:5px; box-sizing:border-box; } .mainpage-flex-title { font-size:large; font-weight:bold; color:#C2006B; text-align:center; margin-bottom:10px; } .mainpage-flex td { vertical-align:top; min-width:30px; } .mainpage-project { display:inline-block; width:49%; margin-bottom:40px; } .mainpage-project-title { font-weight:bold; font-size:20px; padding:5px 5px 5px 20px; border-left:30px solid; border-radius:5px; } .mainpage-project-text { padding:10px 8%; } /* gadget-code-prettify */ ol.linenums { margin-left:3.7em; } /* 用于模板的css类 */ /* 信息框模板 */ .infoboxtemplate { float:right; width:280px; border-radius:5px; padding:3px; font-size:small; text-align:center; background-color:#F3F5F7; border:1px solid #D4DBE2; margin-left:20px; box-sizing:border-box; } .infoboxtemplate > tbody > tr:first-child { font-size:15px; } .infoboxtemplate th:only-child { padding:3px; color:white; border-radius:5px; } /* 提示信息,如消歧义等 */ .notice { text-align: justify; margin: 1em; padding: 0.2em; font-size:small; } /* 用戶框 */ .userbox { float:left; border-collapse:collapse; border-spacing:0; } .userbox tr { height:72px; } .userbox th:nth-of-type(2) { width:148px; } /* 提示信息 */ .infobox { margin:0 auto; clear:both; }