LLWiki正在建设中,欢迎加入我们

MediaWiki:Common.css

来自LLWiki
Bhsd讨论 | 贡献2020年8月14日 (五) 11:10的版本 (// 使用Wikiplus小工具快速编辑)
跳转到导航 跳转到搜索

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件
/* 这里放置的CSS将应用于所有皮肤 */

/* 全局css */
.mw-content-text h2, .toclevel-1 .toctext {
	font-weight:bold;
}
/* 改变背景颜色 */
#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;
}
/* 首页 */
.mainpage-flex {
	display:inline-block;
	width:32%;
}
.mainpage-project {
	display:inline-block;
	width:49%;
	margin-bottom:40px;
}

/* 用于模板的css类 */
/* 提示信息 */
.infobox {
	margin:0 auto;
}