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

提供:MochiuWiki - SUSE, Electronic Circuit, PCB
ナビゲーションに移動 検索に移動
編集の要約なし
タグ: 差し戻し済み
編集の要約なし
 
(同じ利用者による、間の75版が非表示)
28行目: 28行目:


.mw-content-ltr {
.mw-content-ltr {
font-size: 14px !important;
font-size: 15px !important;
}
}
}
}
39行目: 39行目:


.mw-content-ltr {
.mw-content-ltr {
font-size: 16px !important;
font-size: 16px;
}
}
}
}
57行目: 57行目:
}
}


.mw-body-content {
/*font-family: "DejaVu Sans" !important;*/
font-family: "Droid Sans" !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 {
.firstHeading {
color: #202020 !important;
  font-family:  "Segoe UI", -apple-system, system-ui, sans-serif !important;
background-color: rgba(240, 240, 240, 1.0) !important;
  text-align:    center;
}*/
  border:        1px solid rgba(0, 0, 0, 0.1); /* 薄い境界線 */
  border-left:  4px solid #4299e1;  /* 左側のアクセントボーダー */
  border-right:  4px solid #4299e1;  /* 右側のアクセントボーダー */
  border-radius: 12px;
  padding:      16px 24px;
  margin:        16px auto;
  width:        fit-content;
  min-width:    75%;
  max-width:    90%;
  background: linear-gradient(135deg,
      #f8faff 0%,
      #f0f5ff 25%,
      #e8f0ff 75%,
      #e0ebff 100%
  );
  box-shadow:     0 2px 8px rgba(0, 0, 0, 0.05);
  color:          #1a365d;
  transition:    all 0.3s ease;
}


.mw-body-content {
.firstHeading:hover {
/*font-family: "DejaVu Sans" !important;*/
  border-left-color:  #3182ce;
font-family: "Droid Sans" !important;
  border-right-color: #3182ce;
}
  box-shadow:        0 4px 12px rgba(0, 0, 0, 0.08);
  transform:         translateY(-1px);
}


/* タイトルページ */
h4 /* .mw-headline */ {
.firstHeading {
font-size: 18px !important;
font-family: "Droid Sans", "Droid Serif";
/*text-decoration: underline;*/
text-align: center;
position: relative;
border: solid 3px rgb(80, 80, 80);
display: inline-block;
border-radius: 5px;
}
padding: 3px 3px;
margin: 5px;
}


h4 /* .mw-headline */ {
h4::after /* h4 .mw-headline::after */ {
font-size: 18px !important;
content: "";
/*text-decoration: underline;*/
position: absolute;
position: relative;
bottom: 0;
display: inline-block;
left: 0;
}
width: 100%; /* ヘッダの大きさに下線を調整 */
height: 1px; /* アンダーラインの高さ */
background-color: rgba(30, 30, 30, 0.5); /* アンダーラインの色 */
}


h4::after /* h4 .mw-headline::after */ {
h5 .mw-headline {
content: "";
font-size: 16px !important;
position: absolute;
border: solid 1px rgba(30, 30, 30, 0.7);
bottom: 0;
border-radius: 5px;
left: 0;
padding: 1px 3px;
width: 100%; /* ヘッダの大きさに下線を調整 */
margin: 5px;
height: 1px; /* アンダーラインの高さ */
}
background-color: rgba(30, 30, 30, 0.5); /* アンダーラインの色 */
}


h5 .mw-headline {
/* 通常のpreタグの設定 */
font-size: 16px !important;
pre {
border: solid 1px rgba(30, 30, 30, 0.7);
color: #202020;
border-radius: 5px;
/*background-color: rgb(250, 250, 250);*/
padding: 1px 3px;
background: linear-gradient(to bottom right, rgb(250, 250, 250), white);
margin: 5px;
border: solid 2px rgb(150, 150, 250);
}
border-radius: 5px;
font-family: "DejaVu Sans Mono" !important;
}


/* 通常のpreタグの設定 */
/* mw-highlightクラス内のpreタグの設定 */
pre {
.mw-highlight > pre {
color: #202020;
color: #202020;
background-color: rgb(250, 250, 250);
/*background-color: rgb(250, 250, 250);*/
border: solid 1px rgb(150, 150, 250);
background: linear-gradient(to bottom right, rgb(250, 250, 250), white);
border-radius: 5px;
border: solid 3px rgb(100, 150, 100);
font-family: "DejaVu Sans Mono" !important;
border-radius: 5px;
}
}


/* mw-highlightクラス内のpreタグの設定 */
code {
.mw-highlight > pre {
color: #fefefe;
color: #202020;
font-weight: bold;
background-color: rgb(250, 250, 250);
font-family: "DejaVu Sans Mono" !important;
border: solid 3px rgb(100, 150, 100);
color: #ffffff;
border-radius: 5px;
/*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 */
}


code {
/* 表のキャプション */
color: #fefefe;
.wikitable > caption {
font-weight: bold;
background: linear-gradient(180deg,
font-family: "DejaVu Sans Mono" !important;
#2B579A 0%,
color: #ffffff;
#2B579A 20%,
/*background-color: #1166A0;*/
#366DC2 60%,
/*background-color: rgba(50, 50, 150, 0.8) !important;*/
#366DC2 100%
background-color: rgba(41, 92, 194, 1.0) !important;
);
border: solid 1px rgba(255, 255, 255, 0.3);
color: white;
border-radius: 5px;
padding: 8px;
padding: 1px 5px;  /* 内側の余白 : 上下1px, 左右5px */
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 {
.wikitable > caption {
border-collapse: collapse;
    background: linear-gradient(180deg,
border: solid 2px #303030; /*表全体を線で囲う*/
        #2B579A 0%,
background-color: #fefefe !important;
        #2B579A 20%,
text-align: center;
        #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 {
.wikitable th { /* 表のヘッダ */
border-collapse: collapse;
color: rgb(250, 250, 250) !important;
border: solid 2px #303030; /*表全体を線で囲う*/
font-weight: bold;
background-color: #fefefe !important;
text-align: center !important;
text-align: center;
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 { /* 表のヘッダ */
/* ホバー時の強調表示(オプション) */
font-weight: bold;
.wikitable th:hover {
text-align: center !important;
color: rgb(250, 250, 250) !important;
border: solid 1px rgb(50, 50, 50);
background: linear-gradient(to bottom, #6890c9 0%, #5a7eb9 100%);
/*background: linear-gradient(to bottom, #e4f1fc 0%, #b3d7f7 40%, #84bef1 100%) !important;*/
}
background: linear-gradient(to bottom, #5c80b9 0%, #4a6ea9 100%); /* グラデーションを追加してよりモダンな印象に */
}


/* ホバー時の強調表示(オプション) */
td { /* 表の各カラム */
.wikitable th:hover {
text-align: left;
    background: linear-gradient(to bottom, #6890c9 0%, #5a7eb9 100%);
border: solid 1px rgb(50, 50, 50);
}
}


td { /* 表の各カラム */
/* 表の縦罫線のスタイル */
text-align: left;
tr > td:first-child {
border: solid 1px rgb(50, 50, 50);
border-left: 1px solid #303030;
}
}


/* 表の縦罫線のスタイル */
tr > td:last-child {
tr > td:first-child {
border-right: 1px solid #303030;
    border-left: 3px solid #303030;
}
}
tr > td:last-child {
    border-right: 3px solid #303030;
}


/* 表の横罫線のスタイル */
/* 表の横罫線のスタイル */
tr:first-child > td {
tr:first-child > td {
    border-top: 3px solid #303030;
border-top: 1px solid #303030;
}
}
tr:last-child > td {
    border-bottom: 3px solid #303030;
}


/* 結合セルの境界線 */
tr:last-child > td {
[rowspan] {
border-bottom: 1px solid #303030;
    border-top: 2px solid #303030 !important;
}
    border-bottom: 2px solid #303030 !important;
}


/* キャプションがない場合、テーブルの上端を丸くする */
/* 結合セルの境界線 */
.wikitable:not(:has(caption)) > tr:first-child th,
.wikitable td[rowspan] {
.wikitable:not(:has(caption)) > * > tr:first-child th {
border: solid 1px rgb(50, 50, 50);
  border-top: none !important;
    /*border: 1px solid #303030;*/
}
}


.wikitable:not(:has(caption)) > tr:first-child th:first-child,
/* キャプションがない場合、テーブルの上端を丸くする */
.wikitable:not(:has(caption)) > * > tr:first-child th:first-child {
.wikitable:not(:has(caption)) > tr:first-child th,
  border-left: none !important;
.wikitable:not(:has(caption)) > * > tr:first-child th {
  border-top-left-radius: 10px;
border-top: none !important;
}
}


.wikitable:not(:has(caption)) > tr:first-child th:last-child,
.wikitable:not(:has(caption)) > tr:first-child th:first-child,
.wikitable:not(:has(caption)) > * > tr:first-child th:last-child {
.wikitable:not(:has(caption)) > * > tr:first-child th:first-child {
  border-right: none !important;
border-left: none !important;
  border-top-right-radius: 10px;
border-top-left-radius: 10px;
}
}


/* キャプションがある場合、キャプションの上端を丸くする */
.wikitable:not(:has(caption)) > tr:first-child th:last-child,
.wikitable:has(caption) caption {
.wikitable:not(:has(caption)) > * > tr:first-child th:last-child {
  border-top-left-radius: 10px;
border-right: none !important;
  border-top-right-radius: 10px;
border-top-right-radius: 10px;
}
}


/* MediaWiki内のリンク */
/* キャプションがある場合、キャプションの上端を丸くする */
a.interwiki {
.wikitable:has(caption) caption {
font-weight: bold;
border-top-left-radius: 10px;
}
border-top-right-radius: 10px;
}


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


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


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


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


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


.catlinks a {
.mw-parser-output a.new:visited {
font-size: 14px;
font-weight: bold;
font-weight: bold;
}
}


.catlinks ul {
.catlinks a {
font-size: 14px;
font-size: 14px;
font-weight: bold;
font-weight: bold;
}
}


/* カテゴリの変更 */
.catlinks ul {
.mw-normal-catlinks {
font-size: 14px;
border: solid 1px rgba(250, 250, 250, 0.5);
font-weight: bold;
border-radius: 5px;
}
padding: 10px 10px;
}


/* カテゴリの変更 */
.mw-normal-catlinks {
border: solid 1px rgba(250, 250, 250, 0.5);
border-radius: 5px;
padding: 10px 10px;
}


/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
/* モダンでカラフルな目次のスタイル */
/* この時、CSSを以下に示すように記述することにより、数式画像の明るさを反転させることができる */
#toc,
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
.toc {
/*background-color: #EFEFEF !important;*/
    border: none;
/*border: solid 1px #5050C0;*/
    background: linear-gradient(135deg,
/*border-radius: 5px;*/
        #4158D0 0%,
font-family: "Latin Modern Math";
        #C850C0 46%,
font-weight: bold;
        #FFCC70 100%
margin: 0px 0px 3px; /* 外側の余白 : 上0px 下0px, 左右3px */
    );
padding: 0px 3px; /* 内側の余白 : 上下3px, 左右3px */
    padding: 1.5rem;
/*display: none !important;*/
    margin: 1.5rem 0;
}
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}


pre .mwe-math-fallback-image-inline, pre .mwe-math-fallback-image-display {
/* 目次のタイトル全体 */
/*color: black !important;*/
#toc #mw-toc-heading,
/*background-color: #EFEFEF !important;*/
.toc .toctitle h2 {
/*border: solid 1px #5050C0;*/
    color: #ffffff !important;
/*border-radius: 5px;*/
    font-weight: 700;
font-family: "Latin Modern Math";
    font-size: 1.4rem;
font-weight: bold;
    margin-bottom: 1.2rem;
margin: 0px 0px 3px; /* 外側の余白 : 上下0px, 左右3px */
     text-shadow: 2px 2px 4px rgb(0, 0, 0);
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;*/
.toctoggle,
/*border-radius: 5px;*/
.toctoggle a {
background-color: inherit;
    color: #ffffff !important;
font-family: "Latin Modern Math";
    font-weight: bold;
font-weight: bold;
    background-color: transparent;
margin: 1px 2px; /* 外側の余白 : 上下0px, 左右2px */
    padding: 0.1rem 0.1rem 0.0rem 0.1rem;
padding: 3px 3px;   /* 内側の余白 : 上下3px, 左右3px */
    border-radius: 2px;
}
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration : underline;
}


td .mwe-math-element {
.toctoggle:hover,
/*border: solid 1px #5050C0;*/
.toctoggle a:hover {
/*border-radius: 5px;*/
    color: #ff7e00 !important;
font-family: "Latin Modern Math";
    background-color: #ffffff;
font-weight: bold;
}
margin: 1px 2px; /* 外側の余白 : 上下0px, 左右2px */
padding: 3px 3px;   /* 内側の余白 : 上下3px, 左右3px */
}


/*.mwe-math-mathml-a11y {*/
/* 目次の「非表示」リンク */
/*    clip: auto !important;*/
.toc .toctogglelabel {
/*    overflow: visible !important;*/
    color: #ffffff;
/*    position: static !important;*/
    background-color: transparent;
/*    width: auto !important;*/
    background-blend-mode: lighten;
/*    height: auto !important;*/
    padding: 0.1rem 0.1rem 0.0rem 0.1rem;
/*    opacity: 1 !important;*/
    border-radius: 2px;
/*}*/
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration : underline;
}


/*td .mwe-math-mathml-inline, td .mwe-math-mathml-a11y {*/
.toc .toctogglelabel:hover {
/*    clip: auto !important;*/
    color: #ff7e00;
/*    overflow: visible !important;*/
    background-color: #ffffff;
/*    position: static !important;*/
    background-blend-mode: lighten;
/*    width: auto !important;*/
}
/*    height: auto !important;*/
/*    opacity: 1 !important;*/
/*}*/


/* 目次の項目コンテナ */
.toc ul {
    background-color: rgb(255, 255, 255);
    padding:          0.2rem;
    margin:          0;
    border-radius:    12px;
    box-shadow:      inset 0 2px 4px rgba(0, 0, 0, 0.05);
}


mtext {
/* 目次の項目 */
font-family: Latin Modern Roman !important;
.toc li {
}
    margin:    0.1rem 0;
    padding:    0.1rem 0;
    transition: all 0.3s ease;
}


/* 目次の番号 */
.toc li > a > span.tocnumber,
.toc-number {
    color: #C850C0;
    font-weight: 600;
    margin-right: 0.7rem;
}


math {
/* ホバー時の番号の色 */
font-family: Latin Modern Math !important;
.toc li > a:hover > span.tocnumber,
}
.toc a:hover .toc-number {
    color: #ffffff !important;
}
}


/* ダークモードの場合のスタイル */
/* リンクの基本スタイル */
@media (prefers-color-scheme: dark) {
.toc a {
body, body * {
    color:           #2d3748;
    color: rgb(250, 250, 250) !important;
    text-decoration: none;
}
    display:         block;
    padding:        0.2rem 0.6rem;
body {
    border-radius:   8px;
    background-color: rgb(42, 42, 42);
    transition:     all 0.3s ease;
    color: rgb(250, 250, 250);
    font-weight:     500;
}
}
/* メインコンテンツエリア */
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 {
.toc a:hover {
    background-color: rgb(42, 42, 42);
    color: #ffffff !important;
}
    background: linear-gradient(45deg, #4158D0, #C850C0);
    transform: translateX(6px);
div.vectorTabs ul li {
    border: none;
    background-color: rgb(42, 42, 42);
    padding: 0.2rem 0.6rem; /* 0.4rem 0.8rem から 0.2rem 0.6rem に変更 */
}
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* 検索ボックス */
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 {
/* 目次の番号 */
/*font-family: "DejaVu Sans" !important;*/
.toc-number {
color: rgb(250, 250, 250);
    color: #C850C0;
font-family: "Droid Sans" !important;
    font-weight: 600;
background-color: rgb(42, 42, 42);
    margin-right: 0.7rem;
}
}


.mw-highlight-lang-css {
/* ホバー時の番号の色 */
background-color: rgb(230, 230, 230) !important;
.toc a:hover .toc-number {
}
    color: #ffffff !important;
}


/* 通常のpreタグの設定 */
/* ネストされた項目のインデント */
pre {
.toc ul ul {
  color: #f0f0f0 !important;
    margin-left: 1.2rem;
  background: linear-gradient(to bottom right, rgb(75, 75, 75), rgb(60, 60, 60)) !important;
    background-color: transparent;
  border: solid 2px rgb(150, 150, 250);
    box-shadow: none;
  border-radius: 5px;
}
  font-family: "DejaVu Sans Mono" !important;
}


/* mw-highlightクラス内のpreタグの設定 */
/* アクティブな項目 */
.mw-highlight > pre {
.toc a:active {
color: #f0f0f0 !important;
    color: #ffffff;
background: linear-gradient(to right,
    background: linear-gradient(45deg, #C850C0, #FFCC70);
  rgb(10, 10, 10) 0%,
    transform: translateX(4px) scale(0.98);
  rgb(11, 11, 11) 10%,
    transition: all 0.1s ease;
  rgb(12, 12, 12) 20%,
}
  rgb(13, 13, 13) 30%,
  rgb(14, 14, 14) 40%,
  rgb(15, 15, 15) 50%,
  rgb(16, 16, 16) 60%,
  rgb(17, 17, 17) 70%,
  rgb(18, 18, 18) 80%,
  rgb(19, 19, 19) 90%,
  rgb(20, 20, 20) 100%
) !important;
    /*color: #202020 !important;*/
    /*background: linear-gradient(to bottom right, rgb(230, 230, 230), rgb(245, 245, 245)) !important;*/
    border: solid 3px rgb(100, 150, 100);
  border-radius: 5px;
  font-family: "DejaVu Sans Mono" !important;
}


/* Python特有の要素 */
/* 目次全体にグラスモーフィズム効果を追加 */
.mw-highlight .k  { color: #569cd6 !important; }  /* キーワード (def, print など) */
.toc::before {
.mw-highlight .nf { color: #4ec9b0 !important; }  /* 関数名 (dinner_menu) */
    content: '';
.mw-highlight .s  { color: #ce9178 !important; }  /* 文字列 */
    position: absolute;
.mw-highlight .c1 { color: #6a9955 !important; }  /* コメント */
    top: 0;
.mw-highlight .p  { color: #d4d4d4 !important; }  /* 括弧や句読点 */
    left: 0;
.mw-highlight .n  { color: #9cdcfe !important; }  /* 変数名 */
    right: 0;
.mw-highlight .o  { color: #d4d4d4 !important; } /* 演算子 */
    bottom: 0;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    z-index: -1;
}


/* C/C++の要素 */
/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
.mw-highlight .cp { color: #c678dd !important; }    /* プリプロセッサ (#include, #define など) */
/* この時、CSSを以下に示すように記述することにより、数式画像の明るさを反転させることができる */
.mw-highlight .kt { color: #569cd6 !important; }    /* 型名 (int, void など) */
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
.mw-highlight .nn { color: #61afef !important; }    /* 名前空間 */
/*background-color: #EFEFEF !important;*/
.mw-highlight .nc { color: #4ec9b0 !important; }    /* クラス名 */
/*border: solid 1px #5050C0;*/
.mw-highlight .nl { color: #61afef !important; }    /* ライブラリ名 */
/*border-radius: 5px;*/
.mw-highlight .c1 { color: #6a9955 !important; }    /* 単行コメント */
/*font-family: "Latin Modern Math";*/
.mw-highlight .cm { color: #6a9955 !important; }    /* 複数行コメント */
font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
.mw-highlight .na { color: #9cdcfe !important; }    /* 属性名 */
/*font-weight: bold;*/
/* 外側の余白 : 上0px 下0px, 左右3px */
/*margin: 0px 0px 3px;*/
/* 内側の余白 : 上下3px, 左右3px */
/*padding: 0px 3px;*/
/*display: none !important;*/
}


/* テンプレート関連 */
pre .mwe-math-fallback-image-inline, pre .mwe-math-fallback-image-display {
.mw-highlight .ops { color: #d4d4d4 !important; /* テンプレート演算子 */
/*color: black !important;*/
.mw-highlight .tel { color: #4ec9b0 !important; /* テンプレート要素 */
/*background-color: #EFEFEF !important;*/
/*border: solid 1px #5050C0;*/
/*border-radius: 5px;*/
/*font-family: "Latin Modern Math";*/
font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
/*font-weight: bold;*/
/* 外側の余白 : 上0px 下0px, 左右3px */
/*margin: 0px 0px 3px;*/
/* 内側の余白 : 上下3px, 左右3px */
/*padding: 0px 3px;*/
/*box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);*/
/*display: none !important;*/
}


/* シェルスクリプト (シェル / ZSH / Fish) の要素 */
th .mwe-math-element {
.mw-highlight .nv { color: #9cdcfe !important; }    /* 変数名 ($PATH など) */
/*border: solid 1px #5050C0;*/
.mw-highlight .nb { color: #569cd6 !important; }    /* 組み込みコマンド */
/*border-radius: 5px;*/
.mw-highlight .s1,
background-color: inherit;
.mw-highlight .s2 { color: #ce9178 !important; }    /* 文字列 */
/*font-family: "Latin Modern Math";*/
.mw-highlight .c1 { color: #6a9955 !important; }    /* コメント */
font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
 
/*font-weight: bold;*/
/* PHPの要素 */
/* 外側の余白 : 上0px 下0px, 左右3px */
.mw-highlight .vg { color: #9cdcfe !important; }    /* グローバル変数 */
/*margin: 0px 0px 3px;*/
.mw-highlight .nf { color: #dcdcaa !important; }    /* 関数名 */
/* 内側の余白 : 上下3px, 左右3px */
.mw-highlight .nx { color: #dcdcaa !important; }    /* その他の識別子 */
/*padding: 0px 3px;*/
.mw-highlight .kc { color: #569cd6 !important; }    /* 定数キーワード */
}
.mw-highlight .kd { color: #569cd6 !important; }    /* 宣言キーワード */
.mw-highlight .mi { color: #b5cea8 !important; }    /* 数値 */
.mw-highlight .oo { color: #569cd6 !important; }    /* オブジェクト演算子 */
 
/* 特殊な構文要素 */
.mw-highlight .sh-bang { color: #6a9955 !important; }    /* シバン (#!) */
.mw-highlight .php-tag { color: #569cd6 !important; }    /* PHPタグ */
 
/* 数値 */
.mw-highlight .mi { color: #b5cea8 !important; }    /* 整数 */
.mw-highlight .mf { color: #b5cea8 !important; }    /* 浮動小数点数 */
 
/* 行番号がある場合 */
.mw-highlight .linenos {
background-color: #2d2d2d !important;
color: #858585 !important;
border-right: 1px solid #404040 !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 */
}
 
/* 表のキャプション */
.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: #202020 !important;
text-align: center;
}
 
table tr[style="background-color:#e0e0e0;"] {
  background-color: #5f5f5f !important;
}
 
.wikitable 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: linear-gradient(to bottom, #5c80b9 0%, #4a6ea9 100%); /* グラデーションを追加してよりモダンな印象に */
}
 
/* ホバー時の強調表示(オプション) */
.wikitable th:hover {
    background: linear-gradient(to bottom, #6890c9 0%, #5a7eb9 100%);
}
 
td {/*tdに対して*/
color: #fefefe;
text-align: left;
border: solid 1px blue;
}
 
/* 表の縦罫線のスタイル */
tr > td:first-child {
    border-left: 3px solid blue;
}
tr > td:last-child {
    border-right: 3px solid blue;
}
 
/* 表の横罫線のスタイル */
tr:first-child > td {
    border-top: 3px solid blue;
}
tr:last-child > td {
    border-bottom: 3px solid blue;
}
 
/* 結合セルの境界線 */
[rowspan] {
    border-top: 2px solid blue !important;
    border-bottom: 2px solid blue !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 {
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;
}
a:link {
    color: #FF560A !important;
}
a:visited {
    color: #b589d6 !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;
}


/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
td .mwe-math-element {
/* この時、CSSを以下に示すように記述することにより、数式画像の明るさを反転させることができる */
/*border: solid 1px #5050C0;*/
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
/*border-radius: 5px;*/
    /*background-color: #EFEFEF !important;*/
/*font-family: "Latin Modern Math";*/
  /*border: solid 1px #5050C0;*/
font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
  /*border-radius: 5px;*/
/*font-weight: bold;*/
font-family: "Latin Modern Math";
/* 外側の余白 : 上下0px, 左右2px */
        font-weight: bold;
/*margin: 1px 2px;*/
    margin: 0px 0px 3px; /* 外側の余白 : 上0px 下0px, 左右3px */
/* 内側の余白 : 上下3px, 左右3px */
    padding: 0px 3px; /* 内側の余白 : 上下3px, 左右3px */
/*padding: 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;
}
}
}



2025年1月18日 (土) 10:41時点における最新版

/* 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: 15px !important;
	}
}

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

	.mw-content-ltr {
		font-size: 16px;
	}
}

/* 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;
}

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


/* タイトルページ */
.firstHeading {
   font-family:   "Segoe UI", -apple-system, system-ui, sans-serif !important;
   text-align:    center;
   border:        1px solid rgba(0, 0, 0, 0.1); /* 薄い境界線 */
   border-left:   4px solid #4299e1;  /* 左側のアクセントボーダー */
   border-right:  4px solid #4299e1;  /* 右側のアクセントボーダー */
   border-radius: 12px;
   padding:       16px 24px;
   margin:        16px auto;
   width:         fit-content;
   min-width:     75%;
   max-width:     90%;
   background: linear-gradient(135deg,
       #f8faff 0%,
       #f0f5ff 25%,
       #e8f0ff 75%,
       #e0ebff 100%
   );
   box-shadow:     0 2px 8px rgba(0, 0, 0, 0.05);
   color:          #1a365d;
   transition:     all 0.3s ease;
}

.firstHeading:hover {
   border-left-color:  #3182ce;
   border-right-color: #3182ce;
   box-shadow:        0 4px 12px rgba(0, 0, 0, 0.08);
   transform:         translateY(-1px);
}

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);*/
	background: linear-gradient(to bottom right, rgb(250, 250, 250), white);
	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-color: rgb(250, 250, 250);*/
	background: linear-gradient(to bottom right, rgb(250, 250, 250), white);
	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: 1px solid #303030;
}

tr > td:last-child {
	border-right: 1px solid #303030;
}

/* 表の横罫線のスタイル */
tr:first-child > td {
	border-top: 1px solid #303030;
}

tr:last-child > td {
	border-bottom: 1px solid #303030;
}

/* 結合セルの境界線 */
.wikitable td[rowspan] {
	border: solid 1px rgb(50, 50, 50);
    /*border: 1px solid #303030;*/
}

/* キャプションがない場合、テーブルの上端を丸くする */
.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;
}

/* モダンでカラフルな目次のスタイル */
#toc,
.toc {
    border: none;
    background: linear-gradient(135deg,
        #4158D0 0%,
        #C850C0 46%,
        #FFCC70 100%
    );
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 目次のタイトル全体 */
#toc #mw-toc-heading,
.toc .toctitle h2 {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
}

/* 非表示リンクのスタイル */
.toctoggle,
.toctoggle a {
    color: #ffffff !important;
    font-weight: bold;
    background-color: transparent;
    padding: 0.1rem 0.1rem 0.0rem 0.1rem;
    border-radius: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration : underline;
}

.toctoggle:hover,
.toctoggle a:hover {
    color: #ff7e00 !important;
    background-color: #ffffff;
}

/* 目次の「非表示」リンク */
.toc .toctogglelabel {
    color: #ffffff;
    background-color: transparent;
    background-blend-mode: lighten;
    padding: 0.1rem 0.1rem 0.0rem 0.1rem;
    border-radius: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration : underline;
}

.toc .toctogglelabel:hover {
    color: #ff7e00;
    background-color: #ffffff;
    background-blend-mode: lighten;
}

/* 目次の項目コンテナ */
.toc ul {
    background-color: rgb(255, 255, 255);
    padding:          0.2rem;
    margin:           0;
    border-radius:    12px;
    box-shadow:       inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 目次の項目 */
.toc li {
    margin:     0.1rem 0;
    padding:    0.1rem 0;
    transition: all 0.3s ease;
}

/* 目次の番号 */
.toc li > a > span.tocnumber,
.toc-number {
    color: #C850C0;
    font-weight: 600;
    margin-right: 0.7rem;
}

/* ホバー時の番号の色 */
.toc li > a:hover > span.tocnumber,
.toc a:hover .toc-number {
    color: #ffffff !important;
}

/* リンクの基本スタイル */
.toc a {
    color:           #2d3748;
    text-decoration: none;
    display:         block;
    padding:         0.2rem 0.6rem;
    border-radius:   8px;
    transition:      all 0.3s ease;
    font-weight:     500;
}

/* ホバー時のスタイル */
.toc a:hover {
    color: #ffffff !important;
    background: linear-gradient(45deg, #4158D0, #C850C0);
    transform: translateX(6px);
    border: none;
    padding: 0.2rem 0.6rem;  /* 0.4rem 0.8rem から 0.2rem 0.6rem に変更 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 目次の番号 */
.toc-number {
    color: #C850C0;
    font-weight: 600;
    margin-right: 0.7rem;
}

/* ホバー時の番号の色 */
.toc a:hover .toc-number {
    color: #ffffff !important;
}

/* ネストされた項目のインデント */
.toc ul ul {
    margin-left: 1.2rem;
    background-color: transparent;
    box-shadow: none;
}

/* アクティブな項目 */
.toc a:active {
    color: #ffffff;
    background: linear-gradient(45deg, #C850C0, #FFCC70);
    transform: translateX(4px) scale(0.98);
    transition: all 0.1s ease;
}

/* 目次全体にグラスモーフィズム効果を追加 */
.toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    z-index: -1;
}

/* 数式は黒文字で描画するため、ダークモードを使用している場合、見えにくい可能性がある */
/* この時、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-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
	/*font-weight: bold;*/
	/* 外側の余白 : 上0px 下0px, 左右3px */
	/*margin: 0px 0px 3px;*/
	/* 内側の余白 : 上下3px, 左右3px */
	/*padding: 0px 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-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
	/*font-weight: bold;*/
	/* 外側の余白 : 上0px 下0px, 左右3px */
	/*margin: 0px 0px 3px;*/
	/* 内側の余白 : 上下3px, 左右3px */
	/*padding: 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-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
	/*font-weight: bold;*/
	/* 外側の余白 : 上0px 下0px, 左右3px */
	/*margin: 0px 0px 3px;*/
	/* 内側の余白 : 上下3px, 左右3px */
	/*padding: 0px 3px;*/
}

td .mwe-math-element {
	/*border: solid 1px #5050C0;*/
	/*border-radius: 5px;*/
	/*font-family: "Latin Modern Math";*/
	font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif !important;
	/*font-weight: bold;*/
	/* 外側の余白 : 上下0px, 左右2px */
	/*margin: 1px 2px;*/
	/* 内側の余白 : 上下3px, 左右3px */
	/*padding: 3px 3px;*/
}


/* 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;
}