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

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

MediaWikiインターフェイスページ
ページの作成:「All CSS here will be loaded for users of the Citizen skin: .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } Display list items inline: .hlist li { margin: 0; display: inline; } reset hlist margins of Minerva do not add li here (see T235416): .hlist dd, .hlist dt { margin-right: 0 !important; display: inline; } Display nested lists inline: .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl…」
 
編集の要約なし
 
(同じ利用者による、間の112版が非表示)
1行目: 1行目:
/* All CSS here will be loaded for users of the Citizen skin */
/* All CSS here will be loaded for users of the Citizen skin */
.hlist dl,
#ca-talk { display:none!important; } /*議論タブを消す*/
.hlist ol,
#ca-history { display:none!important; } /*履歴表示タブを消す*/
.hlist ul {
#ca-viewsource { display:none!important; } /*ソース表示タブを消す*/
    margin: 0;
 
     padding: 0;
:root {
     --width-layout: 100vw; /* Slightly wider content */
}
}
/* Display list items inline */
 
.hlist li {
.mw-logo-wordmark { color:#FF9800; }
    margin: 0;
 
     display: inline;
.skin-theme-clientpref-night,
.skin-theme-clientpref-os {
.navbox {  /* Navbox container style */
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
     color: #000;
}
}
/* reset hlist margins of Minerva
 
do not add li here (see T235416) */
.navbox + .navbox {
.hlist dd,
margin-top: -1px;         /* Single pixel border between adjacent navboxes */
.hlist dt {
margin-right: 0 !important;
display: inline;
}
}
/* Display nested lists inline */
 
.hlist.inline,
.navbox-inner,
.hlist.inline dl,
.navbox-subgroup {
.hlist.inline ol,
width: 100%;
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
}
}
/* Hide empty list items */
 
.hlist .mw-empty-li,
.navbox-title,
.hlist .mw-empty-elt {
.navbox-abovebelow,
    display: none;
.navbox th {
text-align: center;      /* Title, group and above/below styles */
padding-left: 1em;
padding-right: 1em;
}
}
/* Generate interpuncts */
 
#bodyContent .hlist dt:after {
th.navbox-group {            /* Group style */
    content: ":";
white-space: nowrap;
/* @noflip */
text-align: right;
}
}
#bodyContent .hlist dd:after,
 
#bodyContent .hlist li:after {
.navbox,
    content: " ·";
.navbox-subgroup {
     font-weight: bold;
background-color: #030303 !important; /* Background color */
     color: #e0e0e0  !important;
}
}
#bodyContent .hlist dd:last-child:after,
 
#bodyContent .hlist dt:last-child:after,
.navbox-list {
#bodyContent .hlist li:last-child:after {
border-color: #030303 !important;    /* Must match background color */
     content: none !important;
     color: #e0e0e0  !important;
}
}
/* 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,
/* cell spacing for navbox cells */
#bodyContent .hlist dt dd:first-child:before, #bodyContent .hlist dt dt:first-child:before, #bodyContent .hlist dt li:first-child:before,
tr + tr > .navbox-abovebelow,
#bodyContent .hlist li dd:first-child:before, #bodyContent .hlist li dt:first-child:before, #bodyContent .hlist li li:first-child:before {
tr + tr > .navbox-group,
    content: "(" !important;
tr + tr > .navbox-image,
    font-weight: normal;
tr + tr > .navbox-list {    /* Borders above 2nd, 3rd, etc. rows */
border-top: 2px solid  #030303; /* Must match background color */
}
}
#bodyContent .hlist dd dd:last-child:after, #bodyContent .hlist dd dt:last-child:after, #bodyContent .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,
.navbox th,
#bodyContent .hlist li dd:last-child:after, #bodyContent .hlist li dt:last-child:after, #bodyContent .hlist li li:last-child:after {
.navbox-title {
     content: ")" !important;
background-color: #ccccff;      /* Level 1 color */
    font-weight: normal;
     color: #404040 !important;
text-align: center;
}
}
/* Put ordinals in front of ordered list items */
 
#bodyContent .hlist ol {
.navbox-abovebelow,
    counter-reset: listitem;
th.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddddff;      /* Level 2 color */
    color: #404040  !important;
text-align: center;
}
}
#bodyContent .hlist ol > li {
 
     counter-increment: listitem;
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff;      /* Level 3 color */
     color: #404040 !important;
text-align: center;
}
}
#bodyContent .hlist ol > li:before {
 
    content: " " counter(listitem) ".\a0";
.navbox-even {
}
background-color: #080808 !important;   /* Even row striping */
#bodyContent .hlist dd ol > li:first-child:before,
     color: #e0e0e0  !important;
#bodyContent .hlist dt ol > li:first-child:before,
text-align: center;
#bodyContent .hlist li ol > li:first-child:before {
    content: " (" counter(listitem) "\a0";
}
/* 日本語版の独自仕様。-pipe、-hyphen、-comma、-slash */
#bodyContent .hlist-pipe dd:after,
#bodyContent .hlist-pipe li:after {
    content: " |" !important;
    font-weight: normal;
}
#bodyContent .hlist-hyphen dd:after,
#bodyContent .hlist-hyphen li:after {
    content: " -" !important;
    font-weight: normal;
}
#bodyContent .hlist-comma dd:after,
#bodyContent .hlist-comma li:after {
    content: "、" !important;
     font-weight: normal;
}
#bodyContent .hlist-slash dd:after,
#bodyContent .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;
}
}


/* 表が縦に長くなるのを防ぐ */
.navbox-odd {
.wikitable, .tracklist {
background-color: transparent; /* Odd row striping */
overflow-wrap: break-word;
    color: #e0e0e0  !important;
word-wrap: break-word;
text-align: center;
word-break: keep-all;
}
}
.wikitable{
overflow-x: auto;
}
}
/* [[Template:Infobox Person]]用のスタイル */
.Person {
width: 100%; font-size: 90%; float:right; margin:0 auto; background: #f9f9f9;
border: 1px #999999 solid; border-collapse: collapse; clear: center;
}
.Person th { white-space: nowrap; }
.Person td { text-align: left;}
/* </source> */

2025年6月12日 (木) 14:47時点における最新版

/* All CSS here will be loaded for users of the Citizen skin */
#ca-talk { display:none!important; } /*議論タブを消す*/
#ca-history { display:none!important; } /*履歴表示タブを消す*/
#ca-viewsource { display:none!important; } /*ソース表示タブを消す*/

:root {
    --width-layout: 100vw; /* Slightly wider content */
}

.mw-logo-wordmark { color:#FF9800; }

.skin-theme-clientpref-night,
.skin-theme-clientpref-os {
.navbox {  /* Navbox container style */
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	margin: auto;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
    color: #000;
}

.navbox + .navbox {
	margin-top: -1px;         /* Single pixel border between adjacent navboxes */
}

.navbox-inner,
.navbox-subgroup {
	width: 100%;
}

.navbox-title,
.navbox-abovebelow,
.navbox th {
	text-align: center;       /* Title, group and above/below styles */
	padding-left: 1em;
	padding-right: 1em;
}

th.navbox-group {             /* Group style */
	white-space: nowrap;
	/* @noflip */
	text-align: right;
}

.navbox,
.navbox-subgroup {
	background-color:  #030303 !important; /* Background color */
    color: #e0e0e0  !important;
}

.navbox-list {
	border-color:  #030303 !important;    /* Must match background color */
    color: #e0e0e0  !important;
}

/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {    /* Borders above 2nd, 3rd, etc. rows */
	border-top: 2px solid  #030303; /* Must match background color */
}

.navbox th,
.navbox-title {
	background-color: #ccccff;      /* Level 1 color */
    color: #404040 !important;
	text-align: center;
}

.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
	background-color: #ddddff;      /* Level 2 color */
    color: #404040  !important;
	text-align: center;
}

.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background-color: #e6e6ff;      /* Level 3 color */
    color: #404040 !important;
	text-align: center;
}

.navbox-even {
	background-color:  #080808 !important;    /* Even row striping */
    color: #e0e0e0  !important;
	text-align: center;
}

.navbox-odd {
	background-color: transparent;  /* Odd row striping */
    color: #e0e0e0  !important;
	text-align: center;
}
}