差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| top [2026/08/24 22:54] – Tana JH1HST | top [2026/11/27 15:44] (現在) – Tana JH1HST | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| {{keywords> | {{keywords> | ||
| {{description> | {{description> | ||
| - | <fs x-small>【ハムフェア公式サイト Hamfair.jp - ハムフェア.JP】</ | + | <HTML> |
| + | < | ||
| + | | ||
| + | margin: 0 0 22px; | ||
| + | padding: clamp(16px, 3vw, 30px) clamp(16px, 3vw, 30px); | ||
| + | border-radius: | ||
| + | background: linear-gradient(110deg, | ||
| + | color: #fff; | ||
| + | font-size: 16px; | ||
| + | line-height: | ||
| + | } | ||
| + | .hf-top-brand__lead { | ||
| + | display: inline-block; | ||
| + | margin-inline-end: | ||
| + | } | ||
| - | ====== 第48回アマチュア無線フェスティバル ハムフェア2026 ====== | + | .hf-top-brand__name |
| - | {{:48th:2026bn.jpg? | + | font-size: clamp(28px, 4vw, 42px); |
| + | font-weight: 750; | ||
| + | line-height: | ||
| + | | ||
| + | .hf-top-brand__description { | ||
| + | display: inline-block; | ||
| + | max-width: 100%; | ||
| + | overflow-wrap: | ||
| + | } | ||
| - | <wrap column rightalign 90%> [ [[side_en|ENGLISH MENU]] ] </ | + | .hf-top-brand__event { |
| - | <fs xx-large> | + | white-space: nowrap; |
| + | } | ||
| - | 開催の日時、< | + | .hf-topics { |
| - | 駅から会場へ徒歩で向かう際、**北側の道路**を通っていただくようお願いします。 \\ | + | container: hf-topics / inline-size; |
| - | その他のコンテンツは[[side|コンテンツメニュー]]よりご覧ください。\\ | + | margin: 0 0 14px; |
| + | font-size: 16px; | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topics__heading { | ||
| + | margin: 0 0 10px; | ||
| + | padding: 0; | ||
| + | border: 0; | ||
| + | font-size: 19px; | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | .hf-topics__list { | ||
| + | display: grid; | ||
| + | gap: 10px; | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic { | ||
| + | --topic-accent: | ||
| + | --topic-ink: | ||
| + | --topic-fill: | ||
| + | --topic-tint: | ||
| + | --topic-line: | ||
| + | display: grid; | ||
| + | grid-template: | ||
| + | "meta title action" | ||
| + | "meta title period" | ||
| + | / 128px minmax(0, 1fr) max-content; | ||
| + | min-height: 88px; | ||
| + | padding-inline-end: | ||
| + | overflow: hidden; | ||
| + | border: 1px solid var(--topic-line); | ||
| + | border-inline-start: | ||
| + | border-radius: | ||
| + | background: var(--topic-fill); | ||
| + | color: #182638; | ||
| + | text-decoration: | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic--news { | ||
| + | --topic-accent: | ||
| + | --topic-ink: | ||
| + | --topic-fill: | ||
| + | --topic-tint: | ||
| + | --topic-line: | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic--open { | ||
| + | --topic-accent: | ||
| + | --topic-ink: | ||
| + | --topic-fill: | ||
| + | --topic-tint: | ||
| + | --topic-line: | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic--closed { | ||
| + | --topic-accent: | ||
| + | --topic-ink: | ||
| + | --topic-fill: | ||
| + | --topic-tint: | ||
| + | --topic-line: | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic--announcement { | ||
| + | --topic-accent: | ||
| + | --topic-ink: | ||
| + | --topic-fill: | ||
| + | --topic-tint: | ||
| + | --topic-line: | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic--important { | ||
| + | --topic-accent: | ||
| + | --topic-ink: | ||
| + | --topic-fill: | ||
| + | --topic-tint: | ||
| + | --topic-line: | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic--exhibitors { | ||
| + | --topic-accent: | ||
| + | --topic-ink: | ||
| + | --topic-fill: | ||
| + | --topic-tint: | ||
| + | --topic-line: | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic--update { | ||
| + | --topic-accent: | ||
| + | --topic-ink: | ||
| + | --topic-fill: | ||
| + | --topic-tint: | ||
| + | --topic-line: | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic--guide { | ||
| + | --topic-accent: | ||
| + | --topic-ink: | ||
| + | --topic-fill: | ||
| + | --topic-tint: | ||
| + | --topic-line: | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic: | ||
| + | border-color: | ||
| + | border-inline-start-color: | ||
| + | color: #182638; | ||
| + | text-decoration: | ||
| + | } | ||
| + | |||
| + | .hf-topics .hf-topic: | ||
| + | outline: 2px solid var(--topic-ink); | ||
| + | outline-offset: | ||
| + | } | ||
| + | |||
| + | .hf-topic__meta { | ||
| + | position: relative; | ||
| + | isolation: isolate; | ||
| + | grid-area: meta; | ||
| + | display: flex; | ||
| + | flex-direction: | ||
| + | justify-content: | ||
| + | gap: 1px 10px; | ||
| + | padding: 9px 14px; | ||
| + | color: var(--topic-ink); | ||
| + | } | ||
| + | |||
| + | .hf-topic__meta:: | ||
| + | position: absolute; | ||
| + | z-index: -1; | ||
| + | inset: 0 4px 0 -50px; | ||
| + | transform: skewX(-24deg); | ||
| + | background: var(--topic-tint); | ||
| + | border-inline-end: | ||
| + | content: ""; | ||
| + | } | ||
| + | |||
| + | .hf-topic__date { | ||
| + | font-size: 13px; | ||
| + | font-variant-numeric: | ||
| + | white-space: | ||
| + | } | ||
| + | |||
| + | .hf-topic__type { | ||
| + | font-size: 18px; | ||
| + | font-weight: | ||
| + | white-space: | ||
| + | } | ||
| + | |||
| + | .hf-topic__title { | ||
| + | grid-area: title; | ||
| + | align-self: center; | ||
| + | padding: 12px 18px 12px 28px; | ||
| + | font-size: 17px; | ||
| + | font-weight: | ||
| + | overflow-wrap: | ||
| + | } | ||
| + | |||
| + | .hf-topic__action { | ||
| + | grid-area: action; | ||
| + | justify-self: | ||
| + | align-self: start; | ||
| + | margin-block-start: | ||
| + | color: var(--topic-ink); | ||
| + | font-size: 14px; | ||
| + | font-weight: | ||
| + | text-align: end; | ||
| + | } | ||
| + | |||
| + | .hf-topic: | ||
| + | .hf-topic: | ||
| + | text-decoration: | ||
| + | text-underline-offset: | ||
| + | } | ||
| + | |||
| + | .hf-topic__period { | ||
| + | grid-area: period; | ||
| + | justify-self: | ||
| + | align-self: end; | ||
| + | max-width: 24ch; | ||
| + | margin-block-end: | ||
| + | color: #3f4a5a; | ||
| + | font-size: 13px; | ||
| + | text-align: end; | ||
| + | overflow-wrap: | ||
| + | } | ||
| + | |||
| + | @container hf-topics (max-width: 36em) { | ||
| + | .hf-topics .hf-topic { | ||
| + | grid-template: | ||
| + | "meta meta" | ||
| + | "title title" | ||
| + | " | ||
| + | / minmax(0, 1fr) minmax(0, 43%); | ||
| + | padding: 0; | ||
| + | } | ||
| + | |||
| + | .hf-topic__meta { | ||
| + | flex-flow: row wrap; | ||
| + | align-items: | ||
| + | justify-content: | ||
| + | padding: 6px 13px; | ||
| + | background: var(--topic-tint); | ||
| + | border-block-end: | ||
| + | } | ||
| + | |||
| + | .hf-topic__meta:: | ||
| + | content: none; | ||
| + | } | ||
| + | |||
| + | .hf-topic__type { | ||
| + | font-size: 15px; | ||
| + | } | ||
| + | |||
| + | .hf-topic__title { | ||
| + | padding: 9px 13px 6px; | ||
| + | } | ||
| + | |||
| + | .hf-topic__action, | ||
| + | .hf-topic__period { | ||
| + | align-self: end; | ||
| + | margin: 0 13px 9px; | ||
| + | overflow-wrap: | ||
| + | } | ||
| + | |||
| + | .hf-topic__period { | ||
| + | justify-self: | ||
| + | text-align: start; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | .hf-top-links { | ||
| + | display: flex; | ||
| + | flex-wrap: wrap; | ||
| + | gap: 4px 18px; | ||
| + | margin: 0 0 32px; | ||
| + | } | ||
| + | </style> | ||
| + | |||
| + | <p class=" | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | // トピックスを上から表示順に記入します。period と link_label | ||
| + | // date は掲載日です。アンケート結果の掲載日は公開日に合わせてください。 | ||
| + | $topicsJson = <<<' | ||
| + | [ | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ] | ||
| + | HAMFAIR_TOPICS_JSON; | ||
| + | |||
| + | $topicTypes = [ | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ]; | ||
| + | |||
| + | $escapeTopicText = static function (string $value): string { | ||
| + | return htmlspecialchars($value, | ||
| + | }; | ||
| + | |||
| + | $topics = json_decode($topicsJson, | ||
| + | if (!is_array($topics)) { | ||
| + | error_log(' | ||
| + | $topics = []; | ||
| + | } | ||
| + | |||
| + | $topicCards = []; | ||
| + | foreach ($topics as $topic) { | ||
| + | if (!is_array($topic)) { | ||
| + | continue; | ||
| + | } | ||
| + | |||
| + | $date = $topic[' | ||
| + | $type = $topic[' | ||
| + | $title = $topic[' | ||
| + | $url = $topic[' | ||
| + | $period = $topic[' | ||
| + | $linkLabel = $topic[' | ||
| + | |||
| + | if (!is_string($date) || !preg_match('/ | ||
| + | || !is_string($title) || trim($title) === '' | ||
| + | || !is_string($url) || strpos($url, | ||
| + | || filter_var($url, | ||
| + | continue; | ||
| + | } | ||
| + | |||
| + | if (!is_string($type) || !isset($topicTypes[$type])) { | ||
| + | $type = ' | ||
| + | } | ||
| + | |||
| + | $cardClass = $topicTypes[$type]; | ||
| + | $cardDate = $escapeTopicText($date); | ||
| + | $cardType = $escapeTopicText($type); | ||
| + | $cardTitle = $escapeTopicText($title); | ||
| + | $cardUrl = $escapeTopicText($url); | ||
| + | $action = is_string($linkLabel) && trim($linkLabel) !== '' | ||
| + | $cardAction = $escapeTopicText($action); | ||
| + | $cardPeriod = ''; | ||
| + | if (is_string($period) && trim($period) !== '' | ||
| + | $cardPeriod = '< | ||
| + | } | ||
| + | |||
| + | $topicCards[] = <<< | ||
| + | <a class=" | ||
| + | <span class=" | ||
| + | <time class=" | ||
| + | <span class=" | ||
| + | </ | ||
| + | <strong class=" | ||
| + | {$cardPeriod} | ||
| + | <span class=" | ||
| + | </ | ||
| + | HAMFAIR_TOPICS_CARD; | ||
| + | } | ||
| + | |||
| + | if ($topicCards) { | ||
| + | echo '< | ||
| + | echo '< | ||
| + | echo '< | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | <nav class=" | ||
| + | <a href=" | ||
| + | <a href=" | ||
| + | </ | ||
| + | </ | ||
| 行 26: | 行 398: | ||
| ====== アップデート ====== | ====== アップデート ====== | ||
| + | * 2026-11-27:[[https:// | ||
| + | * 2026-09-28:ハムフェア2026 アンケート回答受付終了 | ||
| + | * 2026-09-18:[[48th_qj|ハムフェア2026 アンケート]]公開 | ||
| + | * 2026-09-15:[[48th_nsp_sase|ハムフェア2026 JARL創立100周年記念品 追加頒布のご案内]]記念冊子終了 | ||
| + | * 2026-09-07:[[48th_nsp_sase|ハムフェア2026 JARL創立100周年記念品 追加頒布のご案内]] | ||
| + | * 2026-08-28:本日は設営日 X.com[[https:// | ||
| + | * 2026-08-25:[[48th_8j1ham_e|8J1HAM 会場公開運用 抽選結果発表]] | ||
| + | * 2026-08-25:[[48th_nsp_a17|JARL100周年&ハムフェア2026記念企画]]公開 | ||
| * 2026-08-24:[[48th_ex_faq|出展者向けFAQ]]更新 (C)追加 | * 2026-08-24:[[48th_ex_faq|出展者向けFAQ]]更新 (C)追加 | ||
| * 2026-08-24:[[48th_car_p|GYM-EX隣接 来場者用駐車券]]へ出展者への注釈追記 | * 2026-08-24:[[48th_car_p|GYM-EX隣接 来場者用駐車券]]へ出展者への注釈追記 | ||
| 行 85: | 行 465: | ||
| < | < | ||
| - | < | + | < |
| 行 95: | 行 475: | ||
| < | < | ||
| - | < | + | < |
| 行 106: | 行 485: | ||
| < | < | ||
| - | < | + | < |