/* Thème « pack parchemin » MountyHall — assets officiels repris de * https://www.mountyhall.com/MH_Pack/packMH_parchemin/ (img/mh/). * Palette du pack : fond lin (fond2.jpg), tableaux crème #FFFFEE à bordure * noire (tableau1/2.jpg), liens #990000, boutons olive #666633, texte noir, * boiseries sombres pour les bandeaux, police Trebuchet MS. */ * { box-sizing: border-box; margin: 0; padding: 0; } body { background: #f0f0f0 url("../img/mh/fond2.jpg"); color: #000000; font-family: "Trebuchet MS", "Times New Roman", Times, serif; font-size: 13px; min-height: 100vh; padding-bottom: 1.75rem; } a { color: #990000; text-decoration: none; font-weight: bold; } a:hover { text-decoration: underline; } .app-footer { position: fixed; bottom: 0; left: 0; right: 0; padding: 4px 12px; text-align: center; font-size: 0.72em; color: #ffffcc; background: #1a140e url("../img/mh/interfacebas2.jpg"); border-top: 1px solid #000000; z-index: 200; } .screen { min-height: 100vh; } .hidden { display: none !important; } /* ---------- Écrans création / fin ---------- */ #screen-create, #screen-end, #screen-community { display: flex; align-items: center; justify-content: center; padding: 20px; } .create-box { max-width: 760px; background: #FFFFEE url("../img/mh/tableau1.jpg"); border: 1px solid #000000; padding: 30px; text-align: center; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); } .create-box h1 { color: #990000; font-size: 2.2em; } .subtitle { color: #666633; font-style: italic; margin: 6px 0 14px; } .lore { margin: 10px 0 20px; line-height: 1.5; color: #333300; } #troll-name { width: 60%; padding: 9px; font-size: 1.1em; background: #FFFFEE; border: 1px solid #1E2A63; color: #000000; text-align: center; margin-bottom: 18px; font-family: inherit; } #race-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 20px; text-align: left; } .race-card { background: #FFFFEE; border: 1px solid #000000; padding: 12px; cursor: pointer; transition: background .15s; } .race-card:hover { background: #EBEDAB; } .race-card.selected { background: #EBEDAB url("../img/mh/tableau2.jpg"); border: 2px solid #990000; padding: 11px; } .race-card h4 { color: #990000; margin-bottom: 4px; } .race-card .race-desc { font-size: .85em; color: #333300; line-height: 1.35; } .race-card .race-stats { font-size: .78em; color: #666633; margin-top: 6px; font-family: monospace; } .big-btn { background: #666633; color: #FFFFFF; border-style: outset; border-width: 2px; border-top-color: #CCCC00; border-left-color: #CCCC00; border-right-color: #330000; border-bottom-color: #330000; padding: 10px 26px; font-size: 1.1em; font-family: inherit; font-weight: bold; cursor: pointer; } .big-btn:hover { background: #7a7a3d; } .big-btn:active { border-style: inset; } /* ---------- Écran de jeu ---------- */ header { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; background: #1a140e url("../img/mh/interfacehaut_small.jpg"); background-size: auto 100%; border-bottom: 2px solid #000000; } header h1 { font-size: 1.3em; color: #FFFFCC; text-shadow: 1px 1px 2px #000; } #depth-label { font-size: 1.05em; color: #FFCC33; font-weight: bold; text-shadow: 1px 1px 2px #000; } #layout { display: flex; gap: 10px; padding: 10px; align-items: flex-start; } #panel-left, #panel-right { width: 270px; flex-shrink: 0; background: #FFFFEE url("../img/mh/tableau1.jpg"); border: 1px solid #000000; padding: 10px; font-size: .9em; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); } #panel-left h2 { color: #990000; font-size: 1.05em; margin-bottom: 8px; } #panel-left h3, #panel-right h3 { color: #000000; font-size: .95em; margin: 12px 0 6px; padding: 2px 6px; background: #EBEDAB url("../img/mh/tableau2.jpg"); border: 1px solid #000000; } .panel-tabs { display: flex; gap: 4px; margin: 8px 0 10px; border-bottom: 1px solid #000000; padding-bottom: 6px; } .panel-tab { flex: 1; padding: 5px 4px; font-size: 0.78em; font-family: inherit; background: #FFFFEE; border: 1px solid #666633; color: #333300; cursor: pointer; } .panel-tab:hover { background: #EBEDAB; } .panel-tab.active { background: #EBEDAB url("../img/mh/tableau2.jpg"); border-color: #990000; color: #990000; font-weight: bold; } .fx-badge { display: inline-block; min-width: 1.1em; padding: 0 4px; margin-left: 2px; border-radius: 8px; background: #990000; color: #FFFFCC; font-size: 0.85em; font-weight: bold; } .fx-badge.hidden { display: none; } #stats div, #mp-stats div { display: flex; justify-content: space-between; padding: 2px 0; } #stats .stat-val, #mp-stats .stat-val { font-family: monospace; color: #000000; font-weight: bold; } #stats .stat-hint, #mp-stats .stat-hint { color: #666633; font-size: 0.82em; font-family: inherit; font-weight: normal; } #effects-panel { margin-top: 4px; } .fx-empty { color: #666633; font-style: italic; font-size: 0.88em; line-height: 1.4; } .fx-total { background: #EBEDAB url("../img/mh/tableau2.jpg"); border: 1px solid #000000; padding: 8px; margin-bottom: 10px; } .fx-total-title { color: #990000; font-size: 0.85em; margin-bottom: 6px; font-weight: bold; } .fx-total .fx-mod { margin: 0 6px 4px 0; } .fx-card { background: #FFFFEE; border: 1px solid #000000; padding: 8px; margin-bottom: 8px; } .fx-card-buff { border-color: #008040; border-width: 2px; } .fx-card-debuff { border-color: #990000; border-width: 2px; } .fx-card-head { display: flex; justify-content: space-between; gap: 6px; color: #000000; font-size: 0.88em; margin-bottom: 4px; font-weight: bold; } .fx-turns { color: #666633; font-size: 0.9em; white-space: nowrap; font-weight: normal; } .fx-card-mods { display: flex; flex-wrap: wrap; gap: 4px; } .fx-mod { display: inline-block; font-size: 0.78em; font-family: monospace; padding: 2px 5px; border: 1px solid #CBC5AD; background: #FFFFFF; color: #333300; } .fx-card-buff .fx-mod { color: #008040; } .fx-card-debuff .fx-mod { color: #990000; } .hp-bar-wrap { background: #CBC5AD; border: 1px solid #000; height: 14px; margin: 6px 0; overflow: hidden; } .hp-bar { background: #CC0000; height: 100%; transition: width .2s; } .hp-bar.high { background: #008040; } .hp-bar.mid { background: #CC9900; } #improve button, #inventory button, #actions button, #mp-improve button, #mp-inventory button, #mp-actions button { display: block; width: 100%; margin: 4px 0; padding: 5px 8px; background: #666633; border-style: outset; border-width: 1px; border-top-color: #CCCC00; border-left-color: #CCCC00; border-right-color: #330000; border-bottom-color: #330000; color: #FFFFFF; font-family: inherit; font-size: .9em; cursor: pointer; text-align: left; } #improve button:hover:not(:disabled), #inventory button:hover:not(:disabled), #actions button:hover:not(:disabled), #mp-improve button:hover:not(:disabled), #mp-inventory button:hover:not(:disabled), #mp-actions button:hover:not(:disabled) { background: #7a7a3d; } #improve button:active:not(:disabled), #inventory button:active:not(:disabled), #actions button:active:not(:disabled), #mp-improve button:active:not(:disabled), #mp-inventory button:active:not(:disabled), #mp-actions button:active:not(:disabled) { border-style: inset; } #improve button:disabled, #inventory button:disabled, #actions button:disabled, #mp-improve button:disabled, #mp-inventory button:disabled, #mp-actions button:disabled { opacity: .45; cursor: default; } #panel-center { flex-grow: 1; text-align: center; } #map { background: #0d0a06; border: 2px solid #000000; image-rendering: pixelated; max-width: 100%; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4); } #pa-bar { margin: 8px 0; font-size: 1.3em; letter-spacing: 4px; } #actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; } #actions button, #mp-actions button { width: auto; display: inline-block; } .help p { font-size: .8em; color: #666633; margin: 3px 0; } /* ---------- Menu & communauté ---------- */ .menu-row { margin-top: 14px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; } .menu-btn { background: #666633; color: #FFFFFF; border-style: outset; border-width: 1px; border-top-color: #CCCC00; border-left-color: #CCCC00; border-right-color: #330000; border-bottom-color: #330000; padding: 7px 14px; font-family: inherit; font-size: .92em; font-weight: bold; cursor: pointer; } .menu-btn:hover { background: #7a7a3d; } .menu-btn:active { border-style: inset; } #level-list { margin: 16px 0; text-align: left; max-height: 50vh; overflow-y: auto; } .level-row { display: block; width: 100%; margin: 6px 0; padding: 10px 12px; background: #FFFFEE; border: 1px solid #000000; color: #000000; font-family: inherit; font-size: .95em; text-align: left; cursor: pointer; } .level-row:hover { background: #EBEDAB; } /* ---------- Éditeur ---------- */ #ed-layout { display: flex; gap: 10px; padding: 10px; align-items: flex-start; } #ed-palette { width: 250px; flex-shrink: 0; background: #FFFFEE url("../img/mh/tableau1.jpg"); border: 1px solid #000000; padding: 10px; font-size: .9em; max-height: 80vh; overflow-y: auto; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); } #ed-palette h3 { color: #000000; font-size: .95em; margin: 10px 0 6px; padding: 2px 6px; background: #EBEDAB url("../img/mh/tableau2.jpg"); border: 1px solid #000000; } #ed-palette button, #ed-palette select { display: block; width: 100%; margin: 3px 0; padding: 5px 8px; background: #FFFFEE; border: 1px solid #666633; color: #000000; font-family: inherit; font-size: .92em; cursor: pointer; text-align: left; } #ed-palette button:hover { background: #EBEDAB; } #ed-palette button.selected { background: #EBEDAB url("../img/mh/tableau2.jpg"); border: 1px solid #990000; color: #990000; font-weight: bold; } #ed-main { flex-grow: 1; text-align: center; } #ed-map { cursor: crosshair; } #ed-meta { margin: 10px 0; display: flex; gap: 10px; justify-content: center; } #ed-meta input { padding: 8px 10px; font-size: 1em; background: #FFFFEE; border: 1px solid #1E2A63; color: #000000; width: 40%; font-family: inherit; } #ed-actions { display: flex; gap: 10px; justify-content: center; } #ed-status { margin: 10px 0; min-height: 1.2em; font-size: .95em; } .ed-warn { color: #FF0000; } .ed-ok { color: #008040; } .ed-note { font-size: .8em; color: #666633; } /* ---------- Règles des talents ---------- */ .header-right { display: flex; align-items: center; gap: 12px; } #rules-body { max-width: 1100px; margin: 0 auto; padding: 10px 16px 40px; } .rules-race { color: #990000; border-bottom: 2px solid #000000; margin: 24px 0 12px; font-size: 1.4em; } .rules-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 14px; } .rules-fiche { background: #FFFFEE url("../img/mh/tableau1.jpg"); border: 1px solid #000000; padding: 14px; font-size: .92em; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); } .rules-fiche-title { color: #000000; font-weight: bold; font-size: 1.1em; text-align: center; background: #EBEDAB url("../img/mh/tableau2.jpg"); border: 1px solid #000000; padding: 4px 6px; margin-bottom: 8px; } .rules-fiche table { width: 100%; border-collapse: collapse; margin-bottom: 8px; } .rules-fiche td { padding: 2px 6px; vertical-align: top; } .rules-fiche td:first-child { color: #666633; width: 45%; } .rules-section { color: #990000; font-weight: bold; margin: 10px 0 4px; letter-spacing: 1px; } .rules-text { color: #000000; line-height: 1.5; } .rules-flavor { font-style: italic; color: #666633; } .rules-myinfo { background: #FFFFFF; border: 2px solid #008040; padding: 10px; margin-bottom: 12px; } .rules-myinfo-title { color: #008040; font-weight: bold; text-align: center; border-bottom: 1px solid #008040; padding-bottom: 4px; margin-bottom: 6px; } .rules-myinfo table { width: 100%; } .rules-myinfo td { padding: 2px 6px; } .rules-myinfo td:first-child { color: #666633; width: 45%; } #ed-help { max-width: 600px; margin: 0 auto; } #equipment div, #inventory .empty { font-size: .88em; padding: 2px 0; color: #333300; } #bottom-row { display: flex; gap: 10px; margin: 0 10px 10px; align-items: stretch; } #log { flex: 1 1 55%; background: #FFFFEE url("../img/mh/tableau1.jpg"); border: 1px solid #000000; padding: 8px 12px; height: 190px; overflow-y: auto; font-size: .85em; font-family: monospace; line-height: 1.45; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); } #combat-detail { flex: 1 1 45%; background: #FFFFEE url("../img/mh/tableau1.jpg"); border: 1px solid #000000; padding: 8px 12px; height: 190px; overflow-y: auto; font-size: .85em; line-height: 1.5; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); } #combat-detail .cd-header { color: #000000; font-weight: bold; border-bottom: 1px solid #000000; margin-bottom: 6px; position: sticky; top: 0; background: #EBEDAB url("../img/mh/tableau2.jpg"); padding: 1px 4px; } #combat-detail .cd-empty { color: #666633; font-style: italic; } .cd-block { border-bottom: 1px dashed #CBC5AD; padding: 6px 0; color: #333300; } .cd-block .cd-title { color: #990000; font-weight: bold; } .cd-val { color: #993300; font-weight: bold; } .cd-good { color: #008040; font-weight: bold; } .cd-bad { color: #CC0000; font-weight: bold; } #log .l-combat { color: #993300; } #log .l-bad { color: #CC0000; } #log .l-good { color: #008040; } #log .l-info { color: #666666; } /* ---------- Multijoueur : journaux et statut ---------- */ #mp-log, #mp-world-log { flex: 1 1 50%; background: #FFFFEE url("../img/mh/tableau1.jpg"); border: 1px solid #000000; padding: 8px 12px; height: 190px; overflow-y: auto; font-size: .85em; font-family: monospace; line-height: 1.45; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); } #mp-world-log .cd-header { color: #000000; font-weight: bold; border-bottom: 1px solid #000000; margin-bottom: 6px; position: sticky; top: 0; background: #EBEDAB url("../img/mh/tableau2.jpg"); padding: 1px 4px; } #mp-log .l-combat, #mp-world-log .l-combat { color: #993300; } #mp-log .l-bad, #mp-world-log .l-bad { color: #CC0000; } #mp-log .l-good, #mp-world-log .l-good { color: #008040; } #mp-log .l-info, #mp-world-log .l-info { color: #666666; } #mp-status { font-weight: bold; } #screen-mp #panel-center { overflow: auto; } /* ---------- Trésors du Hall (potions, parchemins & équipement) ---------- */ #treasures-body { max-width: 1100px; margin: 0 auto; padding: 10px 16px 40px; } .tz-intro, .tz-note { color: #333300; line-height: 1.5; font-size: .92em; } .tz-intro a { color: #990000; } .tz-note { font-style: italic; margin-top: 18px; } .tz-section { color: #990000; border-bottom: 2px solid #000000; margin: 24px 0 12px; font-size: 1.3em; scroll-margin-top: 64px; /* pour que l'ancre ne passe pas sous le menu collant */ } /* Menu de navigation entre sections (collant en haut). */ .tz-nav { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0; margin: 8px 0 4px; background: #FFFFEE url("../img/mh/tableau1.jpg"); border-bottom: 1px solid #000000; } .tz-nav a { padding: 5px 10px; font-size: .9em; text-decoration: none; color: #333300; background: #EBEDAB url("../img/mh/tableau2.jpg"); border: 1px solid #666633; } .tz-nav a:hover { border-color: #990000; color: #990000; } /* Bouton « remonter en haut » flottant. */ .tz-top { position: fixed; right: 18px; bottom: 18px; z-index: 6; width: 44px; height: 44px; font-size: 1.4em; line-height: 1; color: #FFFFCC; background: #666633; border: 1px solid #000000; border-radius: 50%; cursor: pointer; box-shadow: 1px 1px 4px rgba(0, 0, 0, .4); } .tz-top:hover { background: #990000; } .tz-top.hidden { display: none; } .tz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; } .tz-card { background: #FFFFEE url("../img/mh/tableau1.jpg"); border: 1px solid #000000; border-left: 6px solid var(--tz-color, #666633); padding: 10px 12px; font-size: .92em; } .tz-name { color: #000000; font-weight: bold; } .tz-meta { color: #666633; font-size: .88em; margin: 4px 0 8px; } .tz-meta b { color: #000000; } .tz-fx-list { display: flex; flex-wrap: wrap; gap: 4px; } .tz-fx { background: #FFFFFF; border: 1px solid #CBC5AD; padding: 2px 7px; color: #333300; font-size: .9em; } .tz-good { color: #008040; } .tz-bad { color: #990000; } /* ---------- Sac groupé par type + actions par objet ---------- */ .bag-group { font-weight: bold; color: #333300; border-bottom: 1px solid #666633; margin: 8px 0 3px; font-size: .85em; } .bag-item { padding: 3px 0 5px; border-bottom: 1px dotted #99996a; } .bag-name { font-size: .9em; color: #000000; } .bag-item .eq-mods { margin-left: 0; } .bag-actions { display: flex; gap: 4px; margin-top: 3px; } #inventory .bag-actions button, #mp-inventory .bag-actions button { display: inline-block; width: auto; flex: 1 1 auto; margin: 0; padding: 3px 6px; font-size: .78em; } .unequip-btn { background: none; border: none; cursor: pointer; font-size: .85em; padding: 0 2px; } .unequip-btn:disabled { opacity: .35; cursor: default; } /* ---------- Équipement 6 emplacements ---------- */ .eq-line { margin-bottom: 6px; line-height: 1.3; } .eq-slot { display: inline-block; min-width: 72px; color: #666633; font-size: .85em; } .eq-mods { color: #666633; font-size: .78em; margin-left: 72px; } .tz-subsection { color: #000000; background: #EBEDAB url("../img/mh/tableau2.jpg"); border: 1px solid #000000; padding: 3px 8px; margin: 16px 0 8px; font-size: 1.05em; }