メニューを切り替える
個人設定メニューを切り替える
個人メニューを切り替える
ログインしていません
編集を行うと、IPアドレスが公開されます。

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

MediaWikiインターフェイスページ
編集の要約なし
編集の要約なし
 
(同じ利用者による、間の12版が非表示)
1行目: 1行目:
/* ここに記述したCSSは携帯機器版サイトの利用者に影響します */
/* ここに記述したCSSは携帯機器版サイトの利用者に影響します */
.hlist dl,
 
.hlist ol,
/* The message body cell(s), such as for {{Commonscat}}.
.hlist ul {
* this is a very small subset of the styles from Common.css
    margin: 0;
* just to make sure the box isn't squashed without any spacing
    padding: 0;
* which looks out of place with visuals of other nearby elements
*/
.mbox-text {
/* @noflip */
padding: 0.25em 0.9em;
}
 
/* Style for horizontal lists (separator following item).
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
  @revision 9 (2016-08-10)
  @author [[User:Edokter]]
*/
.mw-parser-output .hlist dl,
.mw-parser-output .hlist ol,
.mw-parser-output .hlist ul {
margin: 0;
padding: 0;
}
}
/* Display list items inline */
/* Display list items inline */
.hlist li {
.mw-parser-output .hlist li {
    margin: 0;
margin: 0;
    display: inline;
display: inline;
}
}
/* reset hlist margins of Minerva
/* reset hlist margins of Minerva
do not add li here (see T235416) */
do not add li here (see T235416) */
.hlist dd,
.mw-parser-output .hlist dd,
.hlist dt {
.mw-parser-output .hlist dt {
margin-right: 0 !important;
margin-right: 0 !important;
display: inline;
display: inline;
}
}
/* Display nested lists inline */
/* Display nested lists inline */
.hlist.inline,
.mw-parser-output .hlist.inline,
.hlist.inline dl,
.mw-parser-output .hlist.inline dl,
.hlist.inline ol,
.mw-parser-output .hlist.inline ol,
.hlist.inline ul,
.mw-parser-output .hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.mw-parser-output .hlist dl dl, .mw-parser-output .hlist dl ol, .mw-parser-output .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.mw-parser-output .hlist ol dl, .mw-parser-output .hlist ol ol, .mw-parser-output .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
.mw-parser-output .hlist ul dl, .mw-parser-output .hlist ul ol, .mw-parser-output .hlist ul ul {
    display: inline;
display: inline;
}
}
/* Hide empty list items */
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
.hlist .mw-empty-elt {
    display: none;
display: none;
}
}
/* Generate interpuncts */
/* Generate interpuncts */
#bodyContent .hlist dt:after {
.mw-parser-output .hlist dt:after {
    content: ":";
content: ":";
}
}
#bodyContent .hlist dd:after,
.mw-parser-output .hlist dd:after,
#bodyContent .hlist li:after {
.mw-parser-output .hlist li:after {
    content: " ·";
content: " ·" !important;
    font-weight: bold;
font-weight: bold;
padding-left: 0px;
}
}
#bodyContent .hlist dd:last-child:after,
.mw-parser-output .hlist dd:last-child:after,
#bodyContent .hlist dt:last-child:after,
.mw-parser-output .hlist dt:last-child:after,
#bodyContent .hlist li:last-child:after {
.mw-parser-output .hlist li:last-child:after {
    content: none !important;
content: none !important;
}
}
/* Add parentheses around nested lists */
/* Add parentheses around nested lists */
#bodyContent .hlist dd dd:first-child:before, #bodyContent .hlist dd dt:first-child:before, #bodyContent .hlist dd li:first-child:before,
.mw-parser-output .hlist dd dd:first-child:before, .mw-parser-output .hlist dd dt:first-child:before, .mw-parser-output .hlist dd li:first-child:before,
#bodyContent .hlist dt dd:first-child:before, #bodyContent .hlist dt dt:first-child:before, #bodyContent .hlist dt li:first-child:before,
.mw-parser-output .hlist dt dd:first-child:before, .mw-parser-output .hlist dt dt:first-child:before, .mw-parser-output .hlist dt li:first-child:before,
#bodyContent .hlist li dd:first-child:before, #bodyContent .hlist li dt:first-child:before, #bodyContent .hlist li li:first-child:before {
.mw-parser-output .hlist li dd:first-child:before, .mw-parser-output .hlist li dt:first-child:before, .mw-parser-output .hlist li li:first-child:before {
    content: "(" !important;
content: "(" !important;
    font-weight: normal;
font-weight: normal;
}
}
#bodyContent .hlist dd dd:last-child:after, #bodyContent .hlist dd dt:last-child:after, #bodyContent .hlist dd li:last-child:after,
.mw-parser-output .hlist dd dd:last-child:after, .mw-parser-output .hlist dd dt:last-child:after, .mw-parser-output .hlist dd li:last-child:after,
#bodyContent .hlist dt dd:last-child:after, #bodyContent .hlist dt dt:last-child:after, #bodyContent .hlist dt li:last-child:after,
.mw-parser-output .hlist dt dd:last-child:after, .mw-parser-output .hlist dt dt:last-child:after, .mw-parser-output .hlist dt li:last-child:after,
#bodyContent .hlist li dd:last-child:after, #bodyContent .hlist li dt:last-child:after, #bodyContent .hlist li li:last-child:after {
.mw-parser-output .hlist li dd:last-child:after, .mw-parser-output .hlist li dt:last-child:after, .mw-parser-output .hlist li li:last-child:after {
    content: ")" !important;
content: ")" !important;
    font-weight: normal;
font-weight: normal;
}
}
/* Put ordinals in front of ordered list items */
/* Put ordinals in front of ordered list items */
#bodyContent .hlist ol {
.mw-parser-output .hlist ol {
    counter-reset: listitem;
counter-reset: listitem;
}
}
#bodyContent .hlist ol > li {
.mw-parser-output .hlist ol > li {
    counter-increment: listitem;
counter-increment: listitem;
}
}
#bodyContent .hlist ol > li:before {
.mw-parser-output .hlist ol > li:before {
    content: " " counter(listitem) ".\a0";
content: " " counter(listitem) ".\a0";
}
}
#bodyContent .hlist dd ol > li:first-child:before,
.mw-parser-output .hlist dd ol > li:first-child:before,
#bodyContent .hlist dt ol > li:first-child:before,
.mw-parser-output .hlist dt ol > li:first-child:before,
#bodyContent .hlist li ol > li:first-child:before {
.mw-parser-output .hlist li ol > li:first-child:before {
    content: " (" counter(listitem) "\a0";
content: " (" counter(listitem) "\a0";
}
}
/* 日本語版の独自仕様。-pipe、-hyphen、-comma、-slash */
/* 日本語版の独自仕様。-pipe、-hyphen、-comma、-slash */
#bodyContent .hlist-pipe dd:after,
.mw-parser-output .hlist-pipe dd:after,
#bodyContent .hlist-pipe li:after {
.mw-parser-output .hlist-pipe li:after {
    content: " |" !important;
content: " |" !important;
    font-weight: normal;
font-weight: normal;
}
}
#bodyContent .hlist-hyphen dd:after,
.mw-parser-output .hlist-hyphen dd:after,
#bodyContent .hlist-hyphen li:after {
.mw-parser-output .hlist-hyphen li:after {
    content: " -" !important;
content: " -" !important;
    font-weight: normal;
font-weight: normal;
}
}
#bodyContent .hlist-comma dd:after,
.mw-parser-output .hlist-comma dd:after,
#bodyContent .hlist-comma li:after {
.mw-parser-output .hlist-comma li:after {
    content: "、" !important;
content: "、" !important;
    font-weight: normal;
font-weight: normal;
}
}
#bodyContent .hlist-slash dd:after,
.mw-parser-output .hlist-slash dd:after,
#bodyContent .hlist-slash li:after {
.mw-parser-output .hlist-slash li:after {
    content: " /" !important;
content: " /" !important;
    font-weight: normal;
font-weight: normal;
}
}
/* Unbulleted lists */
/* Unbulleted lists */
112行目: 129行目:
word-wrap: break-word;
word-wrap: break-word;
word-break: keep-all;
word-break: keep-all;
    white-space:nowrap;
}
}


#ca-talk { display:none!important; } /*議論タブを消す*/
/* [[MediaWiki‐ノート:Common.css#Template:Math関連の更新提案]]
#ca-history { display:none!important; } /*履歴表示タブを消す*/
  Generic class texhtml class for inline math */
#ca-viewsource { display:none!important; } /*ソース表示タブを消す*/
span.texhtml {
#footer { display: none; }
font-family: serif;
#footer-places { display: none; }
white-space: nowrap;
#footer-info-lastmod { display: none; }
}


.wikitable{
/* Hide broken download box on [[Special:Book]] pending [[phab:T285400]] */
overflow-x: auto;
.mw-special-Book #coll-downloadbox {
display: none;
}
}
.mw-logo-wordmark { color:#FF9800; }


:root {
:root {
     font-size: 80%;
     font-size: 90%;
}
 
/* [[Template:Infobox Person]]用のスタイル */
.Person {
width: auto; font-size: 90%; margin: 0 auto; display: inline-block;
border-collapse: collapse;  clear: center;
}
.Person th { white-space: nowrap; }
.Person td { text-align: left; }
/* </source> */
 
 
/* Portable Infobox用CSS */
.portable-infobox {
width: 95%; font-size: 90%;
}
.portable-infobox .pi-title {
  background-color: #ff9800 !important;
  font-size: 120% !Important;
  text-align: center !Important;
}
.portable-infobox .pi-header {
  background-color: #ff9800 !important;
  font-size: 100% !Important;
}
.portable-infobox .pi-data-label {
  text-align: left;
}
}

2026年1月28日 (水) 15:49時点における最新版

/* ここに記述したCSSは携帯機器版サイトの利用者に影響します */

/* The message body cell(s), such as for {{Commonscat}}.
 * this is a very small subset of the styles from Common.css
 * just to make sure the box isn't squashed without any spacing
 * which looks out of place with visuals of other nearby elements
 */
.mbox-text {
	/* @noflip */
	padding: 0.25em 0.9em;
}

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 9 (2016-08-10)
   @author [[User:Edokter]]
 */
.mw-parser-output .hlist dl,
.mw-parser-output .hlist ol,
.mw-parser-output .hlist ul {
	margin: 0;
	padding: 0;
}
/* Display list items inline */
.mw-parser-output .hlist li {
	margin: 0;
	display: inline;
}
/* reset hlist margins of Minerva
do not add li here (see T235416) */
.mw-parser-output .hlist dd,
.mw-parser-output .hlist dt {
	margin-right: 0 !important;
	display: inline;
}
/* Display nested lists inline */
.mw-parser-output .hlist.inline,
.mw-parser-output .hlist.inline dl,
.mw-parser-output .hlist.inline ol,
.mw-parser-output .hlist.inline ul,
.mw-parser-output .hlist dl dl, .mw-parser-output .hlist dl ol, .mw-parser-output .hlist dl ul,
.mw-parser-output .hlist ol dl, .mw-parser-output .hlist ol ol, .mw-parser-output .hlist ol ul,
.mw-parser-output .hlist ul dl, .mw-parser-output .hlist ul ol, .mw-parser-output .hlist ul ul {
	display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
	display: none;
}
/* Generate interpuncts */
.mw-parser-output .hlist dt:after {
	content: ":";
}
.mw-parser-output .hlist dd:after,
.mw-parser-output .hlist li:after {
	content: " ·" !important;
	font-weight: bold;
	padding-left: 0px;
}
.mw-parser-output .hlist dd:last-child:after,
.mw-parser-output .hlist dt:last-child:after,
.mw-parser-output .hlist li:last-child:after {
	content: none !important;
}
/* Add parentheses around nested lists */
.mw-parser-output .hlist dd dd:first-child:before, .mw-parser-output .hlist dd dt:first-child:before, .mw-parser-output .hlist dd li:first-child:before,
.mw-parser-output .hlist dt dd:first-child:before, .mw-parser-output .hlist dt dt:first-child:before, .mw-parser-output .hlist dt li:first-child:before,
.mw-parser-output .hlist li dd:first-child:before, .mw-parser-output .hlist li dt:first-child:before, .mw-parser-output .hlist li li:first-child:before {
	content: "(" !important;
	font-weight: normal;
}
.mw-parser-output .hlist dd dd:last-child:after, .mw-parser-output .hlist dd dt:last-child:after, .mw-parser-output .hlist dd li:last-child:after,
.mw-parser-output .hlist dt dd:last-child:after, .mw-parser-output .hlist dt dt:last-child:after, .mw-parser-output .hlist dt li:last-child:after,
.mw-parser-output .hlist li dd:last-child:after, .mw-parser-output .hlist li dt:last-child:after, .mw-parser-output .hlist li li:last-child:after {
	content: ")" !important;
	font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.mw-parser-output .hlist ol {
	counter-reset: listitem;
}
.mw-parser-output .hlist ol > li {
	counter-increment: listitem;
}
.mw-parser-output .hlist ol > li:before {
	content: " " counter(listitem) ".\a0";
}
.mw-parser-output .hlist dd ol > li:first-child:before,
.mw-parser-output .hlist dt ol > li:first-child:before,
.mw-parser-output .hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}
/* 日本語版の独自仕様。-pipe、-hyphen、-comma、-slash */
.mw-parser-output .hlist-pipe dd:after,
.mw-parser-output .hlist-pipe li:after {
	content: " |" !important;
	font-weight: normal;
}
.mw-parser-output .hlist-hyphen dd:after,
.mw-parser-output .hlist-hyphen li:after {
	content: " -" !important;
	font-weight: normal;
}
.mw-parser-output .hlist-comma dd:after,
.mw-parser-output .hlist-comma li:after {
	content: "、" !important;
	font-weight: normal;
}
.mw-parser-output .hlist-slash dd:after,
.mw-parser-output .hlist-slash li:after {
	content: " /" !important;
	font-weight: normal;
}
/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
	list-style: none none;
	padding-left: 0; /* Reset Minerva defaults */
}
.plainlist ol li,
.plainlist ul li {
	margin-bottom: 0;
}

/* 表が縦に長くなるのを防ぐ */
.wikitable, .tracklist {
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: keep-all;
}

/* [[MediaWiki‐ノート:Common.css#Template:Math関連の更新提案]]
   Generic class texhtml class for inline math */
span.texhtml {
	font-family: serif;
	white-space: nowrap;
}

/* Hide broken download box on [[Special:Book]] pending [[phab:T285400]] */
.mw-special-Book #coll-downloadbox {
	display: none;
}

:root {
    font-size: 90%;
}