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

ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
タグ: 差し戻し済み
編集の要約なし
タグ: 手動差し戻し
1行目: 1行目:
/* MediaWiki:Common.css */
/* MediaWiki:Common.css */
/* Default (Vector) スキンの場合 */
/* Fluentスキンの場合 */
 
/* MediaWiki全体のフォント設定(ウェイトバリエーション含む) */
body {
    font-family:
        /* MacOS/iOS */
        "Hiragino Sans W3",
        "Hiragino Sans Regular",
        "Hiragino Kaku Gothic ProN W3",
        "Hiragino Kaku Gothic Pro W3",
        /* Windows */
        "Yu Gothic Regular",
        "Yu Gothic Medium",
        /* Linux */
        "Noto Sans CJK JP Regular",
        "Meiryo W3",
        /* フォールバック */
        sans-serif;
 
    font-weight: normal;  /* または400 */
}


/* ここに記述したCSSはすべての外装に反映されます */
/* ここに記述したCSSはすべての外装に反映されます */
.mw-editfont-monospace {
.mw-editfont-monospace {
font-size: 15px !important;
font-size: 15px;
/*font-family: 'Noto Sans JP', sans-serif !important;*/
/*font-family: 'Noto Sans JP', sans-serif !important;*/
font-family: monospace !important;
font-family: monospace !important;
18行目: 37行目:
.mw-content-ltr {
.mw-content-ltr {
font-size: 13px !important;
font-size: 13px !important;
}
/* 特別ページ全体の基本設定 */
body.mw-special-page,
body.ns-special .mw-body {
    font-size: 13px !important;
}
}
}
}
29行目: 54行目:
.mw-content-ltr {
.mw-content-ltr {
font-size: 14px !important;
font-size: 14px !important;
}
/* 特別ページ全体の基本設定 */
body.mw-special-page,
body.ns-special .mw-body {
    font-size: 14px !important;
}
}
}
}
40行目: 71行目:
.mw-content-ltr {
.mw-content-ltr {
font-size: 16px !important;
font-size: 16px !important;
}
/* 特別ページ全体の基本設定 */
body.mw-special-page,
body.ns-special .mw-body {
    font-size: 16px !important;
}
}
}
}
57行目: 94行目:
}
}


 
.wikiEditor-ui-text textarea#wpTextbox1 {
/* ライトモードの場合のスタイル */
font-size: 110% !important;
@media (prefers-color-scheme: light) {
    font-family: "Droid Sans Mono", monospace !important;
/*.mw-highlight-lang-css {
background-color:  rgba(230, 230, 230, 1.0) !important;
}*/
 
/* mw-highlightクラス内のpreタグの設定 */
/*div.mw-highlight pre {
color: #202020 !important;
background-color: rgba(240, 240, 240, 1.0) !important;
}*/
 
.mw-body-content {
/*font-family: "DejaVu Sans" !important;*/
font-family: "Droid Sans" !important;
}
 
/* タイトルページ */
.firstHeading {
font-family: "Droid Sans", "Droid Serif";
text-align: center;
border: solid 3px rgb(80, 80, 80);
border-radius: 5px;
padding: 3px 3px;
margin: 5px;
}
 
h4 /* .mw-headline */ {
font-size: 18px !important;
/*text-decoration: underline;*/
position: relative;
display: inline-block;
}
 
h4::after /* h4 .mw-headline::after */ {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%; /* ヘッダの大きさに下線を調整 */
height: 1px; /* アンダーラインの高さ */
background-color: rgba(30, 30, 30, 0.5); /* アンダーラインの色 */
}
 
h5 .mw-headline {
font-size: 16px !important;
border: solid 1px rgba(30, 30, 30, 0.7);
border-radius: 5px;
padding: 1px 3px;
margin: 5px;
}
 
/* 通常のpreタグの設定 */
pre {
color: #202020;
background-color: rgb(250, 250, 250);
border: solid 1px rgb(150, 150, 250);
border-radius: 5px;
font-family: "DejaVu Sans Mono" !important;
}
 
/* mw-highlightクラス内のpreタグの設定 */
.mw-highlight > pre {
color: #202020;
background-color: rgb(250, 250, 250);
border: solid 3px rgb(100, 150, 100);
border-radius: 5px;
}
 
code {
color: #fefefe;
font-weight: bold;
font-family: "DejaVu Sans Mono" !important;
color: #ffffff;
/*background-color: #1166A0;*/
/*background-color: rgba(50, 50, 150, 0.8) !important;*/
background-color: rgba(41, 92, 194, 1.0) !important;
border: solid 1px rgba(255, 255, 255, 0.3);
border-radius: 5px;
padding: 1px 5px;  /* 内側の余白 : 上下1px, 左右5px */
}
 
/* 表のキャプション */
.wikitable > caption {
    background: linear-gradient(180deg,
        #2B579A 0%,
        #2B579A 20%,
        #366DC2 60%,
        #366DC2 100%
    );
    color: white;
    padding: 8px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid #2B579A;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
 
table {
border-collapse: collapse;
border: solid 2px #303030; /*表全体を線で囲う*/
background-color: #fefefe !important;
text-align: center;
}
 
.wikitable th { /* 表のヘッダ */
    color: rgb(250, 250, 250) !important;
font-weight: bold;
text-align: center !important;
border: solid 1px rgb(50, 50, 50);
/*background: linear-gradient(to bottom, #e4f1fc 0%, #b3d7f7 40%, #84bef1 100%) !important;*/
background: linear-gradient(to bottom, #5c80b9 0%, #4a6ea9 100%); /* グラデーションを追加してよりモダンな印象に */
}
 
/* ホバー時の強調表示(オプション) */
.wikitable th:hover {
color: rgb(250, 250, 250) !important;
    background: linear-gradient(to bottom, #6890c9 0%, #5a7eb9 100%);
}
 
td { /* 表の各カラム */
text-align: left;
border: solid 1px rgb(50, 50, 50);
}
 
/* 表の縦罫線のスタイル */
tr > td:first-child {
    border-left: 3px solid #303030;
}
tr > td:last-child {
    border-right: 3px solid #303030;
}
 
/* 表の横罫線のスタイル */
tr:first-child > td {
    border-top: 3px solid #303030;
}
tr:last-child > td {
    border-bottom: 3px solid #303030;
}
 
/* 結合セルの境界線 */
[rowspan] {
    border-top: 2px solid #303030 !important;
    border-bottom: 2px solid #303030 !important;
}
 
/* キャプションがない場合、テーブルの上端を丸くする */
.wikitable:not(:has(caption)) > tr:first-child th,
.wikitable:not(:has(caption)) > * > tr:first-child th {
  border-top: none !important;
}
 
.wikitable:not(:has(caption)) > tr:first-child th:first-child,
.wikitable:not(:has(caption)) > * > tr:first-child th:first-child {
  border-left: none !important;
  border-top-left-radius: 10px;
}
 
.wikitable:not(:has(caption)) > tr:first-child th:last-child,
.wikitable:not(:has(caption)) > * > tr:first-child th:last-child {
  border-right: none !important;
  border-top-right-radius: 10px;
}
 
/* キャプションがある場合、キャプションの上端を丸くする */
.wikitable:has(caption) caption {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
 
/* MediaWiki内のリンク */
a.interwiki {
font-weight: bold;
}
 
/* MediaWiki外のリンク */
.mw-parser-output a.external {
font-weight: bold;
}
 
/* codeタグ内のMediaWiki外のリンク */
code a.external {
font-weight: bold;
/*color: #DE7231 !important;*/
color: #ffa500 !important;
}
 
/* MediaWiki外のリンク */
a.external {
font-weight: bold;
}
 
/* テーブル内のMediaWiki外のリンク */
table.wikitable td a {
font-weight: bold;
}
 
.mw-parser-output a.new:visited {
font-weight: bold;
}
 
.catlinks a {
font-size: 14px;
font-weight: bold;
}
 
.catlinks ul {
font-size: 14px;
font-weight: bold;
}
 
/* カテゴリの変更 */
.mw-normal-catlinks {
border: solid 1px rgba(250, 250, 250, 0.5);
border-radius: 5px;
padding: 10px 10px;
}
 
 
/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
/* この時、CSSを以下に示すように記述することにより、数式画像の明るさを反転させることができる */
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
/*background-color: #EFEFEF !important;*/
/*border: solid 1px #5050C0;*/
/*border-radius: 5px;*/
font-family: "Latin Modern Math";
font-weight: bold;
margin: 0px 0px 3px; /* 外側の余白 : 上0px 下0px, 左右3px */
padding: 0px 3px; /* 内側の余白 : 上下3px, 左右3px */
/*display: none !important;*/
}
 
pre .mwe-math-fallback-image-inline, pre .mwe-math-fallback-image-display {
/*color: black !important;*/
/*background-color: #EFEFEF !important;*/
/*border: solid 1px #5050C0;*/
/*border-radius: 5px;*/
font-family: "Latin Modern Math";
font-weight: bold;
margin: 0px 0px 3px;  /* 外側の余白 : 上下0px, 左右3px */
padding: 0px 3px;    /* 内側の余白 : 上下0px, 左右3px */
/*box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);*/
/*display: none !important;*/
}
 
th .mwe-math-element {
/*border: solid 1px #5050C0;*/
/*border-radius: 5px;*/
background-color: inherit;
font-family: "Latin Modern Math";
font-weight: bold;
margin: 1px 2px; /* 外側の余白 : 上下0px, 左右2px */
padding: 3px 3px;  /* 内側の余白 : 上下3px, 左右3px */
}
 
td .mwe-math-element {
/*border: solid 1px #5050C0;*/
/*border-radius: 5px;*/
font-family: "Latin Modern Math";
font-weight: bold;
margin: 1px 2px; /* 外側の余白 : 上下0px, 左右2px */
padding: 3px 3px;  /* 内側の余白 : 上下3px, 左右3px */
}
 
/*.mwe-math-mathml-a11y {*/
/*    clip: auto !important;*/
/*    overflow: visible !important;*/
/*    position: static !important;*/
/*    width: auto !important;*/
/*    height: auto !important;*/
/*    opacity: 1 !important;*/
/*}*/
 
/*td .mwe-math-mathml-inline, td .mwe-math-mathml-a11y {*/
/*    clip: auto !important;*/
/*    overflow: visible !important;*/
/*    position: static !important;*/
/*    width: auto !important;*/
/*    height: auto !important;*/
/*    opacity: 1 !important;*/
/*}*/
 
 
mtext {
font-family: Latin Modern Roman !important;
}
 
 
math {
font-family: Latin Modern Math !important;
}
}
}


/* ダークモードの場合のスタイル */
/* ダークモードの場合のスタイル */
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
#mw-head,
#left-navigation,
#right-navigation,
#p-personal,
#p-search,
div.vectorMenu,
#p-variants,
#mw-panel,
#p-logo,
#p-navigation,
div.portal {
    background-color: rgb(42, 42, 42) !important;
}
/* 個別のヘッダー要素も確実に背景を設定 */
.vector-menu-tabs,
.vector-menu-tabs a,
.vector-menu-dropdown,
.vector-menu-portal,
.vector-menu-portal .vector-menu-content {
    background-color: rgb(42, 42, 42) !important;
}
/* 検索ボックス周りの背景 */
#p-search div#simpleSearch {
    background-color: rgb(42, 42, 42) !important;
    border: 1px solid #333 !important;
}
#searchInput {
    background-color: rgb(42, 42, 42) !important;
    border: 1px solid #333 !important;
}
body, body * {
    color: rgb(250, 250, 250) !important;
}
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#simpleSearch,
div.vectorMenu,
div#p-search,
div#p-personal,
div#mw-head-base,
div#mw-page-base {
color: rgb(250, 250, 250);
    background-color: rgb(42, 42, 42) !important;
}
/* カテゴリリンク */
#catlinks,
#mw-normal-catlinks,
div.catlinks {
    background-color: rgb(42, 42, 42) !important;
    border-color: #333 !important;
}
/* ナビゲーションボックス */
div.vectorTabs {
    background-color: rgb(42, 42, 42);
}
div.vectorTabs ul li {
color: rgb(250, 250, 250);
    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;
}
/* 入力フォーム要素 */
input, textarea, select {
    background-color: rgb(42, 42, 42);
    color: rgb(250, 250, 250) !important;
}
.mw-body-content {
.mw-body-content {
/*font-family: "DejaVu Sans" !important;*/
/*font-family: "DejaVu Sans" !important;*/
color: rgb(250, 250, 250);
font-family: "Droid Sans" !important;
font-family: "Droid Sans" !important;
background-color: rgb(42, 42, 42);
/*background-color: rgba(48, 48, 48, 1.0) !important;*/
background-color:  #2A2A2A;
}
}
/*.mw-special-Search, .mw-search-form-wrapper .mw-indicator, .mw-portlet-body, .mw-portlet {*/
/* color: #fefefe;*/
/* background-color: #303030;*/
/*}*/


.mw-highlight-lang-css {
.mw-highlight-lang-css {
background-color: rgb(230, 230, 230) !important;
background-color: rgba(230, 230, 230, 1.0) !important;
}
}


566行目: 203行目:
}
}


/* タイトルページ */
.firstHeading {
.firstHeading {
font-family: "Droid Sans", "Droid Serif";
font-family: "Droid Sans", "Droid Serif";
577行目: 213行目:


h4 /* .mw-headline */ {
h4 /* .mw-headline */ {
font-size: 18px !important;
/*text-decoration: underline;*/
/*text-decoration: underline;*/
position: relative;
position: relative;
590行目: 225行目:
width: 100%; /* ヘッダの大きさに下線を調整 */
width: 100%; /* ヘッダの大きさに下線を調整 */
height: 1px; /* アンダーラインの高さ */
height: 1px; /* アンダーラインの高さ */
background-color: rgb(250, 250, 250); /* アンダーラインの色 */
background-color: rgba(250, 250, 250, 0.5); /* アンダーラインの色 */
}
}


h5 .mw-headline {
h5 .mw-headline {
font-size: 16px !important;
/*text-decoration: underline;*/
border: solid 1px rgb(250, 250, 250);
border: solid 1px rgba(250, 250, 250, 0.7);
border-radius: 5px;
  border-radius: 5px;
padding: 1px 3px;
  padding: 1px 3px;
margin: 5px;
  margin: 5px;
}
 
/* 通常のpreタグの設定 */
pre {
color: #fefefe !important;
background-color: rgba(25, 25, 25, 1.0) !important;
border: solid 1px rgb(150, 150, 250);
border-radius: 5px;
font-family: "DejaVu Sans Mono" !important;
}
 
/* mw-highlightクラス内のpreタグの設定 */
.mw-highlight > pre {
color: #202020;
background-color: rgb(25, 25, 25);
border: solid 3px rgb(100, 150, 100);
border-radius: 5px;
}
}


code {
code {
color: #e0e0e0;
color: #fefefe;
font-weight: bold;
font-weight: bold;
font-family: "DejaVu Sans Mono" !important;
font-family: "DejaVu Sans Mono" !important;
color: #ffffff;
/*background-color: #1166A0;*/
/*background-color: #1166A0;*/
/*background-color: rgba(50, 50, 150, 0.8) !important;*/
background-color: rgb(50, 50, 150) !important;
background-color: rgb(50, 50, 150) !important;
border: solid 1px rgb(255, 255, 255);
border: solid 1px rgb(255, 255, 255, 0.3);
border-radius: 5px;
border-radius: 5px;
padding: 1px 5px;  /* 内側の余白 : 上下1px, 左右5px */
padding: 1px 5px;  /* 内側の余白 : 上下1px, 左右5px */
632行目: 248行目:


/* 表のキャプション */
/* 表のキャプション */
/*caption {*/
/* color: #e0e0e0;*/
/* font-weight: bold;*/
/* border: solid 2px #303030;*/
/* background-color: rgb(50, 50, 180);*/
/*}*/
.wikitable > caption {
.wikitable > caption {
    background: linear-gradient(180deg,
    background: linear-gradient(180deg,
660行目: 283行目:
}
}


.wikitable th { /* 表のヘッダ */
th {/*thに対して*/
color: #fefefe;
font-weight: bold;
font-weight: bold;
text-align: center !important;
text-align: center !important;
border: solid 1px rgb(50, 50, 50);
border: solid 1px blue;
/*background: linear-gradient(to bottom, #e4f1fc 0%, #b3d7f7 40%, #84bef1 100%) !important;*/
    background: linear-gradient(to bottom, #9cc7fa 0%, #4a99f7 40%, #0066cc 100%) !important;
background: linear-gradient(to bottom, #5c80b9 0%, #4a6ea9 100%); /* グラデーションを追加してよりモダンな印象に */
}
 
/* ホバー時の強調表示(オプション) */
.wikitable th:hover {
    background: linear-gradient(to bottom, #6890c9 0%, #5a7eb9 100%);
}
}


724行目: 342行目:
  border-top-right-radius: 10px;
  border-top-right-radius: 10px;
}
}
 
/* MediaWiki内のリンク */
/* MediaWiki内のリンク */
a.interwiki {
a.interwiki {
765行目: 383行目:
     font-weight: bold;
     font-weight: bold;
     font-family: "Droid Sans" !important;
     font-family: "Droid Sans" !important;
}
a:link {
    color: #6ea8fe !important;
}
a:visited {
    color: #9d8cff !important;
}
}


784行目: 394行目:
/* カテゴリの変更 */
/* カテゴリの変更 */
.mw-normal-catlinks {
.mw-normal-catlinks {
border: solid 1px rgb(250, 250, 250);
border: solid 1px rgba(250, 250, 250, 0.5);
  border-radius: 5px;
  padding: 10px 10px;
}
}
 
/* ライトモードの場合のスタイル */
@media (prefers-color-scheme: light) {
.mw-category-group {
font-family: "DejaVu Sans" !important;
    /*font-family: 'Droid Sans', "Droid Serif" !important;*/
}
 
.mw-body-content {
font-family: "DejaVu Sans" !important;
/*font-family: 'Jetbrains Mono', sans-serif !important;*/
/*font-family: "Droid Sans", "Droid Serif" !important;*/
}
 
.toc {
background: rgb(245, 245, 245) !important;
}
 
.firstHeading {
font-family: "Droid Sans", "Droid Serif";
text-align: center;
border: solid 3px rgb(80, 80, 80);
  border-radius: 5px;
  padding: 3px 3px;
  margin: 5px;
}
 
h4 /* .mw-headline */ {
font-size: 18px !important;
/*text-decoration: underline;*/
position: relative;
display: inline-block;
}
 
h4::after /* h4 .mw-headline::after */ {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%; /* ヘッダの大きさに下線を調整 */
height: 1px; /* アンダーラインの高さ */
background-color: rgba(80, 80, 80, 0.5); /* アンダーラインの色 */
}
 
h5 .mw-headline {
/*text-decoration: underline;*/
border: solid 1px rgba(80, 80, 80, 0.7);
  border-radius: 5px;
  padding: 1px 3px;
  margin: 5px;
}
 
/* codeタグ内のMediaWiki外のリンク */
code a.external {
    color: #FF904F !important;
    font-weight: bold;
}
 
code {
color: #f0f0f0;
background-color: #2277B0;
/*background-color: rgba(200, 200, 200, 0.9) !important;*/
/*font-size: 13px;*/
font-weight: bold;
font-family: "DejaVu Sans Mono" !important;
border: solid 1px rgba(50, 50, 50, 0.3);
border-radius: 5px;
margin: 2px 3px;  /* 外側の余白 : 上下2px, 左右3px */
padding: 1px 3px;  /* 内側の余白 : 上下1px, 左右3px */
}
 
/* 表のキャプション */
/*caption {*/
/* color: #e0e0e0;*/
/* font-weight: bold;*/
/* border: solid 2px #303030;*/
/* background-color:  rgba(50, 50, 180, 1.0);*/
/*}*/
 
.wikitable > caption {
    background: linear-gradient(180deg,
        #2B579A 0%,
        #2B579A 20%,
        #366DC2 60%,
        #366DC2 100%
    );
    color: white;
    padding: 8px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid #2B579A;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
 
table {
border-collapse: collapse;
border: solid 2px #303030; /*表全体を線で囲う*/
background-color: #fefefe !important;
text-align: center;
}
 
th { /* 表のヘッダ */
font-weight: bold;
text-align: center !important;
border: solid 1px rgb(50, 50, 50);
background: linear-gradient(to bottom, #e4f1fc 0%, #b3d7f7 40%, #84bef1 100%) !important;
/*background-color: #66CCFF !important;*/
}
 
td { /* 表の各カラム */
text-align: left;
border: solid 1px rgb(50, 50, 50);
}
 
/* 表の縦罫線のスタイル */
tr > td:first-child {
    border-left: 3px solid #303030;
}
tr > td:last-child {
    border-right: 3px solid #303030;
}
 
/* 表の横罫線のスタイル */
tr:first-child > td {
    border-top: 3px solid #303030;
}
tr:last-child > td {
    border-bottom: 3px solid #303030;
}
 
/* 結合セルの境界線 */
[rowspan] {
    border-top: 2px solid #303030 !important;
    border-bottom: 2px solid #303030 !important;
}
 
/* キャプションがない場合、テーブルの上端を丸くする */
.wikitable:not(:has(caption)) > tr:first-child th,
.wikitable:not(:has(caption)) > * > tr:first-child th {
  border-top: none !important;
}
 
.wikitable:not(:has(caption)) > tr:first-child th:first-child,
.wikitable:not(:has(caption)) > * > tr:first-child th:first-child {
  border-left: none !important;
  border-top-left-radius: 10px;
}
 
.wikitable:not(:has(caption)) > tr:first-child th:last-child,
.wikitable:not(:has(caption)) > * > tr:first-child th:last-child {
  border-right: none !important;
  border-top-right-radius: 10px;
}
 
/* キャプションがある場合、キャプションの上端を丸くする */
.wikitable:has(caption) caption {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
 
/* カテゴリの変更 */
.mw-normal-catlinks {
border: solid 1px rgba(180, 180, 180, 0.8);
   border-radius: 5px;
   border-radius: 5px;
   padding: 10px 10px;
   padding: 10px 10px;
}
}
pre {
  color: #202020;
  background: linear-gradient(to bottom right, rgb(250, 250, 250), white) !important;
  border: solid 2px rgb(150, 150, 250);
  border-radius: 5px;
  font-family: "DejaVu Sans Mono" !important;
}
/* mw-highlightクラス内のpreタグの設定 */
.mw-highlight > pre {
color: #202020;
    background: linear-gradient(to bottom right, rgb(250, 250, 250), white) !important;
    border: solid 3px rgb(100, 150, 100);
  border-radius: 5px;
  font-family: "DejaVu Sans Mono" !important;
}
}
/* Math ダークモードの場合のスタイル */
@media (prefers-color-scheme: dark) {


/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
796行目: 596行目:
   /*border-radius: 5px;*/
   /*border-radius: 5px;*/
font-family: "Latin Modern Math";
font-family: "Latin Modern Math";
         font-weight: bold;
         /*font-weight: bold;*/
     margin: 0px 0px 3px; /* 外側の余白 : 上0px 下0px, 左右3px */
     /*margin: 0px 0px 3px;*/ /* 外側の余白 : 上0px 下0px, 左右3px */
     padding: 0px 3px; /* 内側の余白 : 上下3px, 左右3px */
     /*padding: 0px 3px;*/ /* 内側の余白 : 上下3px, 左右3px */
     filter: hue-rotate(180deg) invert(1);
     filter: hue-rotate(180deg) invert(1);
     /*display: none !important;*/
     /*display: none !important;*/
809行目: 609行目:
   /*border-radius: 5px;*/
   /*border-radius: 5px;*/
     font-family: "Latin Modern Math";
     font-family: "Latin Modern Math";
     font-weight: bold;
     /*font-weight: bold;*/
     margin: 0px 0px 3px;  /* 外側の余白 : 上下0px, 左右3px */
     /*margin: 0px 0px 3px;*/ /* 外側の余白 : 上下0px, 左右3px */
     padding: 0px 3px;    /* 内側の余白 : 上下0px, 左右3px */
     /*padding: 0px 3px;*/     /* 内側の余白 : 上下0px, 左右3px */
     /*box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);*/
     /*box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);*/
     filter: hue-rotate(180deg) invert(1);
     filter: hue-rotate(180deg) invert(1);
822行目: 622行目:
   background-color: inherit;
   background-color: inherit;
     font-family: "Latin Modern Math";
     font-family: "Latin Modern Math";
     font-weight: bold;
     /*font-weight: bold;*/
     margin: 1px 2px; /* 外側の余白 : 上下0px, 左右2px */
     /*margin: 1px 2px;*/ /* 外側の余白 : 上下0px, 左右2px */
     padding: 3px 3px;  /* 内側の余白 : 上下3px, 左右3px */
     /*padding: 3px 3px;*/   /* 内側の余白 : 上下3px, 左右3px */
}
}


831行目: 631行目:
   /*border-radius: 5px;*/
   /*border-radius: 5px;*/
     font-family: "Latin Modern Math";
     font-family: "Latin Modern Math";
     font-weight: bold;
     /*font-weight: bold;*/
     margin: 1px 2px; /* 外側の余白 : 上下0px, 左右2px */
     /*margin: 1px 2px;*/ /* 外側の余白 : 上下0px, 左右2px */
     padding: 3px 3px;  /* 内側の余白 : 上下3px, 左右3px */
     /*padding: 3px 3px;*/   /* 内側の余白 : 上下3px, 左右3px */
}
}


/*.mwe-math-mathml-a11y {*/
/*    clip: auto !important;*/
/*    overflow: visible !important;*/
/*    position: static !important;*/
/*    width: auto !important;*/
/*    height: auto !important;*/
/*    opacity: 1 !important;*/
/*}*/
/*td .mwe-math-mathml-inline, td .mwe-math-mathml-a11y {*/
/*    clip: auto !important;*/
/*    overflow: visible !important;*/
/*    position: static !important;*/
/*    width: auto !important;*/
/*    height: auto !important;*/
/*    opacity: 1 !important;*/
/*}*/
}
mtext {
    font-family: Latin Modern Roman !important;
}


mtext {
math {
font-family: Latin Modern Roman !important;
    font-family: Latin Modern Math !important;
}
}


/* MediaWiki:Common.css に追加 */
.dark-mode-image {
    display: none !important;
}


math {
.light-mode-image {
font-family: Latin Modern Math !important;
    display: block !important;
}
}
}


@media (prefers-color-scheme: dark) {
    .dark-mode-image {
        display: block !important;
    }
    .light-mode-image {
        display: none !important;
    }
}


/* Extension:AmazonSearch */
/* Extension:AmazonSearch */

案内メニュー