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

ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
タグ: 差し戻し済み
編集の要約なし
タグ: 差し戻し済み
165行目: 165行目:
}
}


/*.wikitable th {*/
.wikitable th { /* 表のヘッダ */
/* font-weight: bold;*/
font-weight: bold;
/* text-align: center !important;*/
text-align: center !important;
/* border: solid 1px rgb(50, 50, 50);*/
border: solid 1px rgb(50, 50, 50);
/*background: linear-gradient(to bottom, #e4f1fc 0%, #b3d7f7 40%, #84bef1 100%) !important;*/
/*background: linear-gradient(to bottom, #e4f1fc 0%, #b3d7f7 40%, #84bef1 100%) !important;*/
background: linear-gradient(to bottom, #5c80b9 0%, #4a6ea9 100%); /* グラデーションを追加してよりモダンな印象に */
/*}*/
/* テーブルヘッダのスタイル */
.wikitable > tr > th,
.wikitable > * > tr > th {
color: #fff;
font-weight: bold;
    background: linear-gradient(to bottom, #5c80b9 0%, #4a6ea9 100%);
    text-align: center;    /* 中央揃え */
    padding: 0.3em;        /* パディングを追加して読みやすく */
}
}


364行目: 354行目:
/* ダークモードの場合のスタイル */
/* ダークモードの場合のスタイル */
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
body {
    background-color: rgb(42, 42, 42);
    color: rgb(250, 250, 250);
}
/* メインコンテンツエリア */
div#content {
    background-color: rgb(42, 42, 42);
    color: rgb(250, 250, 250);
}
/* サイドバー */
div#mw-panel {
    background-color: rgb(42, 42, 42);
    color: rgb(250, 250, 250);
}
/* ナビゲーションボックス */
div.vectorTabs {
    background-color: rgb(42, 42, 42);
}
div.vectorTabs ul li {
    background-color: rgb(42, 42, 42);
}
/* 検索ボックス */
div#simpleSearch {
    background-color: rgb(42, 42, 42);
    border-color: #333;
}
input#searchInput {
    background-color: rgb(42, 42, 42);
    color: rgb(250, 250, 250);
}
/* 編集ボタンなどのツールボックス */
div#p-cactions {
    background-color: rgb(42, 42, 42);
}
/* 目次 */
div#toc,
div.toc {
    background-color: rgb(42, 42, 42);
    border-color: #333;
}
.mw-body-content {
.mw-body-content {
/*font-family: "DejaVu Sans" !important;*/
/*font-family: "DejaVu Sans" !important;*/

案内メニュー