< 利用者:野獣2世
編集の要約なし |
編集の要約なし |
||
| 60行目: | 60行目: | ||
padding-left: 220px !important; | padding-left: 220px !important; | ||
padding-right: 220px !important; | padding-right: 220px !important; | ||
} | |||
/* article-body を基準に */ | |||
.skin-nimbus #article-body { | |||
position: relative; | |||
padding-right: 230px !important; | |||
} | |||
/* 右 recent sidebar */ | |||
.skin-nimbus #right-recent-sidebar { | |||
position: absolute; | |||
right: 0; | |||
top: 0; | |||
width: 230px; | |||
padding: 8px; | |||
box-sizing: border-box; | |||
font-size: 12px; | |||
line-height: 1.4; | |||
background: #fafafa; | |||
border-left: 1px solid #dcdcdc; | |||
max-height: 100vh; | |||
overflow-y: auto; | |||
} | |||
/* 見出し */ | |||
#right-recent-sidebar h2 { | |||
font-size: 14px; | |||
margin: 6px 0; | |||
} | |||
/* 日付 */ | |||
#right-recent-sidebar summary { | |||
cursor: pointer; | |||
font-weight: bold; | |||
margin: 6px 0 2px; | |||
} | |||
/* リスト */ | |||
#right-recent-sidebar ul { | |||
padding-left: 16px; | |||
margin: 0 0 8px; | |||
} | } | ||
2026年1月9日 (金) 13:11時点における版
/* Nimbus既定を無効化 */
.skin-nimbus #body-container,
.skin-nimbus #content,
.skin-nimbus #mw-content-text {
margin: 0 !important;
padding: 0 !important;
max-width: none !important;
}
/* article 内ガター */
#article-body {
padding-left: 220px !important;
padding-right: 220px !important;
box-sizing: border-box;
}
/* 本文可読幅(正しいNimbus構造対応) */
.skin-nimbus article .mw-parser-output > * {
max-width: 960px;
margin-left: auto;
margin-right: auto;
}
/* サイドバー・ヘッダ完全無効化 */
#side-bar,
#site-header {
width: 0 !important;
min-width: 0 !important;
max-width: 0 !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
overflow: hidden !important;
}
/* article-body を基準にする */
.skin-nimbus #article-body {
position: relative;
}
/* 左ガター本体 */
.skin-nimbus .left-gutter {
position: absolute;
left: 0;
top: 0;
width: 220px;
padding: 8px;
box-sizing: border-box;
font-size: 12px;
line-height: 1.4;
/* 見た目(atwiki寄せ) */
border-right: 1px solid #ddd;
background: #fafafa;
}
/* 本文ガター確保 */
.skin-nimbus #article-body {
padding-left: 220px !important;
padding-right: 220px !important;
}
/* article-body を基準に */
.skin-nimbus #article-body {
position: relative;
padding-right: 230px !important;
}
/* 右 recent sidebar */
.skin-nimbus #right-recent-sidebar {
position: absolute;
right: 0;
top: 0;
width: 230px;
padding: 8px;
box-sizing: border-box;
font-size: 12px;
line-height: 1.4;
background: #fafafa;
border-left: 1px solid #dcdcdc;
max-height: 100vh;
overflow-y: auto;
}
/* 見出し */
#right-recent-sidebar h2 {
font-size: 14px;
margin: 6px 0;
}
/* 日付 */
#right-recent-sidebar summary {
cursor: pointer;
font-weight: bold;
margin: 6px 0 2px;
}
/* リスト */
#right-recent-sidebar ul {
padding-left: 16px;
margin: 0 0 8px;
}