MediaWiki:Common.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/* 这里放置的CSS将应用于所有皮肤 */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic);
blockquote{
font-size: 1em;
width:90%;
margin:20px auto;
color: #555555;
padding:1.2em 30px 1.2em 45px;
border-left:8px solid #05b9d1;
line-height:1.6;
background:#EDEDED;
}
blockquote::before{
font-family:Arial;
color:#95CCE7;
font-size:4em;
position: absolute;
left: 10px;
top:-10px;
}
blockquote::after{
content: '';
}
blockquote span{
display:block;
color:#333333;
font-style: normal;
font-weight: bold;
margin-top:1em;
}
.mw-body-content h2 {
font-size: 155%;
}
.mw-body-content h3 {
font-size: 145%;
}
.mw-body-content h4 {
font-size: 125%;
}
.mw-body-content h5 {
font-size: 105%;
}
/**** 首页css 开始 1-4-2021 (Paul Xu)****/
.mainpage_row {
display: flex;
flex-direction: row;
flex-flow: row wrap;
justify-content: space-between;
padding: 0;
margin: 0 -5px 0 -5px;
}
.mainpage_box {
flex: 1;
margin: 5px;
min-width: 210px;
border: 1px solid #CCC;
padding: 0 10px 10px 10px;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.mainpage_box .items {
border-top: 1px solid #CCC;
padding-top: 0.5em;
}
/**** 首页css 结束 1-4-2021 (Paul Xu)****/
/**** Float TOC 1-5-2021 (Paul Xu)****/
#toc {
float:right;
margin:0 0 1em 1em;
position: sticky;
top:50px;
right:10px;
font-size:80%;
}
/**** Smaller footnotes 1-5-2021 (Paul Xu)****/
/**** Footnote color is grey if italic 1-7-2021 (Paul Xu)****/
.mw-references-wrap {
font-weight: bold;
font-size: 12px;
}
.mw-references-wrap i {
color: grey;
font-weight: normal;
}
/*** hide the help text and icon on category page top right corner 8-31-2021 (Paul Xu) ***/
div#mw-indicator-mw-helplink {
display: none;
}
/*** fix the issue where log is blurry on mac, 8-8-2022 ***/
.mw-wiki-logo {
background-size: 135px;
}
/*** fix the quote left border color after upgrading to 1.39.1, 2-3-2023 ***/
.vector-body blockquote {
border-left:8px solid #05b9d1;
padding: 8px 32px;
}
.mw-content-container {
max-width: 100%;
}