「MediaWiki:Monobook.css」の版間の差分
ナビゲーションに移動
検索に移動
(内容を「→ここに記述したCSSはモノブック・スキンの利用者に影響します: 」で置換) タグ: 置換 差し戻し済み |
編集の要約なし タグ: 手動差し戻し |
||
| 1行目: | 1行目: | ||
/* ここに記述したCSSはモノブック・スキンの利用者に影響します */ | /* ここに記述したCSSはモノブック・スキンの利用者に影響します */ | ||
/* enlarge font-size for ja fonts */ | |||
#bodyContent { | |||
font-size: 118%; | |||
} | |||
#siteNotice { | |||
margin-top: 5px; | |||
margin-bottom: -.5em; | |||
} | |||
/* BEGIN LIGHT BLUE SECTION | |||
Make content area light blue in all namespaces except articles (main namespace). | |||
This is done by setting the background color for all #content areas | |||
to light blue, and then overriding it back to white for any #content | |||
enclosed in a .ns-0 (main namespace). We do the same for the "tab" | |||
backgrounds and some other objects. */ | |||
div#content, | |||
div#p-cactions li a:hover, | |||
div#p-cactions li.selected a, | |||
div#content div.thumb { /* "Margin" for thumbs, padding for galleries */ | |||
background-color: #F8FCFF; /* Light blue */ | |||
} | |||
div#p-cactions li a { | |||
background-color: #F7F9FB; /* Light blue-gray inactive tabs */ | |||
} | |||
.ns-0 div#content, | |||
.ns-0 div#p-cactions li a:hover, .ns-0 div#p-cactions li.selected a, | |||
.ns-0 div#content div.thumb { | |||
background-color: white; /* Set back to white for articles */ | |||
} | |||
.ns-0 div#p-cactions li a { | |||
background-color: #FBFBFB; /* Light gray inactive tabs in articles */ | |||
} | |||
@media print { | |||
div#content { | |||
background: white; | |||
} /* White background on print */ | |||
} | |||
/* END LIGHT BLUE SECTION */ | |||
/* Talk page tab "+" / "new section". | |||
Sets the same padding as the other tabs have. */ | |||
div#p-cactions #ca-addsection a { | |||
padding-left: .8em; | |||
padding-right: .8em; | |||
} | |||
/* "出典: フリー百科事典『ウィキペディア(Wikipedia)』" */ | |||
#siteSub { | |||
display: inline; | |||
font-size: 98%; | |||
font-weight: normal; | |||
} | |||
#bodyContent #siteSub a { | |||
color: #000; | |||
text-decoration: none; | |||
background-color: transparent; | |||
background-image: none; | |||
padding-right: 0; | |||
} | |||
/* Bold 'edit this page' link to encourage newcomers */ | |||
#ca-edit a { | |||
font-weight: bold !important; | |||
} | |||
/* 脚注挿入による行間のずれを軽減する。[[MediaWiki‐ノート:Common.css#脚注による行間のずれ]] */ | |||
sup { | |||
font-size:.85em; | |||
vertical-align: .4em; | |||
line-height: 0; | |||
} | |||
/* 地理座標の表示位置 */ | |||
#coordinates { | |||
position: absolute; | |||
z-index: 10; | |||
background-color: #fff; | |||
right: 0; | |||
top: 0; | |||
font-size: 85%; | |||
} | |||
.ve-ce-surface-enabled #coordinates { | |||
margin-top: -3em; | |||
} | |||
#bodyContent { | |||
position: relative; | |||
} | |||
.topicon { | |||
position: absolute; | |||
z-index: 10; | |||
right: 0; | |||
top: -30px; | |||
display: block !important; | |||
} | |||
/* 編集画面のボタンを太字表示にする */ | |||
#wpSave, #wpPreview, #wpDiff, #mw-editform-cancel { | |||
font-weight: bold; | |||
} | |||
2023年2月20日 (月) 11:50時点における最新版
/* ここに記述したCSSはモノブック・スキンの利用者に影響します */
/* enlarge font-size for ja fonts */
#bodyContent {
font-size: 118%;
}
#siteNotice {
margin-top: 5px;
margin-bottom: -.5em;
}
/* BEGIN LIGHT BLUE SECTION
Make content area light blue in all namespaces except articles (main namespace).
This is done by setting the background color for all #content areas
to light blue, and then overriding it back to white for any #content
enclosed in a .ns-0 (main namespace). We do the same for the "tab"
backgrounds and some other objects. */
div#content,
div#p-cactions li a:hover,
div#p-cactions li.selected a,
div#content div.thumb { /* "Margin" for thumbs, padding for galleries */
background-color: #F8FCFF; /* Light blue */
}
div#p-cactions li a {
background-color: #F7F9FB; /* Light blue-gray inactive tabs */
}
.ns-0 div#content,
.ns-0 div#p-cactions li a:hover, .ns-0 div#p-cactions li.selected a,
.ns-0 div#content div.thumb {
background-color: white; /* Set back to white for articles */
}
.ns-0 div#p-cactions li a {
background-color: #FBFBFB; /* Light gray inactive tabs in articles */
}
@media print {
div#content {
background: white;
} /* White background on print */
}
/* END LIGHT BLUE SECTION */
/* Talk page tab "+" / "new section".
Sets the same padding as the other tabs have. */
div#p-cactions #ca-addsection a {
padding-left: .8em;
padding-right: .8em;
}
/* "出典: フリー百科事典『ウィキペディア(Wikipedia)』" */
#siteSub {
display: inline;
font-size: 98%;
font-weight: normal;
}
#bodyContent #siteSub a {
color: #000;
text-decoration: none;
background-color: transparent;
background-image: none;
padding-right: 0;
}
/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a {
font-weight: bold !important;
}
/* 脚注挿入による行間のずれを軽減する。[[MediaWiki‐ノート:Common.css#脚注による行間のずれ]] */
sup {
font-size:.85em;
vertical-align: .4em;
line-height: 0;
}
/* 地理座標の表示位置 */
#coordinates {
position: absolute;
z-index: 10;
background-color: #fff;
right: 0;
top: 0;
font-size: 85%;
}
.ve-ce-surface-enabled #coordinates {
margin-top: -3em;
}
#bodyContent {
position: relative;
}
.topicon {
position: absolute;
z-index: 10;
right: 0;
top: -30px;
display: block !important;
}
/* 編集画面のボタンを太字表示にする */
#wpSave, #wpPreview, #wpDiff, #mw-editform-cancel {
font-weight: bold;
}