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

提供: MochiuWiki : SUSE, EC, PCB

📢 Webサイト閉鎖と移転のお知らせ
このWebサイトは2026年9月に閉鎖いたします。
新しい記事は移転先で追加しております。(旧サイトでは記事を追加しておりません)

編集の要約なし
タグ: 差し戻し済み
編集の要約なし
タグ: 差し戻し済み
57行目: 57行目:
}
}


.mw-body-content {
/*font-family: "DejaVu Sans" !important;*/
font-family: "Droid Sans" !important;
}


/*.mw-highlight-lang-css {
/* ライトモードの場合のスタイル */
background-color:  rgba(230, 230, 230, 1.0) !important;
@media (prefers-color-scheme: light) {
}*/
/*.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 */
}
 
/* 表のキャプション */
caption {
color: #202020;
font-weight: bold;
border: solid 1px blue;
}
 
table {
border-collapse: collapse;
border: solid 2px blue; /*表全体を線で囲う*/
text-align: center;
}
 
th {/*thに対して*/
color: #202020;
font-weight: bold;
text-align: center !important;
border: solid 1px blue;
background-color: #66CCFF !important;
}
 
td {/*tdに対して*/
color: #202020;
text-align: left;
border: solid 1px blue;
}
 
/* 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;
}


/* mw-highlightクラス内のpreタグの設定 */
/*div.mw-highlight pre {
color: #202020 !important;
background-color: rgba(240, 240, 240, 1.0) !important;
}*/


/* タイトルページ */
math {
.firstHeading {
font-family: Latin Modern Math !important;
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;
@media (prefers-color-scheme: dark) {
/*text-decoration: underline;*/
.mw-body-content {
position: relative;
/*font-family: "DejaVu Sans" !important;*/
display: inline-block;
font-family: "Droid Sans" !important;
}
background-color: rgb(42, 42, 42);
}
 
.mw-highlight-lang-css {
background-color: rgb(230, 230, 230) !important;
}
 
/* mw-highlightクラス内のpreタグの設定 */
.mw-highlight pre {
color: #202020 !important;
    background-color: rgb(240, 240, 240) !important;
}


h4::after /* h4 .mw-headline::after */ {
/* タイトルページ */
content: "";
.firstHeading {
position: absolute;
font-family: "Droid Sans", "Droid Serif";
bottom: 0;
text-align: center;
left: 0;
border: solid 3px rgb(250, 250, 250);
width: 100%; /* ヘッダの大きさに下線を調整 */
  border-radius: 5px;
height: 1px; /* アンダーラインの高さ */
  padding: 3px 3px;
background-color: rgba(30, 30, 30, 0.5); /* アンダーラインの色 */
  margin: 5px;
}
}


h5 .mw-headline {
h4 /* .mw-headline */ {
font-size: 16px !important;
font-size: 18px !important;
border: solid 1px rgba(30, 30, 30, 0.7);
/*text-decoration: underline;*/
border-radius: 5px;
position: relative;
padding: 1px 3px;
display: inline-block;
margin: 5px;
}
}


/* 通常のpreタグの設定 */
h4::after /* h4 .mw-headline::after */ {
pre {
content: "";
color: #202020;
position: absolute;
background-color: rgb(250, 250, 250);
bottom: 0;
border: solid 1px rgb(150, 150, 250);
left: 0;
border-radius: 5px;
width: 100%; /* ヘッダの大きさに下線を調整 */
font-family: "DejaVu Sans Mono" !important;
height: 1px; /* アンダーラインの高さ */
}
background-color: rgb(250, 250, 250); /* アンダーラインの色 */
}


/* mw-highlightクラス内のpreタグの設定 */
h5 .mw-headline {
.mw-highlight > pre {
font-size: 16px !important;
color: #202020;
border: solid 1px rgb(250, 250, 250);
background-color: rgb(250, 250, 250);
border-radius: 5px;
border: solid 3px rgb(100, 150, 100);
padding: 1px 3px;
border-radius: 5px;
margin: 5px;
}
}


code {
/* 通常のpreタグの設定 */
color: #fefefe;
pre {
font-weight: bold;
color: #fefefe !important;
font-family: "DejaVu Sans Mono" !important;
background-color: rgba(25, 25, 25, 1.0) !important;
color: #ffffff;
border: solid 1px rgb(150, 150, 250);
/*background-color: #1166A0;*/
border-radius: 5px;
/*background-color: rgba(50, 50, 150, 0.8) !important;*/
font-family: "DejaVu Sans Mono" !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 */
}


/* 表のキャプション */
/* mw-highlightクラス内のpreタグの設定 */
caption {
.mw-highlight > pre {
color: #202020;
color: #202020;
font-weight: bold;
background-color: rgb(25, 25, 25);
border: solid 1px blue;
border: solid 3px rgb(100, 150, 100);
}
border-radius: 5px;
}


table {
code {
border-collapse: collapse;
color: #e0e0e0;
border: solid 2px blue; /*表全体を線で囲う*/
font-weight: bold;
text-align: center;
font-family: "DejaVu Sans Mono" !important;
}
color: #ffffff;
/*background-color: #1166A0;*/
/*background-color: rgba(50, 50, 150, 0.8) !important;*/
background-color: rgb(50, 50, 150) !important;
border: solid 1px rgb(255, 255, 255);
border-radius: 5px;
padding: 1px 5px;  /* 内側の余白 : 上下1px, 左右5px */
}


th {/*thに対して*/
/* 表のキャプション */
color: #202020;
caption {
font-weight: bold;
color: #cfcfcf;
text-align: center !important;
background-color: rgb(50, 50, 180);
border: solid 1px blue;
font-weight: bold;
background-color: #66CCFF !important;
border: solid 1px blue;
}
}


td {/*tdに対して*/
table {
color: #202020;
background-color: #202020 !important;
text-align: left;
border-collapse: collapse;
border: solid 1px blue;
border: solid 2px blue; /*表全体を線で囲う*/
}
text-align: center;
}


/* MediaWiki内のリンク */
table tr[style="background-color:#e0e0e0;"] {
a.interwiki {
background-color: #5f5f5f !important;
font-weight: bold;
}
}


/* MediaWiki外のリンク */
th {/*thに対して*/
.mw-parser-output a.external {
color: #fefefe;
font-weight: bold;
font-weight: bold;
}
text-align: center !important;
border: solid 1px blue;
background-color: #3399CC !important;
}


/* codeタグ内のMediaWiki外のリンク */
td {/*tdに対して*/
code a.external {
color: #fefefe;
font-weight: bold;
text-align: left;
/*color: #DE7231 !important;*/
border: solid 1px blue;
color: #ffa500 !important;
}
}


/* MediaWiki外のリンク */
/* MediaWiki内のリンク */
a.external {
a.interwiki {
font-weight: bold;
color: #FF560A;
}
font-weight: bold;
}


/* テーブル内のMediaWiki外のリンク */
/* MediaWiki外のリンク */
table.wikitable td a {
.mw-parser-output a.external {
font-weight: bold;
color: #DE7231;
}
font-weight: bold;
}


.mw-parser-output a.new:visited {
/* codeタグ内のMediaWiki外のリンク */
font-weight: bold;
code a.external {
}
    color: #EE803F !important;
    font-weight: bold;
}


.catlinks a {
/* MediaWiki外のリンク */
font-size: 14px;
a.external {
font-weight: bold;
    color: #DE7231 !important;
}
    font-weight: bold;
}


.catlinks ul {
/* テーブル内のMediaWiki外のリンク */
font-size: 14px;
table.wikitable td a {
font-weight: bold;
    color: #DE7231 !important;
}
    font-weight: bold;
}


/* カテゴリの変更 */
.mw-parser-output a.new:visited {
.mw-normal-catlinks {
color: #FEA261;
border: solid 1px rgba(250, 250, 250, 0.5);
font-weight: bold;
border-radius: 5px;
}
padding: 10px 10px;
}


.catlinks a {
    font-size: 14px;
    color: #DE7231;
    font-weight: bold;
    font-family: "Droid Sans" !important;
}


/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
.catlinks ul {
/* この時、CSSを以下に示すように記述することにより、数式画像の明るさを反転させることができる */
    font-size: 14px;
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
    color: #DE7231;
/*background-color: #EFEFEF !important;*/
    font-weight: bold;
/*border: solid 1px #5050C0;*/
    font-family: "Droid Sans" !important;
/*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;*/
.mw-normal-catlinks {
/*background-color: #EFEFEF !important;*/
border: solid 1px rgb(250, 250, 250);
/*border: solid 1px #5050C0;*/
  border-radius: 5px;
/*border-radius: 5px;*/
  padding: 10px 10px;
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;*/
/* この時、CSSを以下に示すように記述することにより、数式画像の明るさを反転させることができる */
/*border-radius: 5px;*/
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
background-color: inherit;
    /*background-color: #EFEFEF !important;*/
font-family: "Latin Modern Math";
  /*border: solid 1px #5050C0;*/
font-weight: bold;
  /*border-radius: 5px;*/
margin: 1px 2px; /* 外側の余白 : 上下0px, 左右2px */
font-family: "Latin Modern Math";
padding: 3px 3px;   /* 内側の余白 : 上下3px, 左右3px */
        font-weight: bold;
}
    margin: 0px 0px 3px; /* 外側の余白 : 上0px 下0px, 左右3px */
    padding: 0px 3px; /* 内側の余白 : 上下3px, 左右3px */
    filter: hue-rotate(180deg) invert(1);
    /*display: none !important;*/
}


td .mwe-math-element {
pre .mwe-math-fallback-image-inline, pre .mwe-math-fallback-image-display {
/*border: solid 1px #5050C0;*/
    /*color: black !important;*/
/*border-radius: 5px;*/
  /*background-color: #EFEFEF !important;*/
font-family: "Latin Modern Math";
  /*border: solid 1px #5050C0;*/
font-weight: bold;
  /*border-radius: 5px;*/
margin: 1px 2px; /* 外側の余白 : 上下0px, 左右2px */
    font-family: "Latin Modern Math";
padding: 3px 3px;   /* 内側の余白 : 上下3px, 左右3px */
    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);*/
    filter: hue-rotate(180deg) invert(1);
    /*display: none !important;*/
}


/*.mwe-math-mathml-a11y {*/
th .mwe-math-element {
/*   clip: auto !important;*/
  /*border: solid 1px #5050C0;*/
/*   overflow: visible !important;*/
  /*border-radius: 5px;*/
/*    position: static !important;*/
  background-color: inherit;
/*    width: auto !important;*/
    font-family: "Latin Modern Math";
/*   height: auto !important;*/
    font-weight: bold;
/*   opacity: 1 !important;*/
    margin: 1px 2px; /* 外側の余白 : 上下0px, 左右2px */
/*}*/
    padding: 3px 3px;  /* 内側の余白 : 上下3px, 左右3px */
}


/*td .mwe-math-mathml-inline, td .mwe-math-mathml-a11y {*/
td .mwe-math-element {
/*   clip: auto !important;*/
  /*border: solid 1px #5050C0;*/
/*   overflow: visible !important;*/
  /*border-radius: 5px;*/
/*    position: static !important;*/
    font-family: "Latin Modern Math";
/*    width: auto !important;*/
    font-weight: bold;
/*   height: auto !important;*/
    margin: 1px 2px; /* 外側の余白 : 上下0px, 左右2px */
/*   opacity: 1 !important;*/
    padding: 3px 3px;  /* 内側の余白 : 上下3px, 左右3px */
/*}*/
}




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




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



2024年10月14日 (月) 05:36時点における版

/* MediaWiki:Common.css */
/* Default (Vector) スキンの場合 */

/* ここに記述したCSSはすべての外装に反映されます */

.mw-editfont-monospace {
	font-size: 15px !important;
	/*font-family: 'Noto Sans JP', sans-serif !important;*/
	font-family: monospace !important;
}

/* 画面の縦サイズがFHD以下の場合 */
@media screen and (max-height: 880px) {
   	.mw-body-content {
       	line-height: 1.3; /* 行間を1.2に変更 */
   	}

	.mw-content-ltr {
		font-size: 13px !important;
	}
}

/* 画面の縦サイズがFHDを超える場合 */
@media screen and (min-height: 881px) and (max-height: 1240px) {
   	.mw-body-content {
       	line-height: 1.2; /* 行間を1.2に変更 */
   	}

	.mw-content-ltr {
		font-size: 14px !important;
	}
}

/* 画面の縦サイズがWQHDを超える場合 */
@media screen and (min-height: 1241px) {
   	.mw-body-content {
       	line-height: 1.5; /* 行間を1.5に変更 */
   	}

	.mw-content-ltr {
		font-size: 15px !important;
	}
}

/* ConfirmEdit QuestyCaptcha -- on Create Account */
.htmlform-tip + .mw-htmlform-field-HTMLInfoField {
	color: red;
}

/* ConfirmEdit QuestyCaptcha -- on Edit page + add a URL */
label[for=wpCaptchaWord] {
    color: green;
    font-weight: bold;
    /*font-size: 15px;*/
    font-size: 150%;
    font-style: italic;
}


/* ライトモードの場合のスタイル */
@media (prefers-color-scheme: light) {
	/*.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 */
	}

	/* 表のキャプション */
	caption {
		color: #202020;
		font-weight: bold;
		border: solid 1px blue;
	}

	table {
		border-collapse: collapse;
		border: solid 2px blue; /*表全体を線で囲う*/
		text-align: center;
	}

	th {/*thに対して*/
		color: #202020;
		font-weight: bold;
		text-align: center !important;
		border: solid 1px blue;
		background-color: #66CCFF !important;
	}

	td {/*tdに対して*/
		color: #202020;
		text-align: left;
		border: solid 1px blue;
	}

	/* 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) {
	.mw-body-content {
		/*font-family: "DejaVu Sans" !important;*/
		font-family: "Droid Sans" !important;
		background-color: rgb(42, 42, 42);
	}

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

	/* mw-highlightクラス内のpreタグの設定 */
	.mw-highlight pre {
		color: #202020 !important;
    	background-color: rgb(240, 240, 240) !important;
	}

	/* タイトルページ */
	.firstHeading {
		font-family: "Droid Sans", "Droid Serif";
		text-align: center;
		border: solid 3px rgb(250, 250, 250);
   		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: rgb(250, 250, 250); /* アンダーラインの色 */
	}

	h5 .mw-headline {
		font-size: 16px !important;
		border: solid 1px rgb(250, 250, 250);
		border-radius: 5px;
		padding: 1px 3px;
		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 {
		color: #e0e0e0;
		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: rgb(50, 50, 150) !important;
		border: solid 1px rgb(255, 255, 255);
		border-radius: 5px;
		padding: 1px 5px;  /* 内側の余白 : 上下1px, 左右5px */
	}

	/* 表のキャプション */
	caption {
		color: #cfcfcf;
		background-color: rgb(50, 50, 180);
		font-weight: bold;
		border: solid 1px blue;
	}

	table {
		background-color: #202020 !important;
		border-collapse: collapse;
		border: solid 2px blue; /*表全体を線で囲う*/
		text-align: center;
	}

	table tr[style="background-color:#e0e0e0;"] {
		background-color: #5f5f5f !important;
	}

	th {/*thに対して*/
		color: #fefefe;
		font-weight: bold;
		text-align: center !important;
		border: solid 1px blue;
		background-color: #3399CC !important;
	}

	td {/*tdに対して*/
		color: #fefefe;
		text-align: left;
		border: solid 1px blue;
	}

	/* MediaWiki内のリンク */
	a.interwiki {
		color: #FF560A;
		font-weight: bold;
	}

	/* MediaWiki外のリンク */
	.mw-parser-output a.external {
		color: #DE7231;
		font-weight: bold;
	}

	/* codeタグ内のMediaWiki外のリンク */
	code a.external {
    	color: #EE803F !important;
    	font-weight: bold;
	}

	/* MediaWiki外のリンク */
	a.external {
    	color: #DE7231 !important;
    	font-weight: bold;
	}

	/* テーブル内のMediaWiki外のリンク */
	table.wikitable td a {
    	color: #DE7231 !important;
    	font-weight: bold;
	}

	.mw-parser-output a.new:visited {
		color: #FEA261;
		font-weight: bold;
	}

	.catlinks a {
    	font-size: 14px;
    	color: #DE7231;
    	font-weight: bold;
    	font-family: "Droid Sans" !important;
	}

	.catlinks ul {
    	font-size: 14px;
    	color: #DE7231;
    	font-weight: bold;
    	font-family: "Droid Sans" !important;
	}

	/* カテゴリの変更 */
	.mw-normal-catlinks {
		border: solid 1px rgb(250, 250, 250);
   		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 */
    	filter: hue-rotate(180deg) invert(1);
    	/*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);*/
    	filter: hue-rotate(180deg) invert(1);
    	/*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 */
	}


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


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


/* Extension:AmazonSearch */
DIV.amazonsearch {
	clear: both;
	width: 100%;
	min-height: 180px;
	margin: 0 auto;
	padding: 0.5em;
	border: 1px solid #444;
	overflow: hidden;
}

DIV.amazonsearch IMG.amazonsearchimg {
	float: left;
	margin: 0.1em 1em 0.1em 0.1em;
}

DIV.amazonsearch P.amazonsearchname {
	margin: 0;
	font-size: 90%;
	text-indent: 0;
}

DIV.amazonsearch P.amazonsearchauthor {
	margin: 0;
	font-size: 80%;
	text-indent: 0;
}

DIV.amazonsearch UL {
	margin: 0;
}

DIV.amazonsearch UL LI {
	display: inline-block;
	text-align: center;
	list-style: none;
	font-size: 90%;
	width: 12em;
	margin: 0.2em;
	padding: 0.2em 0.5em 0.2em 0.5em;
	border-radius: 0.5em;
	white-space: nowrap;
}

DIV.amazonsearch P.amazonsearchauthor::before {
	background-color: #bbb;
	border-radius: 10%;
	color: #fff;
	font-size: smaller;
	padding: 0 0.5em 0 0.5em;
	margin-right: 0.5em;
	content: "広告";
}

DIV.amazonsearch UL LI A {
	color: #fff;
}

DIV.amazonsearch UL LI.shoplinkamazon {
	background-color: #f90;
}