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

提供: 小樽のじかん事典
編集の要約なし
タグ: 手動差し戻し 差し戻し済み
編集の要約なし
タグ: 差し戻し済み
29行目: 29行目:




/* =====================================================
  Timeless:Comments 拡張の表示幅調整
  (本文幅いっぱいまで使用)
  ===================================================== */


/* コメント領域の外枠(Timeless 本文幅を最大限使用) */
#mw-content-block #mw-data-after-content {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}
/* コメント本体 */
#mw-data-after-content .comments-body {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}


/* =====================================================
/* =====================================================

2026年1月11日 (日) 06:18時点における版

/* =====================================================
   Timeless:ページツールの不要項目を非表示
   ===================================================== */

/* サイドバー TOOLBOX 内 */
#t-whatlinkshere,
#t-recentchangeslinked,
#t-info,
#t-log {
  display: none;
}

/* 右カラム ページツール */
#mw-related-navigation #t-print,
#mw-related-navigation #t-permalink,
#mw-related-navigation #t-pagelog {
  display: none;
}

/* 右カラム ページツール「その他」見出し */
#mw-related-navigation #p-pagemisc > h3 {
  display: none;
}

/* 記事タイトル直下 インラインツール「その他」 */
#mw-page-header-links #p-more {
  display: none;
}




/* =====================================================
   Comments:背景色を記事本文と同じにする
   ===================================================== */

/* コメント領域の背面(Timeless の灰色を打ち消す) */
#mw-data-after-content {
  background-color: #ffffff;
}

/* コメント本体 */
#mw-data-after-content .comments-body,
#mw-data-after-content .c-comment,
#mw-data-after-content .c-item {
  background-color: #ffffff;
}

/* コメント外枠の装飾を弱める(任意) */
#mw-data-after-content .c-item {
  background-color: transparent;
  border: none;
}