用户:自由李代数/common.css

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
pre, .pre-like {
font-family: monospace;
}

h1 {
color: green; 
}

h2 {
color: #222299;
}

h3 {
color: purple;
}

h4 {
color: red;
}

h5, h6{
color: orange;
}

a {
text-decoration: underline;
}

#bodyContent {
padding-up: 5em;
}

/* 手机版左侧边栏添加的按钮 */
.mbwh-mb-pl-btn {
text-align: left;
font-size: 1.3em;
background-color: white;
list-style-type: none;
}



/* 手动将MediaWiki:Mobile.css搬过来并使用旧语法以适用于我的旧浏览器 */

/* 这里放置的CSS将影响使用移动版网站的用户 */

/* 测试编辑 */

/* 背景 */
body{
    background:#ebd3a1;
/*     background-attachment:fixed;
    background-size: cover; */
    border-top:none;
    font-family: #fbf2dc;
}
#mw-mf-page-center,
footer .last-modified-bar
{background-color:transparent;}

/* 顶部栏 */
.header-container{
    position:fixed;
    width:100%;
    top:0;left:0;
    z-index:999;
    background-color: #6bbb45 !important;
    background-image: none;
    background-size: contain;
    box-shadow: 0 0 0.3em #59a734;
}
.animations .search-overlay.visible{z-index:1999;}

/* 书页背景-弃用 */
#content{
    margin-top:calc(52px + 0.6em);
    background-color: #fbf2dc;
    box-shadow: 0 0 0.5em #0009;
/*     padding:0 45px 0 55px; 
    overflow:visible;
    position:relative;
    background: 
        url(https://www.mcbbs.net/template/mcbbs/image/bg_border_left.png) left top repeat-y,
        url(https://www.mcbbs.net/template/mcbbs/image/bg_border_right.png) right top repeat-y;*/
} 

/* 搜索页 */ 
.search-overlay {
    background: #fbf2dc !important;
}
ul.page-list>li {
    background: #FDF6E6;
    border-bottom: 2px solid #CFB78E;
}
ul.mw-search-results>li {
    margin-bottom: 0;
    padding: 0.4em 0 0.5em 0.4em;
    background: #FDF6E6;
    border-bottom: 1px solid #CFB78E;
}

/* 侧边栏 */
body.primary-navigation-enabled, nav#mw-mf-page-left{ /* 呼出侧边栏的时候 */
    background:#ebd3a1;
}
nav>div>ul>li{
    background-color: #FDF6E6;
    border-top: 1px solid #CFB78E;
}
body.primary-navigation-enabled #content{
    box-shadow: none;
}

/* 编辑页 */
.editor-overlay{
    background-color: #FDF6E6 !important;
}
.editor-overlay>div{
    background-color: #FDF6E6 !important;
    margin-top: 52px;
}
.editor-overlay .header-container {
    box-shadow: 0 0 0.3em #0009; /*阴影颜色*/
}
.overlay-content{
    background-color: #FDF6E6;
}

/* 页脚 */
footer{
    border-top: 0 !important; /*一条不太起眼的线*/
    margin-top: 1em;
    background-color: #fbf2dc;
    box-shadow: 0 0 0.5em #0009;
}

/* 黑幕 */
.heimu,.blackcurtain{/*黑幕*/
    transition: all .3s;
    background: #000;
    color: #000;
}
.heimu:hover,.blackcurtain:active{ /*黑幕,长按后文字背景透明*/
    background: transparent;
}

/* 框框 */
pre {
    background-color:#FDF6E6;
    padding: 0.75em;
}
.pre-like {
    border: 1px solid #CFB78E!important;
    background-color: #FDF6E6;
    padding: 0.75em;
}