Files
ff14-guide/common/css/seesaa_neutral_gray.css
T
armonica 9842e052e0 feat: 全22ジョブ・クラスのマクロ適用版WXHB全体配置ページ作成と導線追加
- 機工士を皮切りに戦闘全21ジョブおよび巴術士(計22職)の macro_xhb.html を新規作成
- 各職 index.html / xhb.html / macros.html / arcanist/cd_hotbar.html へ遷移導線を追加
- トップポータル index.html(全ジョブ一覧・収録統計154ページ)および xhb/index.html を同期更新
- seesaa_neutral_gray.css へマクロ適用版スロット(hl-macro)関連スタイルを追加
2026-11-15 12:41:18 +09:00

833 lines
19 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@charset "UTF-8";
/* ==========================================================================
Seesaa Wiki ニュートラルグレー(Neutral Gray)完全踏襲スタイルシート
FINAL FANTASY XIV 総合攻略Wiki 専用共通デザイン
========================================================================== */
/* 基本リセット & 変数定義 */
:root {
--wiki-bg: #ebeeef; /* ページ全体のベース背景(淡いグレー) */
--wiki-wrap-bg: #ffffff; /* コンテンツ全体の背景(白) */
--wiki-border: #d0d3d8; /* 基本枠線色 */
--wiki-border-light: #e4e6ea; /* 薄い区切り線 */
--wiki-text-main: #2b2f36; /* 本文文字色(濃いグレー) */
--wiki-text-muted: #69707d; /* 補足文字色 */
--wiki-link: #0b5fb3; /* リンク青 */
--wiki-link-hover: #083c70; /* リンクホバー色 */
/* ニュートラルグレー見出し・バーカラー */
--wiki-bar-bg: #525a66; /* ナビバー・サイドメニュー見出し背景 */
--wiki-bar-text: #ffffff; /* バー文字色 */
--wiki-h2-bg: #eef0f3; /* H2帯背景色 */
--wiki-h2-border: #525a66; /* H2左ボーダー色 */
--wiki-h3-border: #636d7a; /* H3下ボーダー色 */
/* サイドバー */
--wiki-sidebar-bg: #f7f8fa; /* サイドバー背景 */
--wiki-sidebar-box-bg: #ffffff; /* サイドメニュー枠背景 */
/* テーブル */
--wiki-th-bg: #eceef2; /* 表見出し背景 */
--wiki-th-text: #333842; /* 表見出し文字色 */
--wiki-td-stripe: #fafbfc; /* 表ストライプ行 */
/* マクロ・コードブロック */
--wiki-macro-bg: #f5f6f8; /* マクロ表示背景 */
--wiki-macro-border: #c8cbd2; /* マクロ枠線 */
--wiki-macro-header: #e4e6ec; /* マクロタイトルヘッダー */
/* コールアウト・通知枠 */
--wiki-info-bg: #eef5fc;
--wiki-info-border: #b8d4ed;
--wiki-warn-bg: #fff9eb;
--wiki-warn-border: #ecd499;
--wiki-danger-bg: #fdf2f2;
--wiki-danger-border: #f0b8b8;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--wiki-bg);
color: var(--wiki-text-main);
font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 14px;
line-height: 1.68;
-webkit-font-smoothing: antialiased;
}
a {
color: var(--wiki-link);
text-decoration: none;
}
a:hover {
color: var(--wiki-link-hover);
text-decoration: underline;
}
/* 全体ラッパー(Seesaa Wiki風中央配置) */
#wiki-wrapper {
max-width: 1240px;
margin: 0 auto;
background-color: var(--wiki-wrap-bg);
border-left: 1px solid var(--wiki-border);
border-right: 1px solid var(--wiki-border);
min-height: 100vh;
display: flex;
flex-direction: column;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}
/* ヘッダーエリア */
#wiki-header {
background-color: #ffffff;
padding: 24px 30px 18px;
border-bottom: 1px solid var(--wiki-border);
}
.wiki-site-title {
font-size: 24px;
font-weight: 700;
color: #333942;
letter-spacing: -0.01em;
margin-bottom: 6px;
}
.wiki-site-title a {
color: #333942;
text-decoration: none;
}
.wiki-site-title a:hover {
color: var(--wiki-link);
text-decoration: none;
}
.wiki-site-desc {
font-size: 12px;
color: var(--wiki-text-muted);
}
/* グローバルナビゲーションバー(ニュートラルグレー帯) */
#wiki-global-nav {
background-color: var(--wiki-bar-bg);
border-top: 1px solid #444b55;
border-bottom: 1px solid #3c424c;
}
.wiki-nav-list {
display: flex;
list-style: none;
flex-wrap: wrap;
padding: 0 16px;
}
.wiki-nav-list li a {
display: block;
padding: 9px 16px;
color: var(--wiki-bar-text);
font-size: 13px;
font-weight: 600;
border-right: 1px solid rgba(255, 255, 255, 0.12);
transition: background-color 0.15s ease;
}
.wiki-nav-list li:first-child a {
border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.wiki-nav-list li a:hover,
.wiki-nav-list li a.active {
background-color: #3f4651;
text-decoration: none;
}
/* 3ペイングリッドレイアウト(ヘッダー・サイドメニュー・コンテンツ) */
#wiki-container {
display: grid;
grid-template-columns: 250px minmax(0, 1fr);
grid-template-areas: "sidebar main";
align-items: start;
flex: 1;
min-width: 0;
}
/* 左サイドバー(グリッド列・通常配置) */
#wiki-sidebar {
grid-area: sidebar;
width: 250px;
max-width: 100%;
background-color: var(--wiki-sidebar-bg);
border-right: 1px solid var(--wiki-border);
padding: 16px 12px;
align-self: start;
overflow-wrap: break-word;
}
/* モバイル用ドロワー制御(PC幅では無効) */
.wiki-drawer-toggle {
display: none;
}
.wiki-drawer-overlay {
display: none;
}
.sidebar-box {
background-color: var(--wiki-sidebar-box-bg);
border: 1px solid var(--wiki-border);
margin-bottom: 16px;
font-size: 13px;
}
.sidebar-title {
background-color: var(--wiki-bar-bg);
color: var(--wiki-bar-text);
font-size: 12px;
font-weight: 700;
padding: 6px 12px;
letter-spacing: 0.03em;
}
.sidebar-content {
padding: 8px 12px;
}
.sidebar-content ul {
list-style: none;
}
.sidebar-content li {
padding: 4px 0;
border-bottom: 1px dashed var(--wiki-border-light);
}
.sidebar-content li:last-child {
border-bottom: none;
}
.sidebar-content li a {
color: #38404a;
display: block;
transition: color 0.12s;
}
.sidebar-content li a:hover {
color: var(--wiki-link);
padding-left: 3px;
}
.sidebar-content li.current a {
font-weight: 700;
color: var(--wiki-link);
}
/* サイト内検索枠(サイドバー) */
.sidebar-search-box {
display: flex;
flex-wrap: wrap;
gap: 4px;
align-items: stretch;
max-width: 100%;
}
.sidebar-search-input {
flex: 1 1 auto;
min-width: 0;
width: 100%;
padding: 5px 8px;
font-size: 12px;
border: 1px solid var(--wiki-border);
outline: none;
border-radius: 2px;
}
.sidebar-search-input:focus {
border-color: var(--wiki-bar-bg);
}
.sidebar-search-btn {
flex: 0 0 auto;
white-space: nowrap;
background-color: #646d7a;
color: #ffffff;
border: 1px solid #525a66;
padding: 5px 10px;
font-size: 12px;
cursor: pointer;
border-radius: 2px;
}
.sidebar-search-btn:hover {
background-color: #4b535f;
}
/* 右メインコンテンツ */
#wiki-main {
grid-area: main;
padding: 24px 30px 48px;
background-color: #ffffff;
min-width: 0; /* グリッド列の最小幅暴走防止 */
}
/* パンくずリスト */
.wiki-breadcrumbs {
font-size: 12px;
color: var(--wiki-text-muted);
margin-bottom: 16px;
padding-bottom: 8px;
border-bottom: 1px solid var(--wiki-border-light);
}
.wiki-breadcrumbs a {
color: var(--wiki-text-muted);
}
.wiki-breadcrumbs a:hover {
color: var(--wiki-link);
}
.wiki-breadcrumbs span {
margin: 0 4px;
}
/* ページタイトル(H1) */
.wiki-page-header {
margin-bottom: 24px;
border-bottom: 2px solid var(--wiki-bar-bg);
padding-bottom: 10px;
}
.wiki-page-title {
font-size: 22px;
font-weight: 700;
color: #24292f;
margin-bottom: 6px;
}
.wiki-page-meta {
font-size: 11px;
color: var(--wiki-text-muted);
display: flex;
gap: 16px;
}
/* Seesaa Wiki ニュートラルグレー見出しスタイル */
h2.wiki-h2 {
font-size: 16px;
font-weight: 700;
color: #2e343d;
background-color: var(--wiki-h2-bg);
border-left: 6px solid var(--wiki-h2-border);
border-top: 1px solid var(--wiki-border-light);
border-right: 1px solid var(--wiki-border-light);
border-bottom: 1px solid var(--wiki-border-light);
padding: 8px 14px;
margin-top: 32px;
margin-bottom: 16px;
}
h3.wiki-h3 {
font-size: 15px;
font-weight: 700;
color: #38404b;
border-left: 4px solid var(--wiki-h3-border);
border-bottom: 1px solid #d8dade;
padding: 4px 10px;
margin-top: 24px;
margin-bottom: 12px;
}
h4.wiki-h4 {
font-size: 14px;
font-weight: 700;
color: #4b535f;
margin-top: 18px;
margin-bottom: 8px;
border-bottom: 1px dotted var(--wiki-border);
padding-bottom: 2px;
}
p {
margin-bottom: 14px;
}
/* リスト */
ul.wiki-list, ol.wiki-list {
margin-left: 24px;
margin-bottom: 16px;
}
ul.wiki-list li, ol.wiki-list li {
margin-bottom: 4px;
}
/* テーブルスタイル(Seesaa標準) */
.wiki-table {
width: 100%;
border-collapse: collapse;
margin: 16px 0 24px;
font-size: 13px;
border: 1px solid var(--wiki-border);
}
.wiki-table th, .wiki-table td {
border: 1px solid var(--wiki-border);
padding: 8px 12px;
text-align: left;
}
.wiki-table th {
background-color: var(--wiki-th-bg);
color: var(--wiki-th-text);
font-weight: 700;
text-align: center;
white-space: nowrap;
}
.wiki-table tr:nth-child(even) td {
background-color: var(--wiki-td-stripe);
}
/* マクロ解説専用枠(完全詳細仕様) */
.wiki-macro-box {
background-color: var(--wiki-macro-bg);
border: 1px solid var(--wiki-macro-border);
border-radius: 3px;
margin: 18px 0 24px;
overflow: hidden;
}
.wiki-macro-header {
background-color: var(--wiki-macro-header);
border-bottom: 1px solid var(--wiki-macro-border);
padding: 6px 12px;
font-size: 12px;
font-weight: 700;
color: #3b424d;
display: flex;
justify-content: space-between;
align-items: center;
}
.wiki-macro-code {
font-family: Consolas, "Courier New", "Meiryo", monospace;
font-size: 13px;
line-height: 1.55;
background-color: #fbfcff;
padding: 12px 14px;
border-bottom: 1px dashed var(--wiki-macro-border);
white-space: pre-wrap;
word-break: break-all;
color: #1a202c;
}
.wiki-macro-explanation {
padding: 10px 14px;
font-size: 12.5px;
background-color: #ffffff;
color: #444b55;
line-height: 1.6;
}
.wiki-macro-explanation dt {
font-weight: 700;
color: #2b3038;
margin-top: 6px;
}
.wiki-macro-explanation dd {
margin-left: 14px;
margin-bottom: 4px;
}
/* コールアウト・注釈ボックス */
.wiki-callout {
padding: 12px 16px;
margin: 16px 0;
border: 1px solid var(--wiki-border);
border-radius: 2px;
font-size: 13px;
}
.wiki-callout.info {
background-color: var(--wiki-info-bg);
border-color: var(--wiki-info-border);
}
.wiki-callout.warn {
background-color: var(--wiki-warn-bg);
border-color: var(--wiki-warn-border);
}
.wiki-callout.danger {
background-color: var(--wiki-danger-bg);
border-color: var(--wiki-danger-border);
}
.wiki-callout-title {
font-weight: 700;
margin-bottom: 4px;
display: flex;
align-items: center;
gap: 6px;
}
.wiki-callout.info .wiki-callout-title { color: #1e5a8a; }
.wiki-callout.warn .wiki-callout-title { color: #8a621e; }
.wiki-callout.danger .wiki-callout-title { color: #9c2828; }
/* ページネーション(前後のページリンク) */
.wiki-pagination {
display: flex;
justify-content: space-between;
margin-top: 36px;
padding-top: 16px;
border-top: 1px solid var(--wiki-border);
font-size: 13px;
}
.wiki-pagination a {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
background-color: #f4f5f7;
border: 1px solid var(--wiki-border);
border-radius: 2px;
color: #3b424d;
}
.wiki-pagination a:hover {
background-color: #e8eaee;
text-decoration: none;
color: var(--wiki-link);
}
/* フッター */
#wiki-footer {
background-color: #e2e4e8;
border-top: 1px solid var(--wiki-border);
padding: 18px 24px;
text-align: center;
font-size: 11px;
color: #6a717e;
line-height: 1.6;
}
/* モバイル対応(レスポンシブ) */
@media (max-width: 860px) {
#wiki-container {
flex-direction: column;
}
#wiki-sidebar {
width: 100%;
border-right: none;
border-bottom: 1px solid var(--wiki-border);
}
#wiki-main {
padding: 18px 16px 36px;
}
}
/* ==========================================================================
クロスホットバー(XHB)ビジュアル図解コンポーネント(Seesaaグレー調)
========================================================================== */
.xhb-diagram-wrapper {
background-color: #f7f8fa;
border: 1px solid var(--wiki-border);
border-radius: 4px;
padding: 16px;
margin: 20px 0 28px;
}
.xhb-diagram-header {
font-size: 14px;
font-weight: 700;
color: #2b3038;
border-bottom: 2px solid var(--wiki-bar-bg);
padding-bottom: 8px;
margin-bottom: 14px;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.xhb-diagram-pair {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
gap: 16px;
}
.xhb-diagram-side {
background-color: #ffffff;
border: 1px solid var(--wiki-border);
border-radius: 4px;
padding: 12px;
}
.xhb-diagram-side-title {
font-size: 13px;
font-weight: 700;
color: #ffffff;
background-color: var(--wiki-bar-bg);
padding: 5px 10px;
border-radius: 3px;
margin-bottom: 12px;
text-align: center;
}
.xhb-diagram-side-title.side-l2 { background-color: #404955; }
.xhb-diagram-side-title.side-r2 { background-color: #525a66; }
.xhb-diagram-side-title.side-set2-l2 { background-color: #4a5c68; }
.xhb-diagram-side-title.side-set2-r2 { background-color: #5c5064; }
.xhb-cluster-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.dpad-cluster, .face-cluster {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, auto);
gap: 4px;
background-color: #f1f2f5;
padding: 8px;
border-radius: 4px;
border: 1px solid var(--wiki-border-light);
}
.xhb-v-slot, .xhb-slot {
background-color: #ffffff;
border: 1px solid #c8cad0;
border-radius: 4px;
padding: 4px 2px;
text-align: center;
min-height: 58px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
font-size: 11px;
line-height: 1.25;
}
.xhb-v-slot.slot-up, .xhb-slot.slot-up { grid-column: 2; grid-row: 1; }
.xhb-v-slot.slot-left, .xhb-slot.slot-left { grid-column: 1; grid-row: 2; }
.xhb-v-slot.slot-center-lbl, .xhb-slot.slot-center-lbl, .slot-center-lbl {
grid-column: 2;
grid-row: 2;
background: transparent;
border: none;
font-size: 10px;
font-weight: 700;
color: var(--wiki-text-muted);
min-height: auto;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.xhb-v-slot.slot-right, .xhb-slot.slot-right { grid-column: 3; grid-row: 2; }
.xhb-v-slot.slot-down, .xhb-slot.slot-down { grid-column: 2; grid-row: 3; }
.slot-badge-no {
position: absolute;
top: 2px;
left: 3px;
font-size: 9px;
font-family: Consolas, monospace;
color: #717782;
font-weight: 700;
}
.btn-pill {
font-size: 10px;
font-weight: 700;
padding: 1px 5px;
border-radius: 3px;
margin-bottom: 2px;
display: inline-block;
line-height: 1.2;
}
.btn-pill.pill-dpad { background-color: #475569; color: #ffffff; }
.btn-pill.pill-face { background-color: #3f4651; color: #ffffff; }
.btn-pill.pill-tri { background-color: #15803d; color: #ffffff; }
.btn-pill.pill-cir { background-color: #b91c1c; color: #ffffff; }
.btn-pill.pill-crs { background-color: #1d4ed8; color: #ffffff; }
.btn-pill.pill-sqr { background-color: #be185d; color: #ffffff; }
.v-skill-title {
font-weight: 700;
color: #1a202c;
font-size: 11px;
}
.v-skill-note {
font-size: 9.5px;
color: #555e6d;
margin-top: 2px;
}
/* スロット分類ハイライト */
.xhb-v-slot.hl-gcd, .xhb-slot.hl-gcd { border: 1.5px solid #d97706; background-color: #fffdfa; }
.xhb-v-slot.hl-ogcd, .xhb-slot.hl-ogcd { border: 1.5px solid #0284c7; background-color: #f8fcff; }
.xhb-v-slot.hl-song, .xhb-slot.hl-song { border: 1.5px solid #7c3aed; background-color: #faf7ff; }
.xhb-v-slot.hl-buff, .xhb-slot.hl-buff { border: 1.5px solid #dc2626; background-color: #fff8f8; }
.xhb-v-slot.hl-role, .xhb-slot.hl-role { border: 1.5px solid #64748b; background-color: #f8fafc; }
.xhb-v-slot.hl-macro, .xhb-slot.hl-macro { border: 2px solid #0b5fb3; background-color: #eef5fc; }
@media (max-width: 900px) {
.xhb-diagram-pair { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
.xhb-cluster-container { grid-template-columns: 1fr; }
}
/* ============================================================
ロール別アコーディオン(details/summary ベース)
trials などの討滅戦ページで使用
============================================================ */
.wiki-acc-item {
border: 1px solid #dcdfe3;
border-radius: 4px;
margin-bottom: 8px;
background: #ffffff;
}
.wiki-acc-summary {
cursor: pointer;
padding: 10px 14px;
font-weight: bold;
color: #2b2f36;
background: #f7f9fa;
border-left: 4px solid #7a8a99;
list-style: none;
position: relative;
}
.wiki-acc-summary::-webkit-details-marker { display: none; }
.wiki-acc-summary::after {
content: "+";
position: absolute;
right: 14px;
}
.wiki-acc-item[open] > .wiki-acc-summary::after { content: "-"; }
.wiki-acc-item > ul {
margin: 0;
padding: 12px 14px 12px 32px;
}
/* ============================================================
レスポンシブ(3ペイン → 1カラム+オフキャンバスドロワー)
860px 以下でサイドメニューを左ドロワー化する
============================================================ */
@media (max-width: 860px) {
#wiki-container {
grid-template-columns: minmax(0, 1fr);
grid-template-areas: "main";
}
/* ヘッダー内のハンバーガーボタン */
.wiki-drawer-toggle {
display: inline-flex;
align-items: center;
gap: 6px;
position: absolute;
top: 10px;
left: 10px;
z-index: 110;
background-color: var(--wiki-bar-bg);
color: var(--wiki-bar-text);
border: 1px solid #3c424c;
border-radius: 3px;
padding: 7px 12px;
font-size: 13px;
font-weight: 600;
line-height: 1;
cursor: pointer;
}
.wiki-drawer-toggle:hover {
background-color: #3f4651;
}
/* ドロワー化したサイドバー */
#wiki-sidebar {
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 120;
width: 82vw;
max-width: 320px;
height: 100vh;
border-right: 1px solid var(--wiki-border);
border-bottom: none;
overflow-y: auto;
transform: translateX(-100%);
transition: transform 0.2s ease;
}
#wiki-sidebar.is-open {
transform: translateX(0);
}
/* 背景オーバーレイ */
.wiki-drawer-overlay {
display: block;
position: fixed;
inset: 0;
z-index: 115;
background-color: rgba(0, 0, 0, 0.45);
opacity: 0;
visibility: hidden;
transition: opacity 0.2s ease, visibility 0.2s ease;
}
.wiki-drawer-overlay.is-open {
opacity: 1;
visibility: visible;
}
#wiki-main {
padding: 18px 16px 36px;
}
.wiki-nav-list {
padding: 0 8px;
}
.wiki-nav-list li a {
padding: 8px 10px;
font-size: 12px;
}
/* 長いURL・コード・表で横スクロールが発生しないようにする */
#wiki-main table {
display: block;
overflow-x: auto;
max-width: 100%;
}
}
@media (max-width: 480px) {
#wiki-header {
padding: 52px 16px 14px;
}
.wiki-site-title {
font-size: 19px;
}
}