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

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

MediaWikiインターフェイスページ
編集の要約なし
編集の要約なし
78行目: 78行目:


#テーブルヘッダー固定(追従)
#テーブルヘッダー固定(追従)
.sticky-header-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
.sticky-header-table th {
.sticky-header-table th {
   position: sticky;
   position: sticky;

2025年3月30日 (日) 04:02時点における版

/* ここに記述したCSSはすべての外装に反映されます */

.copy-btn {
    float: right;
    margin-bottom: 5px;
    cursor: pointer;
    background-color: #4287f5;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 3px 6px;
}

/* 絵文字のフォント指定 */
#mw-panel, #mw-panel .portal h3, #mw-panel .portal .body {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
body {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

/* サイドバーの絵文字表示CSS */
#mw-panel .portal .body ul li::before {
    content: attr(data-emoji);
    margin-right: 6px;
    font-size: 1.1em;
}

/* ユーステラFANBOXボタンのスタイル */
.fanbox-button {
  display: inline-block;
  background-color: #ff6289;
  color: white;
  padding: 0.5em 1.2em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}
.fanbox-button:hover {
  background-color: #e8577a;
}

/* セクション編集リンク(鉛筆)を非表示にする */
.mw-editsection {
  display: none !important;
}

/* 🧑‍💻 ページ全体のフォントをNoto Sans JPに指定 */
body,
.mw-body,
#content,
#mw-content-text,
.skin-citizen .citizen-body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

/* 💬 数字専用:ちょっと文字間詰め&整列 */
.num,
span.num,
.table td,
.table th {
  font-feature-settings: "pnum" on, "lnum" on;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.02em;
}

.sticky-header-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

#テーブルヘッダー固定(追従)
.sticky-header-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
.sticky-header-table th {
  position: sticky;
  top: 0;
  background-color: #f9f9f9; /* 背景色はCitizenスキンに馴染むように */
  z-index: 2;
  border-bottom: 1px solid #ccc;
}