This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| company_workshop [2026/12/02 19:02] – created cypher | company_workshop [2026/12/03 03:34] (current) – cypher | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Requires | + | < |
| + | < | ||
| + | # | ||
| + | --mb-bg: #071019; | ||
| + | --mb-side: #0a151f; | ||
| + | --mb-panel: #0f1d28; | ||
| + | --mb-line: #294151; | ||
| + | --mb-text: #f4f8fb; | ||
| + | --mb-muted: #c4d3dc; | ||
| + | --mb-gold: #e2bc68; | ||
| + | --mb-blue: #63c3d1; | ||
| + | --mb-red: #ef8d82; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | # | ||
| + | box-sizing: border-box; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: grid; | ||
| + | grid-template-columns: | ||
| + | max-width: 1200px; | ||
| + | margin: 18px auto; | ||
| + | color: var(--mb-text); | ||
| + | background: var(--mb-bg); | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-radius: | ||
| + | overflow: hidden; | ||
| + | font: 16px/1.55 "Segoe UI", sans-serif; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | padding: 18px 14px; | ||
| + | background: var(--mb-side); | ||
| + | border-right: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | position: sticky; | ||
| + | top: 14px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 0 8px 16px; | ||
| + | color: var(--mb-gold); | ||
| + | font-size: 20px; | ||
| + | font-weight: | ||
| + | letter-spacing: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 0 8px 14px; | ||
| + | color: var(--mb-muted); | ||
| + | font-size: 13px; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: block; | ||
| + | width: 100%; | ||
| + | margin: 5px 0; | ||
| + | padding: 11px 12px; | ||
| + | color: var(--mb-text); | ||
| + | background: transparent; | ||
| + | border: 1px solid transparent; | ||
| + | border-left: | ||
| + | border-radius: | ||
| + | font: inherit; | ||
| + | text-align: left; | ||
| + | cursor: pointer; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | background: var(--mb-panel); | ||
| + | border-color: | ||
| + | border-left-color: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | color: #fff; | ||
| + | background: var(--mb-panel); | ||
| + | border-color: | ||
| + | border-left-color: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | min-width: 0; | ||
| + | padding: 20px 28px 34px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: none; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: block; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 0 0 18px; | ||
| + | padding: 18px 20px; | ||
| + | background: rgba(226, 188, 104, .06); | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-left: | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | # | ||
| + | margin: 0 0 8px; | ||
| + | color: var(--mb-gold); | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | font-size: 28px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | font-size: 26px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 7px 0 12px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | color: var(--mb-muted); | ||
| + | } | ||
| + | |||
| + | # | ||
| + | font-size: 17px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: grid; | ||
| + | grid-template-columns: | ||
| + | gap: 12px; | ||
| + | margin: 14px 0; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | padding: 13px 14px; | ||
| + | background: var(--mb-panel); | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: block; | ||
| + | margin-bottom: | ||
| + | color: var(--mb-gold); | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 14px 0; | ||
| + | padding: 12px 14px; | ||
| + | background: var(--mb-panel); | ||
| + | border-left: | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | |||
| + | # | ||
| + | margin: 0 0 22px; | ||
| + | padding: 18px; | ||
| + | background: linear-gradient(135deg, | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin-bottom: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: inline-block; | ||
| + | margin-bottom: | ||
| + | color: var(--mb-blue); | ||
| + | font-size: 12px; | ||
| + | font-weight: | ||
| + | letter-spacing: | ||
| + | text-transform: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 0 0 6px; | ||
| + | color: var(--mb-gold); | ||
| + | font-size: 23px; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 0; | ||
| + | color: var(--mb-muted); | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: grid; | ||
| + | grid-template-columns: | ||
| + | gap: 10px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: grid; | ||
| + | grid-template-columns: | ||
| + | gap: 10px; | ||
| + | align-items: | ||
| + | min-width: 0; | ||
| + | padding: 11px 12px; | ||
| + | background: rgba(7, 16, 25, .55); | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: flex; | ||
| + | align-items: | ||
| + | justify-content: | ||
| + | width: 34px; | ||
| + | height: 34px; | ||
| + | background: var(--mb-panel); | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-radius: | ||
| + | font-size: 18px; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: block; | ||
| + | margin-bottom: | ||
| + | color: #fff; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: block; | ||
| + | color: var(--mb-muted); | ||
| + | font-size: 13px; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | # | ||
| + | display: block; | ||
| + | text-decoration: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 16px 0 18px; | ||
| + | padding: 12px; | ||
| + | background: var(--mb-panel); | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: grid; | ||
| + | grid-template-columns: | ||
| + | gap: 12px; | ||
| + | margin: 16px 0 18px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | # | ||
| + | margin-bottom: | ||
| + | color: var(--mb-muted); | ||
| + | font-size: 14px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | # | ||
| + | display: block; | ||
| + | width: 100%; | ||
| + | height: auto; | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 10px 0; | ||
| + | padding: 0 0 0 0; | ||
| + | background: var(--mb-panel); | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-radius: | ||
| + | overflow: hidden; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | padding: 12px 14px; | ||
| + | color: #fff; | ||
| + | cursor: pointer; | ||
| + | font-weight: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | padding: 0 14px 14px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 8px 0 12px; | ||
| + | padding-left: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 5px 0; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | font-size: 14px; | ||
| + | } | ||
| + | |||
| + | @media (max-width: 860px) { | ||
| + | # | ||
| + | display: block; | ||
| + | margin: 8px 0; | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | border-right: | ||
| + | border-bottom: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | position: static; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: inline-block; | ||
| + | width: auto; | ||
| + | margin: 4px 4px 0 0; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | padding: 14px 18px 24px; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | # | ||
| + | # | ||
| + | grid-template-columns: | ||
| + | } | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: flex; | ||
| + | flex-wrap: wrap; | ||
| + | align-items: | ||
| + | gap: 7px; | ||
| + | margin: 0 0 18px; | ||
| + | padding: 9px 10px; | ||
| + | background: var(--mb-panel); | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin-right: | ||
| + | color: var(--mb-muted); | ||
| + | font-size: 14px; | ||
| + | font-weight: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | margin: 0; | ||
| + | padding: 6px 10px; | ||
| + | color: var(--mb-text); | ||
| + | background: var(--mb-bg); | ||
| + | border: 1px solid var(--mb-line); | ||
| + | border-radius: | ||
| + | font: inherit; | ||
| + | font-size: 14px; | ||
| + | cursor: pointer; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | # | ||
| + | color: #071019; | ||
| + | background: var(--mb-gold); | ||
| + | border-color: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | outline: 2px solid var(--mb-blue); | ||
| + | outline-offset: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: flex; | ||
| + | flex: 1 1 auto; | ||
| + | flex-wrap: wrap; | ||
| + | align-items: | ||
| + | gap: 7px; | ||
| + | min-width: 0; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | # | ||
| + | display: inline-flex; | ||
| + | flex: 0 0 auto; | ||
| + | align-items: | ||
| + | justify-content: | ||
| + | gap: 8px; | ||
| + | margin-left: | ||
| + | padding: 8px 12px; | ||
| + | color: #fff; | ||
| + | background: #5865f2; | ||
| + | border: 1px solid #818cf8; | ||
| + | border-radius: | ||
| + | box-shadow: 0 3px 10px rgba(0, 0, 0, .18); | ||
| + | font: inherit; | ||
| + | font-size: 14px; | ||
| + | font-weight: | ||
| + | line-height: | ||
| + | text-decoration: | ||
| + | white-space: | ||
| + | transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | color: #fff; | ||
| + | background: #4752c4; | ||
| + | border-color: | ||
| + | box-shadow: 0 3px 14px rgba(88, 101, 242, .28); | ||
| + | text-decoration: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | outline: 2px solid var(--mb-gold); | ||
| + | outline-offset: | ||
| + | } | ||
| + | |||
| + | # | ||
| + | background: #3c45a5; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | display: block; | ||
| + | flex: 0 0 auto; | ||
| + | } | ||
| + | |||
| + | # | ||
| + | opacity: .8; | ||
| + | } | ||
| + | |||
| + | @media (prefers-reduced-motion: | ||
| + | # | ||
| + | transition: none; | ||
| + | } | ||
| + | } | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | |||
| + | # | ||
| + | # | ||
| + | background: #34151d; | ||
| + | border: 1px solid #c25363; | ||
| + | border-left: | ||
| + | border-radius: | ||
| + | padding: 13px 16px; | ||
| + | margin: 14px 0 18px; | ||
| + | } | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | </ | ||
| + | <div id=" | ||
| + | <aside class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | </ | ||
| + | </ | ||
| + | <main class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <span class=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | <button type=" | ||
| + | </ | ||
| + | <a class=" | ||
| + | <svg xmlns=" | ||
| + | <path d=" | ||
| + | </ | ||
| + | <span data-cw-discord> | ||
| + | <svg class=" | ||
| + | <path d="M15 3h6v6M10 14 21 3M21 14v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h6"/> | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | <aside class=" | ||
| + | <div id=" | ||
| + | <div data-cw-lang=" | ||
| + | <div data-cw-lang=" | ||
| + | <div data-cw-lang=" | ||
| + | <div data-cw-lang=" | ||
| + | <div data-cw-lang=" | ||
| + | <div data-cw-lang=" | ||
| + | </ | ||
| + | <section id=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <figure class=" | ||
| + | <a href="/ | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | <section id=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <figure class=" | ||
| + | <a href="/ | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | <section id=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <figure class=" | ||
| + | <a href="/ | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | <section id=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <figure class=" | ||
| + | <a href="/ | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | <section id=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <figure class=" | ||
| + | <a href="/ | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | <section id=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <figure class=" | ||
| + | <a href="/ | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | <section id=" | ||
| + | <div data-cw-lang=" | ||
| + | <p>To review your route and fleet, open < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | <p>Um den Weg und die Flotte zu prüfen, öffne < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | <div data-cw-lang=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <p class=" | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | (function () { | ||
| + | var guide = document.getElementById(" | ||
| + | var translations = { | ||
| + | " | ||
| + | " | ||
| + | "Join Discord", | ||
| + | "Start Here", | ||
| + | " | ||
| + | " | ||
| + | "Loot Orders", | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | "Bien démarrer", | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | "Erste Schritte", | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | }; | ||
| + | var choices = guide.querySelectorAll(" | ||
| + | var navigation = guide.querySelectorAll(" | ||
| + | var content = guide.querySelectorAll(" | ||
| + | var figures = guide.querySelectorAll(" | ||
| + | function selectLanguage(language) { | ||
| + | var labels = translations[language]; | ||
| + | guide.lang = language === " | ||
| + | guide.querySelector(" | ||
| + | guide.querySelector(" | ||
| + | guide.querySelector(" | ||
| + | choices.forEach(function (button) { | ||
| + | var active = button.dataset.cwChoice === language; | ||
| + | button.classList.toggle(" | ||
| + | button.setAttribute(" | ||
| + | }); | ||
| + | navigation.forEach(function (button, index) { button.textContent = labels[index + 2]; }); | ||
| + | content.forEach(function (entry) { entry.hidden = entry.dataset.cwLang !== language; }); | ||
| + | figures.forEach(function (figure) { | ||
| + | figure.querySelector(" | ||
| + | }); | ||
| + | navigation.forEach(function (button) { | ||
| + | var panel = document.getElementById(button.getAttribute(" | ||
| + | var headingId = panel.id + " | ||
| + | var oldHeading = document.getElementById(headingId); | ||
| + | if (oldHeading) oldHeading.removeAttribute(" | ||
| + | panel.querySelector(' | ||
| + | }); | ||
| + | } | ||
| + | choices.forEach(function (button) { | ||
| + | button.addEventListener(" | ||
| + | }); | ||
| + | navigation.forEach(function (button) { | ||
| + | button.addEventListener(" | ||
| + | navigation.forEach(function (entry) { | ||
| + | var active = entry === button; | ||
| + | entry.classList.toggle(" | ||
| + | entry.setAttribute(" | ||
| + | document.getElementById(entry.getAttribute(" | ||
| + | }); | ||
| + | }); | ||
| + | }); | ||
| + | guide.classList.add(" | ||
| + | })(); | ||
| + | </ | ||
| + | </ | ||