MediaWiki:Common.css

出自星梦跨性别维基
跳至導覽 跳至搜尋

注意:在您發布之後,您可能需要清除瀏覽器快取才能看到變更。

  • Firefox或Safari:按住Shift時點擊重新整理,或按Ctrl-F5或Ctrl-R(Mac則為⌘-R)
  • Google Chrome:按Ctrl-Shift-R(Mac則為⌘-Shift-R)
  • Edge:按住Ctrl時點擊重新整理,或按Ctrl-F5。

/* 左侧120x600广告 */
#mw-panel .wiki-sidebar-ad {
    width: 120px;
    margin: 20px auto 0;
    text-align: center;
    clear: both;
}

/* 页脚右侧自适应横幅 */
#footer .wiki-footer-ad {
    float: right;
    width: calc(100% - 360px);
    max-width: 970px;
    min-height: 120px;
    margin: 0 0 15px 20px;
    text-align: center;
    box-sizing: border-box;
}

#footer .wiki-footer-ad .adsbygoogle {
    width: 100%;
}

/* 广告标签 */
.wiki-ad-label {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin-bottom: 8px;
}

/* 清除页脚浮动 */
#footer::after {
    content: "";
    display: block;
    clear: both;
}