「MediaWiki:Common.css」の版間の差分

提供: WAA Archive
ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
 
(同じ利用者による、間の4版が非表示)
231行目: 231行目:
/* スマホ上部の空白除去 */
/* スマホ上部の空白除去 */
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
    #mw-head, #mw-panel {
        display: none;
    }
     #content {
     #content {
         margin-top: 0;
         margin-top: 0;
240行目: 237行目:
     #mw-page-base, #mw-head-base {
     #mw-page-base, #mw-head-base {
         height: 0;
         height: 0;
        min-height: 0;
     }
     }
}
/* フッター非表示 */
#footer {
    display: none;
}
/* サイドバー非表示 */
#mw-panel {
    display: none;
}
#content {
    margin-left: 0;
}
}

2026年4月8日 (水) 00:36時点における最新版

/* === NULL_2126 WAA Archive Theme === */

body {
    background: #0d0d1a !important;
    color: #e0e0e0 !important;
}

#content, .mw-body {
    background: #0d0d1a !important;
    color: #e0e0e0 !important;
    border: none !important;
}

h1, h2, h3, h4, h5, h6,
.mw-headline {
    color: #aac4ff !important;
    border-bottom-color: #1e1e2e !important;
}

#firstHeading, .mw-first-heading {
    color: #fff !important;
}

.wikitable {
    background: #0f0f1a !important;
    color: #c0c0c0 !important;
    border-color: #1e1e2e !important;
}

.wikitable th {
    background: #1a1a2e !important;
    color: #aac4ff !important;
    border-color: #2a2a3e !important;
}

.wikitable td {
    border-color: #1e1e2e !important;
    background: #0f0f1a !important;
}

a, a:visited {
    color: #4466cc !important;
}

a:hover {
    color: #88aaff !important;
}

a.new, a.new:visited {
    color: #cc3333 !important;
}

#mw-panel, .mw-sidebar, #mw-navigation,
.vector-header, .vector-column-start {
    background: #0a0a14 !important;
}

#mw-panel .portal h3,
.vector-menu-heading {
    color: #555 !important;
}

#footer, .mw-footer {
    background: #0a0a14 !important;
    color: #333 !important;
    border-top-color: #1e1e2e !important;
}

#searchInput, .cdx-text-input__input {
    background: #12121f !important;
    color: #e0e0e0 !important;
    border-color: #2a2a3e !important;
}

.mw-body-content {
    color: #c0c0c0 !important;
}

#p-cactions li a,
.vector-menu-tabs li a,
.vector-tab-noicon a {
    color: #888 !important;
}

#p-cactions li.selected a,
.vector-menu-tabs li.selected a {
    color: #fff !important;
}

#toc, .toc {
    background: #0f0f1a !important;
    border-color: #1e1e2e !important;
}

#toc h2, .toc h2,
.toctext {
    color: #888 !important;
}

.catlinks {
    background: #0f0f1a !important;
    border-color: #1e1e2e !important;
}

/* 目次内リンク */
.tocnumber, .toctext {
    color: #4466cc !important;
}

/* 編集セクションリンクを非表示(一般向け) */
.mw-editsection {
    display: none !important;
}

/* タブバー背景 */
.vector-menu-tabs,
.vector-menu-tabs .mw-list-item,
#p-views, #p-namespaces,
.vector-page-toolbar-container,
.vector-header-container {
    background: #0d0d1a !important;
    border-color: #1e1e2e !important;
}

/* フッター下部の白帯 */
#footer-info, .mw-footer li,
#footer-places, .vector-footer {
    background: #0a0a14 !important;
    color: #333 !important;
}

/* Powered by MediaWiki バッジを非表示 */
#footer-poweredbyico,
#footer-copyrightico {
    display: none !important;
}

/* 最終更新日時を非表示(2026年の日付が見える) */
#footer-info-lastmod {
    display: none !important;
}

/* 個人メニューを非ログインユーザーに見せない(既にそうなっているが念のため) */
#pt-createaccount, #pt-login {
    display: none !important;
}


/* ページタブを非表示 */
#p-namespaces, .vector-menu-tabs-legacy {
    display: none !important;
}

/* サイドバーのツール・その他を非表示 */
#p-tb, #p-coll-print_export,
.vector-menu-portal:not(#p-navigation) {
    display: none !important;
}


/* 最上部の白帯 */
.vector-header,
.mw-header,
.vector-sticky-header {
    background: #0d0d1a !important;
    border-bottom: 1px solid #1e1e2e !important;
}

/* ヘッダーとコンテンツ間の線 */
.vector-page-toolbar,
.vector-page-toolbar-container,
.mw-body .mw-indicators {
    background: #0d0d1a !important;
    border-color: #1e1e2e !important;
}

/* 全要素の白背景を強制上書き */
#mw-page-base, #mw-head-base {
    background: #0d0d1a !important;
}

/* 白帯消し */
#mw-page-base, #mw-head-base {
    background: none;
}

/* サイドバーのツール非表示 */
#p-tb {
    display: none;
}

/* ページタブ(メインページ・議論)非表示 */
#p-namespaces {
    display: none;
}

/* スマホ文字サイズ改善 */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }
    #content {
        padding: 10px;
        margin-left: 0 !important;
    }
    #mw-panel {
        display: none;
    }
    #mw-head {
        display: none;
    }
    table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
    }
}

/* Common.cssページ自体を非表示(ソース表示時) */
body.ns-8 #mw-content-text {
    display: none;
}
body.ns-8 #firstHeading::after {
    content: "この記録は存在しません。";
    display: block;
    margin-top: 20px;
    color: #555;
    font-size: 14px;
}

/* スマホ上部の空白除去 */
@media screen and (max-width: 768px) {
    #content {
        margin-top: 0;
        padding-top: 16px;
    }
    #mw-page-base, #mw-head-base {
        height: 0;
        min-height: 0;
    }
}

/* フッター非表示 */
#footer {
    display: none;
}

/* サイドバー非表示 */
#mw-panel {
    display: none;
}
#content {
    margin-left: 0;
}