跳转到内容

MediaWiki:Mobile.css

来自東莞道路研究社
星野昴留言 | 贡献2024年1月31日 (三) 18:05的版本

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/* 这里放置的CSS将应用于移动版网站 */

/* 信息框的代碼? */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 300px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-title p {
    margin-top: 2px;
    margin-bottom: 2px;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}



/* 黑幕的代碼? */
.heimu, .heimu a, a .heimu, .heimu a.new {
     background-color: #252525;
     color: #252525;
     text-shadow: none;
}
.heimu:hover, .heimu:active,
.heimu:hover .heimu, .heimu:active .heimu {
    color: white !important;
 }
.heimu:hover a, a:hover .heimu,
.heimu:active a, a:active .heimu {
    color: lightblue !important;
}
.heimu:hover .new, .heimu .new:hover, .new:hover .heimu,
.heimu:active .new, .heimu .new:active, .new:active .heimu {
    color: #BA0000 !important;
}



@media screen and (max-width: 900px) {
    .fongjing {
        display: none;
    }
     
    .topic {
        display: none;
    }


    .index-phone {
        display: flex;
    }

}