diff options
Diffstat (limited to 'files/ja')
508 files changed, 1236 insertions, 895 deletions
diff --git a/files/ja/_redirects.txt b/files/ja/_redirects.txt index 6aeb1e8eaa..9eace6107e 100644 --- a/files/ja/_redirects.txt +++ b/files/ja/_redirects.txt @@ -46,7 +46,7 @@ /ja/docs/API/Document/documentURI /ja/docs/Web/API/Document/documentURI /ja/docs/API/Document/documentURIObject /ja/docs/Web/API/Document/documentURIObject /ja/docs/API/Document/domConfig /ja/docs/Web/API/Document -/ja/docs/API/Document/elementFromPoint /ja/docs/Web/API/DocumentOrShadowRoot/elementFromPoint +/ja/docs/API/Document/elementFromPoint /ja/docs/Web/API/Document/elementFromPoint /ja/docs/API/Document/embeds /ja/docs/Web/API/Document/embeds /ja/docs/API/Document/enableStyleSheetsForSet /ja/docs/Web/API/Document/enableStyleSheetsForSet /ja/docs/API/Document/evaluate /ja/docs/Web/API/Document/evaluate @@ -1435,7 +1435,7 @@ /ja/docs/DOM/document.documentURI /ja/docs/Web/API/Document/documentURI /ja/docs/DOM/document.documentURIObject /ja/docs/Web/API/Document/documentURIObject /ja/docs/DOM/document.domConfig /ja/docs/Web/API/Document -/ja/docs/DOM/document.elementFromPoint /ja/docs/Web/API/DocumentOrShadowRoot/elementFromPoint +/ja/docs/DOM/document.elementFromPoint /ja/docs/Web/API/Document/elementFromPoint /ja/docs/DOM/document.embeds /ja/docs/Web/API/Document/embeds /ja/docs/DOM/document.fgColor /ja/docs/Web/API/Document/fgColor /ja/docs/DOM/document.firstChild /ja/docs/Web/API/Node/firstChild @@ -1770,7 +1770,7 @@ /ja/docs/DOM:document.createEvent /ja/docs/Web/API/Document/createEvent /ja/docs/DOM:document.documentElement /ja/docs/Web/API/Document/documentElement /ja/docs/DOM:document.documentURIObject /ja/docs/Web/API/Document/documentURIObject -/ja/docs/DOM:document.elementFromPoint /ja/docs/Web/API/DocumentOrShadowRoot/elementFromPoint +/ja/docs/DOM:document.elementFromPoint /ja/docs/Web/API/Document/elementFromPoint /ja/docs/DOM:document.firstChild /ja/docs/Web/API/Node/firstChild /ja/docs/DOM:document.forms /ja/docs/Web/API/Document/forms /ja/docs/DOM:document.getElementById /ja/docs/Web/API/Document/getElementById @@ -3746,10 +3746,13 @@ /ja/docs/Web/API/Document/async /ja/docs/Web/API/XMLDocument/async /ja/docs/Web/API/Document/defaultView/storage_event /ja/docs/Web/API/Window/storage_event /ja/docs/Web/API/Document/domConfig /ja/docs/Web/API/Document -/ja/docs/Web/API/Document/elementFromPoint /ja/docs/Web/API/DocumentOrShadowRoot/elementFromPoint /ja/docs/Web/API/Document/inputEncoding /ja/docs/conflicting/Web/API/Document/characterSet /ja/docs/Web/API/Document/onselectionchange /ja/docs/Web/API/GlobalEventHandlers/onselectionchange +/ja/docs/Web/API/DocumentOrShadowRoot /ja/docs/orphaned/Web/API/DocumentOrShadowRoot /ja/docs/Web/API/DocumentOrShadowRoot/activeElement /ja/docs/Web/API/Document/activeElement +/ja/docs/Web/API/DocumentOrShadowRoot/caretPositionFromPoint /ja/docs/Web/API/Document/caretPositionFromPoint +/ja/docs/Web/API/DocumentOrShadowRoot/elementFromPoint /ja/docs/Web/API/Document/elementFromPoint +/ja/docs/Web/API/DocumentOrShadowRoot/elementsFromPoint /ja/docs/Web/API/Document/elementsFromPoint /ja/docs/Web/API/DocumentOrShadowRoot/fullscreenElement /ja/docs/Web/API/Document/fullscreenElement /ja/docs/Web/API/DocumentOrShadowRoot/getAnimations /ja/docs/Web/API/Document/getAnimations /ja/docs/Web/API/DocumentOrShadowRoot/getSelection /ja/docs/Web/API/Document/getSelection diff --git a/files/ja/_wikihistory.json b/files/ja/_wikihistory.json index 565d2b1182..0cff7990b3 100644 --- a/files/ja/_wikihistory.json +++ b/files/ja/_wikihistory.json @@ -12725,24 +12725,6 @@ "AshfaqHossain" ] }, - "Web/API/DocumentOrShadowRoot": { - "modified": "2020-10-15T22:12:34.663Z", - "contributors": [ - "mfuji09" - ] - }, - "Web/API/DocumentOrShadowRoot/caretPositionFromPoint": { - "modified": "2020-10-15T22:33:00.354Z", - "contributors": [ - "eltociear" - ] - }, - "Web/API/DocumentOrShadowRoot/elementsFromPoint": { - "modified": "2020-10-15T22:29:40.404Z", - "contributors": [ - "mfuji09" - ] - }, "Web/API/DocumentType": { "modified": "2020-10-15T22:09:56.256Z", "contributors": [ @@ -52770,19 +52752,6 @@ "Okome" ] }, - "Web/API/DocumentOrShadowRoot/elementFromPoint": { - "modified": "2019-03-23T23:50:29.105Z", - "contributors": [ - "mfuji09", - "fscholz", - "khalid32", - "ethertank", - "Mgjbot", - "Shoot", - "Potappo", - "Norah" - ] - }, "conflicting/Web/API/DocumentOrShadowRoot/getSelection": { "modified": "2019-03-23T23:38:33.748Z", "contributors": [ @@ -53496,5 +53465,36 @@ "contributors": [ "mfuji09" ] + }, + "Web/API/Document/caretPositionFromPoint": { + "modified": "2020-10-15T22:33:00.354Z", + "contributors": [ + "eltociear" + ] + }, + "Web/API/Document/elementFromPoint": { + "modified": "2019-03-23T23:50:29.105Z", + "contributors": [ + "mfuji09", + "fscholz", + "khalid32", + "ethertank", + "Mgjbot", + "Shoot", + "Potappo", + "Norah" + ] + }, + "Web/API/Document/elementsFromPoint": { + "modified": "2020-10-15T22:29:40.404Z", + "contributors": [ + "mfuji09" + ] + }, + "orphaned/Web/API/DocumentOrShadowRoot": { + "modified": "2020-10-15T22:12:34.663Z", + "contributors": [ + "mfuji09" + ] } }
\ No newline at end of file diff --git a/files/ja/conflicting/web/css/@viewport/index.html b/files/ja/conflicting/web/css/@viewport/index.html index d92f4f14dd..72cbadd43d 100644 --- a/files/ja/conflicting/web/css/@viewport/index.html +++ b/files/ja/conflicting/web/css/@viewport/index.html @@ -45,7 +45,7 @@ height: 320px 200px; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/conflicting/web/css/@viewport_516ab4b0283b5b2231fb657505e22440/index.html b/files/ja/conflicting/web/css/@viewport_516ab4b0283b5b2231fb657505e22440/index.html index babd38fcfd..1957f3d3ef 100644 --- a/files/ja/conflicting/web/css/@viewport_516ab4b0283b5b2231fb657505e22440/index.html +++ b/files/ja/conflicting/web/css/@viewport_516ab4b0283b5b2231fb657505e22440/index.html @@ -44,7 +44,7 @@ max-height: 75%;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/conflicting/web/css/@viewport_6e9c91ec34cdb0393d301240d0d50d84/index.html b/files/ja/conflicting/web/css/@viewport_6e9c91ec34cdb0393d301240d0d50d84/index.html index 014def1f1b..1f9e0fe581 100644 --- a/files/ja/conflicting/web/css/@viewport_6e9c91ec34cdb0393d301240d0d50d84/index.html +++ b/files/ja/conflicting/web/css/@viewport_6e9c91ec34cdb0393d301240d0d50d84/index.html @@ -44,7 +44,7 @@ min-zoom: 150%; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/conflicting/web/css/@viewport_d03ebc763769680c55d1a4258592d3ed/index.html b/files/ja/conflicting/web/css/@viewport_d03ebc763769680c55d1a4258592d3ed/index.html index fc790794ae..9f10176b9a 100644 --- a/files/ja/conflicting/web/css/@viewport_d03ebc763769680c55d1a4258592d3ed/index.html +++ b/files/ja/conflicting/web/css/@viewport_d03ebc763769680c55d1a4258592d3ed/index.html @@ -47,7 +47,7 @@ max-zoom: 150%; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/conflicting/web/css/@viewport_e065ce90bde08c9679692adbe64f6518/index.html b/files/ja/conflicting/web/css/@viewport_e065ce90bde08c9679692adbe64f6518/index.html index 19ee67e0fd..7d6883f4b4 100644 --- a/files/ja/conflicting/web/css/@viewport_e065ce90bde08c9679692adbe64f6518/index.html +++ b/files/ja/conflicting/web/css/@viewport_e065ce90bde08c9679692adbe64f6518/index.html @@ -50,7 +50,7 @@ zoom: 150%; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/learn/html/introduction_to_html/the_head_metadata_in_html/index.html b/files/ja/learn/html/introduction_to_html/the_head_metadata_in_html/index.html index 15394f6e79..7fb1f1101f 100644 --- a/files/ja/learn/html/introduction_to_html/the_head_metadata_in_html/index.html +++ b/files/ja/learn/html/introduction_to_html/the_head_metadata_in_html/index.html @@ -165,7 +165,7 @@ started with developing web sites and applications."></pre> <p>例えば、 <a href="http://ogp.me/">Open Graph Data</a> は Facebook が開発した、ウェブサイトに豊富なメタデータを与えるメタデータプロトコルです。 MDN Web Docs のソースコードでは、次のようなものがあります。</p> -<pre class="brush: html notranslate"><meta property="og:image" content="https://developer.cdn.mozilla.net/static/img/opengraph-logo.dc4e08e2f6af.png"> +<pre class="brush: html notranslate"><meta property="og:image" content="https://developer.mozilla.org/static/img/opengraph-logo.png"> <meta property="og:description" content="The Mozilla Developer Network (MDN) provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and HTML5 Apps. It also documents Mozilla products, like Firefox OS."> @@ -199,15 +199,15 @@ and HTML5 Apps. It also documents Mozilla products, like Firefox OS."> <p>最近では考慮するべきアイコンの種類がほかにもたくさんあります。例えば、 MDN Web Docs ホームページのソースコードには以下の行があります。</p> <pre class="brush: html notranslate"><!-- third-generation iPad with high-resolution Retina display: --> -<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://developer.cdn.mozilla.net/static/img/favicon144.a6e4162070f4.png"> +<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://developer.mozilla.org/static/img/favicon144.png"> <!-- iPhone with high-resolution Retina display: --> -<link rel="apple-touch-icon-precomposed" sizes="114x114" href="https://developer.cdn.mozilla.net/static/img/favicon114.0e9fabd44f85.png"> +<link rel="apple-touch-icon-precomposed" sizes="114x114" href="https://developer.mozilla.org/static/img/favicon114.png"> <!-- first- and second-generation iPad: --> -<link rel="apple-touch-icon-precomposed" sizes="72x72" href="https://developer.cdn.mozilla.net/static/img/favicon72.8ff9d87c82a0.png"> +<link rel="apple-touch-icon-precomposed" sizes="72x72" href="https://developer.mozilla.org/static/img/favicon72.png"> <!-- non-Retina iPhone, iPod Touch, and Android 2.1+ devices: --> -<link rel="apple-touch-icon-precomposed" href="https://developer.cdn.mozilla.net/static/img/favicon57.a2490b9a2d76.png"> +<link rel="apple-touch-icon-precomposed" href="https://developer.mozilla.org/static/img/favicon57.png"> <!-- basic favicon --> -<link rel="shortcut icon" href="https://developer.cdn.mozilla.net/static/img/favicon32.e02854fdcf73.png"></pre> +<link rel="shortcut icon" href="https://developer.mozilla.org/static/img/favicon32.png"></pre> <p>コメントはそれぞれのアイコンの用途を説明しています。 — この要素は、ウェブサイトが iPad のホーム画面に保存された時のすばらしい高解像度なアイコンの提供といったことをカバーしています。</p> diff --git a/files/ja/mdn/contribute/getting_started/index.html b/files/ja/mdn/contribute/getting_started/index.html index 0d0cde409c..b1423a5614 100644 --- a/files/ja/mdn/contribute/getting_started/index.html +++ b/files/ja/mdn/contribute/getting_started/index.html @@ -17,92 +17,46 @@ translation_of: MDN/Contribute/Getting_started <p id="What_is_MDN.3F"><span class="seoSummary">私たちは開発者のオープンなコミュニティであり、ブランドやブラウザー、プラットフォームを問わず、ウェブをより良くするリソースを構築しています。誰でも協力でき、それによってコミュニティはより強固なものとなります。ともに協力することで、ウェブをより良いものへ革新していく後押しを継続できます。ここから、あなたと始まります。</span></p> -<p><span>MDN のすべての部分 (文書、デモ、そしてこのサイト自体) は、開発者のオープンなコミュニティによって作成されています。ぜひ参加してください。</span></p> +<p>MDN のすべての部分 (文書、デモ、そしてこのサイト自体) は、開発者のオープンなコミュニティによって作成されています。ぜひ参加してください。</p> -<h2 id="3_simple_steps_to_MDN" name="3_simple_steps_to_MDN">MDN への簡単な 3 ステップ</h2> +<h2 id="4_simple_steps_to_MDN">MDN への簡単な 4 ステップ</h2> -<p>MDN は Wiki であり、<strong>誰でも</strong>コンテンツを追加、編集することができます。プログラマーであったり、技術に精通していたりする必要はありません。簡単なこと (校正や誤字の修正) から、複雑なこと (API ドキュメントの執筆) まで、行うべき事はたくさんあります。</p> +<p>MDN はオープンソースのリソースであり、<strong>誰でも</strong>コンテンツを追加したり編集したりすることができます。プログラマーであったり、技術に精通していたりする必要はありません。簡単なこと (校正や誤字の修正) から、複雑なこと (API ドキュメントの執筆) まで、行うべきことはたくさんあります。</p> -<p>協力するのは簡単で危険を伴いません。間違ってしまった場合でも、簡単に修正できます。出来栄えをどうすべきかわからなかったり、文法が完璧でなかったりしても、気にしないで! MDN にあるコンテンツをできるだけ良くすることを専門とするチームがあります。誰かがやってきて、あなたの成果がきちんと丁寧に書かれているかどうか確認してくれます。あなたの知識を共有し、長所を活かしましょう。</p> +<p>協力することは簡単で危険を伴いません。間違ってしまった場合でも、簡単に修正できます。出来栄えをどうすべきかわからなかったり、文法が完璧でなかったりしても、気にしないでください。 MDN にあるコンテンツをできるだけ良くすることを専門とするチームがあります。誰かがやってきて、あなたの成果がきちんと丁寧に書かれているかどうか確認してくれます。あなたの知識を共有し、長所を活かしましょう。</p> -<h3 id="Step_1_Create_an_account_on_MDN" name="Step_1_Create_an_account_on_MDN">ステップ 1 : MDN のアカウントを作成する</h3> +<h3>ステップ 1: GitHub アカウントを作成する</h3> -<p>MDN への協力を開始するには、 MDN のアカウントが必要です。詳細は「<a href="/ja/docs/MDN/Contribute/Howto/Create_an_MDN_account">MDN アカウントを作成するには</a>」をご覧ください。</p> +<p>MDN への協力を始めるには、 <a href="https://github.com/mdn/content/#setup">GitHub アカウント</a> を作成する必要があります。</p> -<h3 id="Step_2_Pick_a_task_to_complete" name="Step_2_Pick_a_task_to_complete">ステップ 2 : 完成させるタスクを選ぶ</h3> -<p>ログインしたら、{{anch("Possible task types", "下記リスト")}}内の、色々なタスクの種類についての説明を読んで、最もやってみたいものを決めましょう。お好きなタスクを選択し、協力を開始することができます。</p> +<h3 id="Step_2_Pick_a_task_to_complete">ステップ 2: 完成させるタスクを選ぶ</h3> -<h3 id="Step_3_Do_the_task" name="Step_3_Do_the_task">ステップ 3 : タスクを行う</h3> +<p>ログインしたら、<a href="/ja/docs/MDN/Contribute">貢献ページ</a>内にある色々なタスクの種類についての説明を読んで、最もやってみたいものを決めましょう。好きなタスクを選択して、協力を始めましょう。</p> -<p>やってみたいタスクを決めて、作業対象とする特定のページや、コード例などを探したら、あとはただやってみましょう!</p> +<h3 id="Step_3_Do_the_task">ステップ 3: タスクを実行する</h3> -<p>完璧にしようと悩まないで。 MDN に協力している他の方々が、見落とした間違いの修正を手伝ってくれます。何かを「実際に」行う前に試してみたいのであれば、 <a href="/ja/docs/Sandbox">Sandbox</a> ページで試してみることができます。進めていくにつれ疑問がわいたら、回答が得られるメーリングリストやチャットチャンネルについての情報が載っている<a href="/ja/docs/MDN/Community">コミュニティに関するページ</a>をご覧ください。</p> +<p>やってみたいタスクが決まったら、作業対象とするページや、コード例などを見つけ、あとはただやってみましょう。</p> -<p>終了したら、自由に他の項目を選ぶか、あるいは下記にある<a href="#Other_things_you_can_do_on_MDN">その他の MDN で行えること</a>をご覧ください。</p> +<h3 id="Step_4_Ask_for_help">ステップ 4: 助けを求める</h3> -<h2 id="Possible_task_types" name="Possible_task_types">協力できるタスクの種類</h2> - -<p>MDN に協力するための道は、スキルや興味によって複数のものがあります。中には怖気づいてしまうようなタスクもありますが、簡単にできる作業もたくさんあります。多くの作業は 5 分もかかりません。タスクとタスクに対する短い説明とともに、それぞれのタスクのタイプで必要となるおおよその平均時間を確認できます。</p> - -<h3 id="Option_1_I_like_words" name="Option_1_I_like_words">その1: 言葉が好き</h3> - -<p>既存のドキュメントのレビューや編集、またそれらに正しいタグをつけるといった協力ができます。</p> - -<ul> - <li><a href="/ja/docs/MDN/Contribute/Howto/Set_the_summary_for_a_page">ページの要約作成</a> (5-15分)</li> - <li><a href="/ja/docs/MDN/Contribute/Howto/Do_an_editorial_review">編集レビュー</a> (5-30分)</li> - <li><a href="/ja/docs/MDN/User_guide/Writing#Editing_an_existing_page">既存の記事を新しい情報に更新</a> (5分-1時間)</li> - <li><a href="/ja/docs/MDN/Contribute/Howto/Write_a_new_entry_in_the_Glossary">用語集で新規項目を書く</a> (15分-1時間)</li> - <li><a href="/ja/docs/MDN/Contribute/Howto/Create_and_edit_pages">新しい技術や API についての記事を書く</a> (30分-2時間)</li> - <li><a href="/ja/docs/MDN/Contribute/Howto/Write_an_article_to_help_learn_about_the_Web">ウェブの学習を補助する記事を書く</a> (1-3時間)</li> -</ul> - -<div class="note"><strong>メモ:</strong> 記事をレビューしたり、新しい記事を書いたりする際は、<a href="/en-US/docs/MDN/Contribute/Guidelines/Writing_style_guide">スタイルガイド</a>に目を通しておくようお願いします。その記事の一貫性を保証する助けになります。</div> - -<h3 id="Option_2_I_like_code" name="Option_2_I_like_code">その2: コードが好き</h3> - -<p>さらなるコード例が必要です!あるいはこのサイトのプラットホームである <a href="/ja/docs/MDN/Kuma">Kuma</a> の構築を手伝っていただくこともできます!</p> - -<ul> - <li><a href="/ja/docs/MDN/Contribute/Howto/Convert_code_samples_to_be_live">コード例を作成する</a> (30分)</li> - <li><a href="https://kuma.readthedocs.io/en/latest/installation.html">Kuma のビルド環境をセットアップ</a> (1時間)</li> - <li><a href="https://github.com/mozilla/kuma/blob/master/CONTRIBUTING.md">Kuma コードベースにパッチを送る</a> (1時間)</li> - <li><a href="/ja/docs/Web/Demos_of_open_web_technologies">新しいデモを投稿 </a>(1時間)</li> -</ul> - -<h3 id="Option_3_I_like_both_words_and_code" name="Option_3_I_like_both_words_and_code">その3: 言葉もコードも両方好き</h3> - -<p>新しい記事の執筆、技術的正確さのレビュー、文書の調整など、技術と言語の両方のスキルを必要とするタスクもあります。</p> - -<ul> - <li><a href="/ja/docs/MDN/Contribute/Howto/Tag_JavaScript_pages">JavaScript ページのタグ付けする</a> (5分)</li> - <li><a href="/ja/docs/MDN/About/Promote">自分のウェブサイトで MDN を宣伝</a> (5分)</li> - <li><a href="/ja/docs/MDN/Contribute/Howto/Do_a_technical_review">技術レビュー</a> (30分)</li> - <li><a href="/ja/docs/MDN/Contribute/Structures/API_references">API リファレンスの執筆または更新</a> (30分から2時間以上)</li> - <li><a href="/ja/docs/MDN/Contribute/Howto/Create_and_edit_pages#Creating_a_new_page">よく知っている主題の新しい記事を執筆する</a> (1時間以上)</li> - <li><a href="/ja/docs/MDN/Contribute/Structures/Compatibility_tables">リファレンスページのブラウザー互換性データを追加または更新</a> (30分から1時間)</li> -</ul> - -<h3 id="Option_4_I_want_MDN_in_my_language" name="Option_4_I_want_MDN_in_my_language">その4: 母国語の MDN が欲しい</h3> - -<p>MDN 上の全てのローカライゼーションと翻訳の作業は、素晴らしいボランティアコミュニティによって行われています。</p> +<p>どんな時点でも、何をすればよいかわからない場合は、ぜひ助けを求めてください。助けを求めるにはいくつかの方法があります。</p> <ul> - <li><a href="/ja/docs/MDN/Contribute/Localize/Translating_pages">ページを翻訳する</a> (2時間)</li> - <li><a href="/ja/docs/MDN/Contribute/Localize/Localization_projects">ローカライゼーションプロジェクト</a>に載っているローカライズ担当者と繋がりを持つ (30分)</li> + <li>リアルタイムで話したい、 MDN 自体について質問したいという方は、 <a href="https://wiki.mozilla.org/Matrix">Matrix</a> の <a href="https://chat.mozilla.org/#/room/#mdn:mozilla.org">MDN Web Docs チャットルーム</a>で議論に参加してください。</li> + <li>また、 <a href="mailto:mdn-admins@mozilla.org">mdn-admins@mozilla.org</a> にメールを送っていただくこともできます。</li> + <li>もしあなたがウェブ開発を学んでいて、コーディングの問題で行き詰まっているのであれば、質問したり助けを得たりすることができる<a href="https://discourse.mozilla.org/c/mdn/learn/250">アクティブなフォーラム</a>があります。</li> </ul> -<h3 id="Option_5_I_found_some_wrong_info_but_I_dont_know_how_to_fix_it" name="Option_5_I_found_some_wrong_info_but_I_dont_know_how_to_fix_it">その5: 間違った情報を見つけたが修正方法が分からない</h3> - -<p>問題は<a class="external" href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla%20Developer%20Network">文書のバグをファイル</a>することで報告することができます。 (5分)</p> +<p>完璧にしようと悩まないで。 MDN に協力している他の方々が、見落とした間違いの修正を手伝ってくれます。</p> -<p>問題には説明的な題名をつけてください。 (どこでリンクを見つけたかを書かずに「リンク切れ」と書くのは役に立ちません。プロのヒント: MDN の「リンク切れ」の多くは、まだ書かれていない記事へのリンクです)。 "Request type" の下のところは、問題を発見した場合は "Correction or update"、 MDN から何かが欠けている場合は "New documentation" の括弧の中に "x" を入れてください。 "Details" の下には、問題について、およびどこで正しい情報が見つかるか、知っている限り、時間が許す限り多くの情報を書いてください。これには、ウェブリンクだけでなく、人 ("誰と誰に聞く") を含めることができます。</p> +<h2 id="useful_complete_beginners_guides">完全な初心者向けの便利なガイド</h2> -<h2 id="Other_things_you_can_do_on_MDN" name="Other_things_you_can_do_on_MDN">その他の MDN でできること</h2> +<p>MDN への協力者は、コンテンツの作業を始める前に、ある程度の前提知識を持っていることが期待されます。以下のトピックが初めての方は、スピードアップできるようにリンク先を読むことをお勧めします。</p> <ul> - <li><a href="/ja/docs/MDN/Community">MDN コミュニティに参加</a>する。</li> - <li>他の人があなたについて良く知ってもらえるように、<a href="/ja/profile">プロフィールを記入</a>する。</li> - <li><a href="/ja/docs/MDN/Contribute">MDN への協力方法</a>について学ぶ。</li> + <li>ウェブ技術。 HTML, CSS, JavaScript などの初心者ならば、<a href="/ja/docs/Learn">ウェブ開発を学ぶ</a>のチュートリアルをご覧ください。</li> + <li>オープンソース。もし今までオープンソースプロジェクトに貢献したことがないのであれば、<a href="/ja/docs/MDN/Contribute/Open_source_etiquette">オープンソースプロジェクトの基本的なエチケット</a>をお読みください。</li> + <li>Git と GitHub。もしこれらのツールに慣れていないのであれば、<a href="/ja/docs/MDN/Contribute/GitHub_beginners">完全な初心者向けの GitHub</a> を読むといいでしょう。</li> + <li>MDN のリポジトリ構造。 MDN のコンテンツの様々な部分に変更を加えるために、どのリポジトリを編集すればよいか分からない場合は、 <a href="/ja/docs/MDN/Contribute/Where_is_everything">MDN 上のものはどこにあるのか</a>が正しい場所を教えてくれます。</li> </ul> diff --git a/files/ja/mdn/contribute/github_best_practices/index.html b/files/ja/mdn/contribute/github_best_practices/index.html new file mode 100644 index 0000000000..df71260add --- /dev/null +++ b/files/ja/mdn/contribute/github_best_practices/index.html @@ -0,0 +1,48 @@ +--- +title: MDN のための GitHub のベストプラクティス +slug: MDN/Contribute/GitHub_best_practices +tags: + - Best practices + - Community + - GitHub + - MDN +--- +<p>{{MDNSidebar}}</p> + +<p>このページでは、 MDN に協力するために GitHub を使用する際のベストプラクティスを、主に課題 (issues) の扱い方を中心にご紹介します。</p> + +<h2 id="when_choosing_a_github_issue_to_work_on">作業する GitHub の課題を選ぶとき</h2> + +<ol> + <li>担当したいという旨のコメントをその課題の中に書いていただければ、その課題を割り当てます。 + <ul> + <li>誰か他の人が課題に割り当てられていた場合は、次のようにしてください。 + <ol> + <li>1 週間以上前からあまり動きがない場合は、 @ メンションして、引き継ぐことができるかどうか、あるいは完了するまで手伝うかどうかを聞いてみてください。 + <ul> + <li>引き継ぐことにその人が同意した場合は、あなたをその問題に割り当て、その人を削除します。</li> + <li>引き継ぐことにその人が同意し、すでに何らかの作業が行われている場合や、その人が作業を手伝うことに合意した場合は、あなたも共同担当にします。</li> + </ul> + </li> + <li>もし 1 週間経っていないのであれば、少し我慢して、その人に作業のチャンスをあげてください。</li> + </ol> + </li> + </ul> + </li> + <li>もし、課題が完了したがレビューが必要とマークされていて、あなたがレビューしたい場合は、コメントでその人に @ メンションして、レビューしたいと伝えてください。</li> +</ol> + +<h2 id="when_youve_been_assigned_to_an_issue">課題を割り当てられたとき</h2> + +<ol> + <li>行う必要がある残りの作業を検討してください。 + <ul> + <li>問題がよく説明されていて、作業がかなり明確であれば、それを実行してください。</li> + <li>問題が十分に説明されていない場合や、何が必要なのか分からない場合は、遠慮なく投稿者に @ メンションして、より多くの情報を求めてください。</li> + <li>もし誰に聞けばいいのかわからない場合は、 <a href="https://wiki.mozilla.org/Matrix">Matrix</a> の <a href="https://chat.mozilla.org/#/room/#mdn:mozilla.org">MDN Web Docs チャットルーム</a>で助けを求めてください。</li> + </ul> + </li> + <li>問題が解決したと思ったら、コメントでレビューを依頼しましょう。</li> + <li>課題のレビューが完了し、コメントが回答されれば、その課題を閉じる (closed にする) ことができます。</li> + <li>もし、課題に取り組む時間がなくなった場合は、コメントで知らせていただければ、他の人に割り当てます。</li> +</ol> diff --git a/files/ja/mdn/contribute/github_cheatsheet/index.html b/files/ja/mdn/contribute/github_cheatsheet/index.html new file mode 100644 index 0000000000..2842d4ddbc --- /dev/null +++ b/files/ja/mdn/contribute/github_cheatsheet/index.html @@ -0,0 +1,77 @@ +--- +title: GitHub 早見表 +slug: MDN/Contribute/GitHub_cheatsheet +tags: + - Best practices + - Community + - GitHub + - MDN + - Beginners + - Cheatsheet + - Commands +--- +<p>{{MDNSidebar}}</p> + +<p>この記事では、 MDN に協力するために <a href="https://git-scm.com/">Git</a> と <a href="https://github.com/">GitHub</a> を使用する際に必要となる基本的なコマンドのクイックリファレンスを提供します。これらのツールに慣れておらず、助けが必要な場合は、<a href="/ja/docs/MDN/Contribute/GitHub_beginners">全くの初心者のための GitHub</a> チュートリアルで基本的なことを教えています。</p> + +<h2 id="Cloning">クローン</h2> + +<pre class="brush: bash">git clone <em>the-repo-url</em></pre> + +<h2 id="setting_up_a_remote">リモートをセットアップ</h2> + +<pre class="brush: bash">git remote add <em>remote-name</em> <em>repo-you-want-to-point-to</em></pre> + +<h2 id="view_remotes_list">リモートの一覧を表示</h2> + +<pre class="brush: bash">git remote -v</pre> + +<h2 id="preparing_to_make_a_change_to_the_repo">リポジトリに変更を加える準備</h2> + +<h3 id="switch_to_the_main_branch">メインブランチに切り替え</h3> + +<pre class="brush: bash">git switch main</pre> + +<h3 id="update_your_main_branch">メインブランチを更新</h3> + +<pre class="brush: bash">git fetch <em>remote-name</em> +git rebase <em>remote-name</em>/main +git push</pre> + +<h2 id="get_your_branch_locally_and_switch_to_it">ブランチをローカルに取得して切り替える</h2> + +<pre class="brush: bash">git pull +git switch new-branch</pre> + +<h2 id="get_latest_status">最新のステータスを取得</h2> + +<pre class="brush: bash">git status</pre> + +<h2 id="adding_committing_and_pushing_changes">追加、コミット、変更をプッシュ</h2> + +<pre class="brush: bash">git add path-to-changed-file +git commit -m 'my commit message' +git push</pre> + +<h2 id="troubleshooting">トラブルシューティング</h2> + +<h3 id="reverting_a_change_you_made_to_a_file_that_you_havent_yet_added_to_the_commit_list">コミットリストに追加されていないファイルに加えた変更を元に戻す</h3> + +<pre class="brush: bash">git restore <em>file-path</em></pre> + +<h3 id="removing_a_file_from_the_commit_list">コミットリストからファイルを削除</h3> + +<pre class="brush: bash">git restore --staged <em>file-path</em></pre> + +<h3 id="reversing_a_commit">最後のコミットを取り消す</h3> + +<pre class="brush: bash">git reset HEAD~1</pre> + +<h3 id="reversing_a_commit_that_has_been_pushed_to_the_remote_fork">リモートフォークにプッシュされたコミットを元に戻す</h3> + +<pre class="brush: bash">git revert HEAD +git push</pre> + +<h2 id="want_to_see_more">もっと見たいですか?</h2> + +<p>この早見表にもっと多くのコマンドを載せるべきだと思われる場合は、 <a href="https://github.com/mdn/content/issues/new">issue を作成</a>して提案してください。</p> diff --git a/files/ja/mdn/contribute/help_beginners/index.html b/files/ja/mdn/contribute/help_beginners/index.html new file mode 100644 index 0000000000..03d848fcff --- /dev/null +++ b/files/ja/mdn/contribute/help_beginners/index.html @@ -0,0 +1,111 @@ +--- +title: 初心者が MDN で学習するのを支援しましょう +slug: MDN/Contribute/Help_beginners +tags: + - Beginner + - Contribute + - HELP + - Learning + - MDN +--- +<p>{{MDNSidebar}}</p> + +<p><a href="/ja/docs/Learn">ウェブ開発を学ぶ</a>のページ群は、毎月 100 万回以上の閲覧があり、一般的な助けを求めたり、評価の採点を依頼したりするための<a href="https://discourse.mozilla.org/c/mdn/learn/250">アクティブなフォーラム</a>があります。投稿に回答したり、学習コミュニティを成長させたりする手伝いをしてくださると幸いです。</p> + +<h2 id="What_do_we_need_help_with">どのような支援が必要か</h2> + +<p><a href="https://discourse.mozilla.org/c/mdn/learn/250">MDN 学習フォーラム</a>では、主に二つの種類の投稿があり、その回答にご協力をお願いしています。</p> + +<ol> + <li>ウェブ開発に関する一般的な質問。</li> + <li>MDN の「ウェブ開発を学ぶ」の章に掲載されているスキルテストや評価についてのヘルプや評価を求める特定の質問。</li> +</ol> + +<h2 id="How_can_you_benefit">どのような利益があるか</h2> + +<ul> + <li>コードの問題で人々を助けることは、ウェブ技術をより深く学ぶための素晴らしい方法です。解決策を研究し、誰かの質問に対する答えを書くことで、そのテーマをより深く理解し、自分のスキルを向上させることができます。</li> + <li>MDN コミュニティに参加していくにつれ、 Mozilla のスタッフや他のコミュニティメンバーと知り合うことができ、自分の問題を手伝ってもらったり、自分の知名度を上げたりするための貴重なネットワークとなります。</li> + <li>コーディングの質問に答える手伝いをすることは、それだけで大きなものが得られますが、ウェブ技術に関するあなたの専門知識を証明することにもなり、場合によっては進路や仕事の機会にもなるでしょう。</li> +</ul> + +<h2 id="What_skills_do_you_need">どのようなスキルが必要か</h2> + +<ul> + <li>HTML、CSS、JavaScript などのウェブ技術に精通している必要があります。また、技術的なトピックを説明するのが得意で、初心者がコードを学ぶのを手助けすることを楽しめる人が理想的です。</li> + <li>フォーラムの言語は英語です。それなりの英語力が必要ですが、完璧である必要はありません。フォーラムには世界中から人が集まってきます。私たちは、フォーラムを訪れるすべての人に、できる限り快適に、そして仲間に入れてもらいたいと思っています。</li> +</ul> + +<h2 id="How_to_help">支援する方法</h2> + +<ol> + <li>まず最初に、まだお持ちでなければ、 <a href="/ja/docs/MDN/Contribute/Getting_started#step_1_create_an_account_on_mdn">MDN アカウントをサインアップしてください</a>。学習分野での支援に絶対に必要というわけではありませんが、長い目で見れば役に立ちます。</li> + <li>また、まだであれば <a href="https://discourse.mozilla.org/">Mozilla Discourse</a> にも登録してください。</li> + <li>もしまだであれば、<a href="/ja/docs/Learn">ウェブ開発を学ぶ</a>の章を見て、そこにあるものについて基本的なレベルの知識を得てください (下記の {{anch("Structure of the MDN Learning Area")}} の節を参考にしてください)。</li> +</ol> + +<h3 id="Once_you_are_set_up">設定が終わったら</h3> + +<ol> + <li><a href="https://discourse.mozilla.org/c/mdn/learn/250">学習フォーラム</a>を見て、返信のない投稿があるかどうかを確認してください。ここが始めるにあたって最適な場所です。 + + <ul> + <li>ヒント: 返信のないものが見つからない場合は、最近更新があった他のフォーラムをチェックして、まだ言われていない有益なことを追加できるかどうかを確認してください。</li> + </ul> + </li> + <li>もし返信している投稿が一般的な助けを求めるものであれば、彼らに返信し、時間が許す限り助けてあげてください。</li> + <li>返信している投稿が "test your skill"/"assessment" タスクの1つに対して評価をリクエストしているものである場合は、以下のようにします。 + <ol> + <li>どの記事/タスクが評価されているかを確認し、関連する採点ガイドを見つけてください。評価/スキルテストへのリンクを教えてくれるよう、投稿した人に尋ねてもまったく問題ありません。</li> + <li>その人のコードを特定してください。 — codepen/jsfiddle/jsbin のリンク、または同様の形式で提供してもらえるはずです。もし、その人が評価しやすい形でコードを提供してくれない場合は、 codepen や jsfiddle などに入れてくれるように頼んでも全く問題ありません。 + <ul> + <li>よくある問題は、 discourse のメッセージに直接コードを投稿してしまうことです。 — discourse は HTML 要素をレンダリングし、引用符を smartquote に変えてしまうので、コードを壊してしまいます。それよりも、共有可能なコードエディターアプリへの URL として送ってもらう方がはるかに良いでしょう。</li> + </ul> + </li> + <li>コードを一通り読み、評価しましょう。 + <ol> + <li>コードは動作していますか?また、得られるべき結果は得られていますか?</li> + <li>うまくいかない場合は、なぜうまくいかないのですか?</li> + <li>コードをより良くするためのヒント (より効率的な方法、ベストプラクティスなど) はありますか?</li> + </ol> + </li> + <li>彼らがやった方法について報告してあげましょう。 + <ol> + <li>採点ガイドの中には、問題の各部分に点数をつけた採点方法を提案しているものもありますが、そこまで正確にする必要はありません。</li> + <li>いくつかの点を除いて素晴らしい出来だった場合は、その点を伝えつつ、たくさん褒めてあげましょう。</li> + <li>その人がもう少しで完成するところまで行ったが、完全にはうまくいかなかった場合、その人はよくやったと言いつつ、うまくいくために必要な修正点を伝え、私たちがやったことが見られるように採点ガイドへのリンクを貼るのもいいでしょう。</li> + <li>もし、その人が解決策を見つけられなかった場合は、親切に励まし、どのような方向に進むべきか、いくつかのヒントを与えてあげてください。もっとうまくできるように、もう一度チャンスを与えてあげてください。</li> + <li>もし何か助けが必要な場合は、 <a href="https://wiki.mozilla.org/Matrix">Matrix</a> の <a href="https://chat.mozilla.org/#/room/#mdn:mozilla.org">MDN Web Docsチャットルーム</a>で助けを求めてください。</li> + </ol> + </li> + </ol> + </li> +</ol> + +<div class="notecard warning"> +<p>重要: 何よりも、忍耐強く、友好的で、親切であること。忘れないでください — これらの人々のほとんどは初心者です。</p> +</div> + +<h2 id="Structure_of_the_MDN_Learning_Area">MDN 学習エリアの構成</h2> + +<p>MDN の<a href="/ja/docs/Learn">ウェブ開発を学ぶ</a>の章に関連する質問の回答を手伝う際には、その周辺を見て、そこにあるものについて基本的なレベルの知識を得ることをお勧めします。</p> + +<ol> + <li>一般的なページ構造に目を通してください。</li> + <li>特に、利用可能な評価の種類に注目してください。 + <ul> + <li>数多くの「うでだめし」記事が用意されています (例えば <a href="/ja/docs/Learn/JavaScript/Building_blocks/conditionals#test_your_skills!">/ja/docs/Learn/JavaScript/Building_blocks/conditionals#Test_your_skills!</a> を参照してください)。</li> + <li>モジュールによっては、最後にもっと詳しい評価テストがあります (例えば <a href="/ja/docs/Learn/JavaScript/Building_blocks/Image_gallery">/ja/docs/Learn/JavaScript/Building_blocks/Image_gallery</a> を参照してください)。</li> + </ul> + </li> + <li>学習エリアに関連する GitHub リポジトリを見てみましょう (ほとんどのファイルは <a href="https://github.com/mdn/learning-area/">https://github.com/mdn/learning-area/</a> に、一部は <a href="https://github.com/mdn/css-examples/tree/master/learn">https://github.com/mdn/css-examples/tree/master/learn</a> で利用できます)。学習者が助けを求めている例のほとんどがここに含まれています。</li> + <li>それぞれの評価やスキルテストには、学習者の作業を評価するのに役立つように、関連する採点ガイドと模範解答が用意されています。</li> + <li>これらのリソースを見つけやすくするために、例えば以下のようなパターンがあります。 + <ul> + <li>上記の「うでだめし」の採点ガイドとリソースは、 <a href="https://github.com/mdn/learning-area/tree/master/javascript/building-blocks/tasks/conditionals">https://github.com/mdn/learning-area/tree/master/javascript/building-blocks/tasks/conditionals</a> にあります。</li> + <li>上記の評価テストの採点ガイドとリソースは、 <a href="https://github.com/mdn/learning-area/tree/master/javascript/building-blocks/gallery">https://github.com/mdn/learning-area/tree/master/javascript/building-blocks/gallery</a> にあります。</li> + </ul> + </li> +</ol> + +<p>最初のうちは、これらの資料をすべて見て回るのは難しいと思われるかもしれませんが、演習に慣れてくると、次第に簡単になってくるでしょう。</p> diff --git a/files/ja/mdn/contribute/index.html b/files/ja/mdn/contribute/index.html index 5d5be87fa3..7b19609761 100644 --- a/files/ja/mdn/contribute/index.html +++ b/files/ja/mdn/contribute/index.html @@ -7,12 +7,108 @@ tags: - MDN Meta translation_of: MDN/Contribute --- -<div>{{MDNSidebar}}</div><div>{{IncludeSubnav("/ja/docs/MDN")}}</div> +<div>{{MDNSidebar}}</div> -<p>ようこそ!このページを訪れることで、あなたは MDN 貢献者への第一歩を踏み出しました。</p> +<p>MDN Web Docs はあなたの協力を必要としています。膨大な数の修正すべき記述ミス、書くべき例、修正すべきバグ、相談相手などあり、その数はこのサイトを使い始める人が増えるにつれて増えています。このページでは、皆さんができることをまとめています。</p> -<p><span class="seoSummary">これらの解説ドキュメントは、MDN への貢献に関するありとあらゆる内容(スタイルガイド / エディタやツールの使い方など)を網羅しています。ページを編集したり作成したりする前に、<a href="https://www.mozilla.org/about/legal/terms/mozilla/">Mozilla の利用規約</a>をよく読んで(そして守って)ください。</span></p> +<div class="notecard note"> + <h4>注</h4> + <p>初めて MDN に協力する人は、 <a href="/ja/docs/MDN/Contribute/Getting_started">MDN で始めよう</a> のガイドで手順を簡単な 4 つのステップで説明しています。都合がいいことに、あなたはすでにステップ 3 の「協力できるものを探す」の段階にいます。</p> +</div> -<p>今まで MDN に貢献したことがない方は、<a href="/ja/docs/MDN/Getting_started">MDN を始めよう</a> のガイドをお読みください。あなたが参加するタスクを選ぶ助けになります。</p> +<h2 id="What_can_I_do_to_help">協力するためにできること</h2> + +<p>MDN に貢献するには、あなたの持つスキルセットや興味に応じて、様々な方法があります。それぞれのタスクには、簡単な説明と、それぞれのタスクにかかるおおよその時間が記載されています。</p> + +<p>何をすればよいか分からない人は、いつでも<a href="/ja/docs/MDN/Contribute/Getting_started#step_4_ask_for_help">助けを求めて</a>ください。</p> + +<h3 id="Primary_contribution_types">主な貢献の種類</h3> + +<p>この節のリンクは、重要な機能であったり、膨大なバックログを抱えていたりして、コミュニティの支援を最も必要としている特定の協力タスクについて、その方法を説明する詳細なガイドにつながっています。他の方法での協力を検討する前に、これらのタスクへの協力をご検討ください。</p> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">タスク</th> + <th scope="col">解説</th> + <th scope="col">必要なスキル</th> + </tr> + </thead> + <tbody> + <tr> + <td><a href="/ja/docs/MDN/Contribute/Fixing_MDN_content_bugs">MDN のコンテンツのバグ修正</a></td> + <td>MDN の文書で見つかった問題は、<a href="https://github.com/mdn/content/issues">コンテンツリポジトリ</a>に報告されます (古い <a href="https://github.com/mdn/sprints/">sprints リポジトリ</a>にも修正すべきバグがありますが、いずれ閉鎖する予定です)。数多くのコンテンツバグがあるので、それらの修正に協力していただけるととても助かります。</td> + <td> + <ul> + <li>協力する分野のウェブ技術の知識 (JavaScript や CSS など)。</li> + <li>英語に関する合理的な理解 (完璧でなくても構いません。私たちが支援します)。</li> + </ul> + </td> + </tr> + <tr> + <td><a href="https://github.com/mdn/content/blob/main/REVIEWING.md">MDN の編集のレビュー</a></td> + <td>MDN のコンテンツを更新するために、<a href="https://github.com/mdn/content/issues">コンテンツリポジトリ</a>にプルリクエストが提出されますので、そのレビューに協力が必要です。 <a href="https://github.com/mdn/content/blob/main/REVIEWING.md">REVIEWING.md</a> ページでは、レビュープロセスの仕組みや、どのようにレビューに参加できるかについて説明しています。</td> + <td> + <ul> + <li>協力する分野のウェブ技術の知識 (JavaScript や CSS など)。</li> + <li>英語に関する合理的な理解 (完璧でなくても構いません。私たちが支援します)。</li> + </ul> + </td> + </tr> + <tr> + <td><a href="/ja/docs/MDN/Contribute/Help_beginners">初心者が MDN で学ぶのに協力する</a></td> + <td><a href="/ja/docs/Learn">ウェブ開発を学ぶ</a>ページには、毎月 100 万以上の閲覧があり、一般的なヘルプを求めたり、評価の採点を依頼したりするための<a href="https://discourse.mozilla.org/c/mdn/learn/250">アクティブなフォーラム</a>があります。投稿に解答したり、学習コミュニティを成長させたりする手伝いをしてくださると幸いです。</td> + <td> + <ul> + <li>協力する分野のウェブ技術の知識 (JavaScript や CSS など)。</li> + <li>技術的なトピックを説明したり、初心者がコードを学べるようにすることに対する熱意。</li> + <li>適度な英語力。完璧である必要はありません。</li> + </ul> + </td> + </tr> + </tbody> +</table> + +<p>ここには、時間の経過とともにタスクを追加していきます。</p> + +<h4 id="priority_ratings">優先順位</h4> + +<p>優先度も見ることで、どの作業が最も重要なのかを知ることができます。コンテンツのバグ問題には、重要度を示すために、P0、P1、P2、P3、P4 というラベルを付け始めました。数字が小さいものは、数字が大きいものより高い優先度です。</p> + +<p>これらは、 <a href="/ja/docs/MDN/Contribute/Documentation_priorities">MDN ドキュメントの優先順位リスト</a>に基づいて、通常の MDN バグ・トリアージ・プロセスの中で把握されます。</p> + + +<h3 id="Other_task_types">その他の種類の作業</h3> + +<p>上記の優先事項に興味がわかない場合は、スキルセットごとに分けられた、より一般的な種類のタスクを以下に紹介します。</p> + +<p id="Option_1_I_like_words">言葉に興味がある方は、以下のことができるでしょう。</p> + +<ul> + <li><a href="/ja/docs/MDN/Contribute/Howto/Create_and_edit_pages#editing_an_existing_page">既存の記事を新しい情報に更新する</a> (5 分 - 1 時間)</li> + <li><a href="/ja/docs/MDN/Contribute/Howto/Write_a_new_entry_in_the_Glossary">用語集に新しい項目を書く</a> (15 分 - 1 時間)</li> +</ul> + +<p>コードのほうが興味がある人は、以下のことに挑戦してみてください。</p> + +<ul> + <li><a href="/ja/docs/MDN/Contribute/Howto/Convert_code_samples_to_be_live">コードサンプルを「ライブ」に変換</a> (30 分)</li> + <li><a href="https://github.com/mdn/yari">Yari のコードベースにコードパッチを送る</a> (1 時間)</li> + <li><a href="https://github.com/mdn/interactive-examples/blob/master/CONTRIBUTING.md">インタラクティブな例を書く</a> (1 時間)</li> +</ul> + +<p>言葉とコードの<em>両方</em>に興味があるなら、以下のことに挑戦してみてください。</p> + +<ul> + <li><a href="/ja/docs/MDN/Contribute/Howto/Write_an_API_reference">API リファレンスを書いたり更新したりする</a> (30 分から 2 時間以上)</li> + <li><a href="https://github.com/mdn/content#adding-a-new-document">なじみのある分野のトピックで新しい記事を書く</a> (1 時間以上)</li> + <li><a href="/ja/docs/MDN/Structures/Compatibility_tables">リファレンスページのブラウザー互換性データを追加したり更新したりする</a> (30 分から 1 時間)</li> +</ul> + +<div class="notecard note"> +<p><strong>注</strong>: MDN 上で誤りを見つけたものの、それを修正する方法が分からない場合、<a href="https://github.com/mdn/content/issues/new">ドキュメントの問題を提出</a>することで問題を報告することができます。その際、問題を説明するタイトルを付けてください。(どこでリンクを見つけたかを書かずに「リンク切れ」と言っても役に立ちません。)</p> +</div> + +<h2 id="Other_useful_pages">その他の有用なページ</h2> <p>{{LandingPageListSubPages()}}</p> diff --git a/files/ja/mdn/contribute/localize/index.html b/files/ja/mdn/contribute/localize/index.html new file mode 100644 index 0000000000..2ca520c792 --- /dev/null +++ b/files/ja/mdn/contribute/localize/index.html @@ -0,0 +1,57 @@ +--- +title: MDN のローカライズ +slug: MDN/Contribute/Localize +tags: + - Localization + - MDN Meta + - l10n +translation_of: MDN/Contribute/Localize +--- +<div>{{MDNSidebar}}</div> + +<p>2020 年 12 月 14 日より、 MDN は GitHub ベースの新しい <a href="https://github.com/mdn/yari">Yari プラットフォーム</a>で運用しています。これは MDN にとって多くの利点がありますが、ローカライズを扱う方法を大幅に変更する必要がありました。というのも、アメリカ英語以外のロケールでは、保守されていない古いコンテンツが多く存在しているため、今後はそれらをより適切に管理していきたいと考えているからです。</p> + +<p>今後の計画は、ローカライズされたすべてのコンテンツを凍結し (編集を受け付けず、読み取り専用とします)、専門のチームが保守作業を担当しているロケールのみ凍結を解除するというものです。</p> + +<h2 id="Active_locales">アクティブなロケール</h2> + +<p>現在、以下のロケールの凍結解除を予定しています。</p> + +<div class="notecard note"> +<p><strong>注</strong>: 既存のアクティブなロケールに協力したい場合や、現在凍結されているロケールの凍結解除について相談したい場合は、下記のアクティブなメンバーに連絡を取るか、<a href="/ja/docs/MDN/Contribute/Getting_started#step_4_ask_for_help">私たちに連絡する</a>かしてください。</p> +</div> + +<h3 id="Chinese_zh-CN_zh-TW">中国語 (zh-CN, zh-TW)</h3> + +<ul> + <li>ディスカッション: <a href="https://moztw.org/tg">Telegram (MozTW L10n channel)</a></li> + <li>現在の貢献者: <a href="https://github.com/irvin">Irvin</a>, <a href="https://github.com/t7yang">t7yang</a>, <a href="https://github.com/dibery">dibery</a></li> +</ul> + +<h3 id="French_fr">フランス語 (fr)</h3> + +<ul> + <li>ディスカッション: <a href="https://chat.mozilla.org/#/room/#l10n-fr:mozilla.org">Matrix (#l10n-fr channel)</a></li> + <li>現在の貢献者: <a href="https://github.com/SphinxKnight">SphinxKnight</a>, <a href="https://github.com/tristantheb">tristantheb</a>, <a href="https://github.com/JNa0">JNa0</a>, <a href="https://github.com/nicolas-goudry">nicolas-goudry</a>, <a href="https://github.com/LEMIBANDDEXARI">LEMIBANDDEXARI</a></li> +</ul> + +<h3 id="Japanese_ja">日本語 (ja)</h3> + +<ul> + <li>ディスカッション: <a href="https://mozillajp.slack.com/">Slack (#translation channel)</a>, <a href="https://github.com/mozilla-japan/translation">GitHub (mozilla-japan)</a>, <a href="https://groups.google.com/forum/#!forum/mozilla-translations-ja">Google Group (Mozilla.translations.ja)</a></li> + <li>現在の貢献者: <a href="https://github.com/mfuji09">mfuji09</a>, <a href="https://github.com/hmatrjp">hmatrjp</a>, <a href="https://github.com/potappo">potappo</a>, <a href="https://github.com/dynamis">dynamis</a>, <a href="https://github.com/kenji-yamasaki">kenji-yamasaki</a></li> +</ul> + +<h2 id="Other_MDN_localization">その他の MDN のローカライズ</h2> + +<p>今のところ、新しい MDN プラットフォームの UI は英語のみとなります。これは後ほど説明する予定の問題です。</p> + +<p>KumaScript マクロは新しい MDN プラットフォームでも動作する予定ですが、新しいプラットフォームを構築していく中で最終的には段階的に廃止される予定です。今のところは以前のように動作しており、 <a href="https://github.com/mdn/kumascript">GitHub の kumascript リポジトリ</a>へのプルリクエストによって編集します。</p> + +<h2 id="See_also">関連情報</h2> + +<ul> + <li><a href="https://hacks.mozilla.org/mdn-localization-update-february-2021/">MDN localization update, February 2021</a> — MDN ローカライズの最新の状態</li> + <li><a href="https://hacks.mozilla.org/an-update-on-mdn-web-docs-localization-strategy/">An update on MDN Web Docs’ localization strategy</a> — コミュニティのフィードバックをもとに更新された戦略</li> + <li><a href="https://hacks.mozilla.org/mdn-web-docs-evolves-lowdown-on-the-upcoming-new-platform/">MDN Web Docs evolves! Lowdown on the upcoming new platform</a> — 新しいプラットフォームの利点と、ローカライズの変更の理由についての詳細</li> +</ul> diff --git a/files/ja/mdn/contribute/where_is_everything/index.html b/files/ja/mdn/contribute/where_is_everything/index.html new file mode 100644 index 0000000000..7d27c6d254 --- /dev/null +++ b/files/ja/mdn/contribute/where_is_everything/index.html @@ -0,0 +1,35 @@ +--- +title: MDN 上のものはどこにあるのか - リポジトリのガイド +slug: MDN/Contribute/Where_is_everything +tags: + - Best practices + - Community + - GitHub + - MDN + - Beginners + - Repos +translation_of: MDN/Contribute/Where_is_everything +--- +<p>{{MDNSidebar}}</p> + +<p>MDN は、たくさんの変化する部分がある複雑なプロジェクトです。 GitHub の知識を少し持っていて、簡単なタイプミスの修正やコードスニペットの改良から始めるのであれば、サイトへの貢献は簡単です。しかし、新しいページ全体を追加するなど、もっと大きな貢献を行おうとすると、ページのソースには格納されていない、どこか別の場所から来たコンテンツがかなりあることに気づくでしょう。</p> + +<p>この記事は、 MDN のコンテンツの様々な部分を更新するために編集する必要がある、様々なリポジトリを見つけるためのクイックガイドの役割をします。</p> + +<h2 id="core_repos">コアリポジトリ</h2> + +<ul> + <li><strong>コアコンテンツ</strong>: <a href="https://github.com/mdn/content">https://github.com/mdn/content</a>。 MDN のコンテンツで最も重要なリポジトリです。 — ここには、サイトの中核となる英語のコンテンツがすべて保存されており、ページコンテンツの標準的な変更はすべてここで行われます。</li> + <li><strong>MDN プラットフォーム</strong>: <a href="https://github.com/mdn/yari">https://github.com/mdn/yari</a>。 これは、 MDN プラットフォームが保存されている場所であり、 MDN の高次元のページ構造やレンダリングの仕組みに変更を加えたい場合に行く場所です。</li> + <li><strong>ブラウザー互換性データ</strong>: <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>。ここには、リファレンスページに掲載されているブラウザーの互換性テーブルを生成するためのデータが保存されています (例)。互換性データを変更するにはここに行ってください。</li> + <li><strong>インタラクティブな例</strong>: <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a>。このリポジトリには、レンダリングコードとサンプルコードブロックが格納されています。これらは、多くのリファレンスページ (例) の上部にある、編集やコピーが可能な素敵な例を生み出します。これらの例はその場で編集できます。</li> + <li><strong>翻訳コンテンツ</strong>: <a href="https://github.com/mdn/translated-content">https://github.com/mdn/translated-content</a>。ここは、ローカライズされたコンテンツのための場所です。現在凍結されていない第 1 階層のロケール (現在は<code>fr</code>、<code>ja</code>、<code>zh-CN</code>/<code>zh-TW</code>) の保守に協力したい人はここに行ってください。現在、他のロケールへの編集は許可していません。</li> + <li><strong>CSS データ</strong>: <a href="https://github.com/mdn/data">https://github.com/mdn/data</a>。当初は、 MDN の一般的なデータを保持するためのリポジトリとして想定されていましたが、現在では、形式文法、継承、計算値、アニメーション型など、 CSS の機能に関するデータを保持する目的で使用されています。このデータは、 CSS のリファレンスページの公式定義 (例) や形式文法 (例) などの節を生成するために使用されます。</li> +</ul> + +<h2 id="other_repos">それ以外のリポジトリ</h2> + +<ul> + <li><strong>デモリポジトリ</strong>。 MDN の GitHub には、 <a href="https://github.com/mdn/css-examples">css-examples</a>, <a href="https://github.com/mdn/dom-examples">dom-examples</a>, <a href="https://github.com/mdn/webaudio-examples">webaudio-examples</a> などの膨大な数のデモリポジトリがあります。これらは通常、 MDN のページからリンクされている独立したサンプルを含んでいますが、ときどき、 \{{EmbedGHLiveSample("css-examples/learn/tasks/grid/grid1.html", '100%', 700)}} のようなマクロ呼び出しを使用してページに埋め込まれた例を見かけることがあります。スタンドアロンのライブ例を編集したい場合は、常にこれらの例のリポジトリのいずれかにあります。</li> + <li><strong>MDN-minimalist</strong>: <a href="https://github.com/mdn/mdn-minimalist">https://github.com/mdn/mdn-minimalist</a>。 MDN のベースとなるスタイル付け情報です。 MDN の CSS スタイルを改善したい場合は、ここが訪れるべき場所です。</li> +</ul> diff --git a/files/ja/mdn/structures/code_examples/index.html b/files/ja/mdn/structures/code_examples/index.html index e6a25a49ec..4cfd04e729 100644 --- a/files/ja/mdn/structures/code_examples/index.html +++ b/files/ja/mdn/structures/code_examples/index.html @@ -91,7 +91,7 @@ console.log(test);</pre> <pre class="brush: html notranslate"><!DOCTYPE html> <html> <head> - <link href="https://developer.cdn.mozilla.net/static/build/styles/samples.37902ba3b7fe.css" + <link href="https://developer.mozilla.org/static/build/styles/samples.css" rel="stylesheet" type="text/css"> <style type="text/css"> diff --git a/files/ja/web/api/documentorshadowroot/index.html b/files/ja/orphaned/web/api/documentorshadowroot/index.html index 41a6afbfa8..6f4eceb73f 100644 --- a/files/ja/web/api/documentorshadowroot/index.html +++ b/files/ja/orphaned/web/api/documentorshadowroot/index.html @@ -1,6 +1,6 @@ --- title: DocumentOrShadowRoot -slug: Web/API/DocumentOrShadowRoot +slug: orphaned/Web/API/DocumentOrShadowRoot tags: - API - Document @@ -10,6 +10,7 @@ tags: - インターフェイス - シャドウ DOM translation_of: Web/API/DocumentOrShadowRoot +original_slug: Web/API/DocumentOrShadowRoot --- <div>{{APIRef("Web Components")}}</div> diff --git a/files/ja/web/api/documentorshadowroot/caretpositionfrompoint/index.html b/files/ja/web/api/document/caretpositionfrompoint/index.html index 57168e3eea..44deaf1be3 100644 --- a/files/ja/web/api/documentorshadowroot/caretpositionfrompoint/index.html +++ b/files/ja/web/api/document/caretpositionfrompoint/index.html @@ -1,6 +1,6 @@ --- title: DocumentOrShadowRoot.caretPositionFromPoint() -slug: Web/API/DocumentOrShadowRoot/caretPositionFromPoint +slug: Web/API/Document/caretPositionFromPoint tags: - API - Document @@ -10,6 +10,7 @@ tags: - ShadowRoot - caretPositionFromPoint() translation_of: Web/API/DocumentOrShadowRoot/caretPositionFromPoint +original_slug: Web/API/DocumentOrShadowRoot/caretPositionFromPoint --- <p>{{APIRef("CSSOM View")}}{{SeeCompatTable}}</p> diff --git a/files/ja/web/api/documentorshadowroot/elementfrompoint/index.html b/files/ja/web/api/document/elementfrompoint/index.html index e041d4592d..662260e4ae 100644 --- a/files/ja/web/api/documentorshadowroot/elementfrompoint/index.html +++ b/files/ja/web/api/document/elementfrompoint/index.html @@ -1,13 +1,13 @@ --- title: document.elementFromPoint -slug: Web/API/DocumentOrShadowRoot/elementFromPoint +slug: Web/API/Document/elementFromPoint tags: - DOM - Gecko - Gecko DOM Reference translation_of: Web/API/DocumentOrShadowRoot/elementFromPoint translation_of_original: Web/API/Document/elementFromPoint -original_slug: Web/API/Document/elementFromPoint +original_slug: Web/API/DocumentOrShadowRoot/elementFromPoint --- <div> {{ApiRef()}} {{Fx_minversion_header(3)}}</div> diff --git a/files/ja/web/api/documentorshadowroot/elementsfrompoint/index.html b/files/ja/web/api/document/elementsfrompoint/index.html index a5337f576f..a885ce197f 100644 --- a/files/ja/web/api/documentorshadowroot/elementsfrompoint/index.html +++ b/files/ja/web/api/document/elementsfrompoint/index.html @@ -1,6 +1,6 @@ --- title: DocumentOrShadowRoot.elementsFromPoint() -slug: Web/API/DocumentOrShadowRoot/elementsFromPoint +slug: Web/API/Document/elementsFromPoint tags: - API - Document @@ -13,6 +13,7 @@ tags: - shadow dom - メソッド translation_of: Web/API/DocumentOrShadowRoot/elementsFromPoint +original_slug: Web/API/DocumentOrShadowRoot/elementsFromPoint --- <div>{{APIRef("DOM")}}{{SeeCompatTable}}</div> diff --git a/files/ja/web/css/--_star_/index.html b/files/ja/web/css/--_star_/index.html index 0061706fe3..9620b26b3c 100644 --- a/files/ja/web/css/--_star_/index.html +++ b/files/ja/web/css/--_star_/index.html @@ -29,7 +29,7 @@ translation_of: Web/CSS/--* <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/-moz-context-properties/index.html b/files/ja/web/css/-moz-context-properties/index.html index 3ab18e2434..4ae57d6142 100644 --- a/files/ja/web/css/-moz-context-properties/index.html +++ b/files/ja/web/css/-moz-context-properties/index.html @@ -50,7 +50,7 @@ translation_of: Web/CSS/-moz-context-properties <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/-moz-float-edge/index.html b/files/ja/web/css/-moz-float-edge/index.html index c21d0d6965..4c4692f70b 100644 --- a/files/ja/web/css/-moz-float-edge/index.html +++ b/files/ja/web/css/-moz-float-edge/index.html @@ -48,7 +48,7 @@ translation_of: Web/CSS/-moz-float-edge <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/-moz-force-broken-image-icon/index.html b/files/ja/web/css/-moz-force-broken-image-icon/index.html index 4a52d9fbfa..d105691dd5 100644 --- a/files/ja/web/css/-moz-force-broken-image-icon/index.html +++ b/files/ja/web/css/-moz-force-broken-image-icon/index.html @@ -27,7 +27,7 @@ translation_of: Web/CSS/-moz-force-broken-image-icon <h3 id="Formal_syntax" name="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/-moz-orient/index.html b/files/ja/web/css/-moz-orient/index.html index ddd5011f73..63d2ed53fb 100644 --- a/files/ja/web/css/-moz-orient/index.html +++ b/files/ja/web/css/-moz-orient/index.html @@ -34,7 +34,7 @@ translation_of: Web/CSS/-moz-orient <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/-moz-outline-radius-bottomleft/index.html b/files/ja/web/css/-moz-outline-radius-bottomleft/index.html index 1e839df23f..87acee476f 100644 --- a/files/ja/web/css/-moz-outline-radius-bottomleft/index.html +++ b/files/ja/web/css/-moz-outline-radius-bottomleft/index.html @@ -34,7 +34,7 @@ translation_of: Web/CSS/-moz-outline-radius-bottomleft <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/-moz-outline-radius-bottomright/index.html b/files/ja/web/css/-moz-outline-radius-bottomright/index.html index 684044c104..4c83ff265e 100644 --- a/files/ja/web/css/-moz-outline-radius-bottomright/index.html +++ b/files/ja/web/css/-moz-outline-radius-bottomright/index.html @@ -34,7 +34,7 @@ translation_of: Web/CSS/-moz-outline-radius-bottomright <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/-moz-outline-radius-topleft/index.html b/files/ja/web/css/-moz-outline-radius-topleft/index.html index 7d7af0faa2..ba4a7df4ba 100644 --- a/files/ja/web/css/-moz-outline-radius-topleft/index.html +++ b/files/ja/web/css/-moz-outline-radius-topleft/index.html @@ -34,7 +34,7 @@ translation_of: Web/CSS/-moz-outline-radius-topleft <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/-moz-outline-radius-topright/index.html b/files/ja/web/css/-moz-outline-radius-topright/index.html index 7337f768c8..0bac7fd6db 100644 --- a/files/ja/web/css/-moz-outline-radius-topright/index.html +++ b/files/ja/web/css/-moz-outline-radius-topright/index.html @@ -34,7 +34,7 @@ translation_of: Web/CSS/-moz-outline-radius-topright <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/-moz-outline-radius/index.html b/files/ja/web/css/-moz-outline-radius/index.html index 57fc74d787..16b6dd8cd8 100644 --- a/files/ja/web/css/-moz-outline-radius/index.html +++ b/files/ja/web/css/-moz-outline-radius/index.html @@ -64,7 +64,7 @@ translation_of: Web/CSS/-moz-outline-radius <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/-moz-user-input/index.html b/files/ja/web/css/-moz-user-input/index.html index 76816cb4e3..351e202fbc 100644 --- a/files/ja/web/css/-moz-user-input/index.html +++ b/files/ja/web/css/-moz-user-input/index.html @@ -48,7 +48,7 @@ translation_of: Web/CSS/-moz-user-input <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/-webkit-overflow-scrolling/index.html b/files/ja/web/css/-webkit-overflow-scrolling/index.html index 71ce00aefd..24819faef3 100644 --- a/files/ja/web/css/-webkit-overflow-scrolling/index.html +++ b/files/ja/web/css/-webkit-overflow-scrolling/index.html @@ -27,7 +27,7 @@ translation_of: Web/CSS/-webkit-overflow-scrolling <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/-webkit-tap-highlight-color/index.html b/files/ja/web/css/-webkit-tap-highlight-color/index.html index dedb683d9d..9496a8d8da 100644 --- a/files/ja/web/css/-webkit-tap-highlight-color/index.html +++ b/files/ja/web/css/-webkit-tap-highlight-color/index.html @@ -29,7 +29,7 @@ translation_of: Web/CSS/-webkit-tap-highlight-color <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/-webkit-text-fill-color/index.html b/files/ja/web/css/-webkit-text-fill-color/index.html index bf72c45332..ca4a868081 100644 --- a/files/ja/web/css/-webkit-text-fill-color/index.html +++ b/files/ja/web/css/-webkit-text-fill-color/index.html @@ -31,7 +31,7 @@ translation_of: Web/CSS/-webkit-text-fill-color <h3 id="形式構文">形式構文</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="例">例</h2> diff --git a/files/ja/web/css/-webkit-text-stroke-color/index.html b/files/ja/web/css/-webkit-text-stroke-color/index.html index 629533528e..72fa2efa4d 100644 --- a/files/ja/web/css/-webkit-text-stroke-color/index.html +++ b/files/ja/web/css/-webkit-text-stroke-color/index.html @@ -38,7 +38,7 @@ translation_of: Web/CSS/-webkit-text-stroke-color <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/-webkit-text-stroke-width/index.html b/files/ja/web/css/-webkit-text-stroke-width/index.html index 4c76360a01..388919b8dc 100644 --- a/files/ja/web/css/-webkit-text-stroke-width/index.html +++ b/files/ja/web/css/-webkit-text-stroke-width/index.html @@ -45,7 +45,7 @@ translation_of: Web/CSS/-webkit-text-stroke-width <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/-webkit-touch-callout/index.html b/files/ja/web/css/-webkit-touch-callout/index.html index b5629e728c..ece9a6b1fb 100644 --- a/files/ja/web/css/-webkit-touch-callout/index.html +++ b/files/ja/web/css/-webkit-touch-callout/index.html @@ -41,7 +41,7 @@ translation_of: Web/CSS/-webkit-touch-callout <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@charset/index.html b/files/ja/web/css/@charset/index.html index 7cf9f35ab1..f74627226f 100644 --- a/files/ja/web/css/@charset/index.html +++ b/files/ja/web/css/@charset/index.html @@ -42,8 +42,7 @@ translation_of: Web/CSS/@charset <h3 id="Formal_syntax" name="Formal_syntax">正式な構文</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@counter-style/additive-symbols/index.html b/files/ja/web/css/@counter-style/additive-symbols/index.html index 7bb0386728..209536c7b6 100644 --- a/files/ja/web/css/@counter-style/additive-symbols/index.html +++ b/files/ja/web/css/@counter-style/additive-symbols/index.html @@ -26,7 +26,7 @@ additive-symbols: 3 "0", 2 url(symbol.png); <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/@counter-style/index.html b/files/ja/web/css/@counter-style/index.html index a634e3ba0a..5ba4e3db8b 100644 --- a/files/ja/web/css/@counter-style/index.html +++ b/files/ja/web/css/@counter-style/index.html @@ -92,8 +92,7 @@ ul { <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@counter-style/prefix/index.html b/files/ja/web/css/@counter-style/prefix/index.html index b69e7d4fcc..5bfc1c76c8 100644 --- a/files/ja/web/css/@counter-style/prefix/index.html +++ b/files/ja/web/css/@counter-style/prefix/index.html @@ -32,7 +32,7 @@ prefix: url(bullet.png); <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/@document/index.html b/files/ja/web/css/@document/index.html index 00087b8d9e..001b72bf95 100644 --- a/files/ja/web/css/@document/index.html +++ b/files/ja/web/css/@document/index.html @@ -41,7 +41,7 @@ translation_of: Web/CSS/@document <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@font-face/font-display/index.html b/files/ja/web/css/@font-face/font-display/index.html index b10d04d028..824fa2c5ac 100644 --- a/files/ja/web/css/@font-face/font-display/index.html +++ b/files/ja/web/css/@font-face/font-display/index.html @@ -61,7 +61,7 @@ font-display: optional;</pre> <h2 id="Formal_syntax" name="Formal_syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@font-face/font-family/index.html b/files/ja/web/css/@font-face/font-family/index.html index 39aa78e3a9..a66d1a7d71 100644 --- a/files/ja/web/css/@font-face/font-family/index.html +++ b/files/ja/web/css/@font-face/font-family/index.html @@ -37,7 +37,7 @@ font-family: examplefont; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@font-face/font-stretch/index.html b/files/ja/web/css/@font-face/font-stretch/index.html index 1704f1d662..c73497833c 100644 --- a/files/ja/web/css/@font-face/font-stretch/index.html +++ b/files/ja/web/css/@font-face/font-stretch/index.html @@ -119,8 +119,7 @@ font-stretch: condensed ultra-condensed;; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre>{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@font-face/font-style/index.html b/files/ja/web/css/@font-face/font-style/index.html index 051fe294c0..e5a396b199 100644 --- a/files/ja/web/css/@font-face/font-style/index.html +++ b/files/ja/web/css/@font-face/font-style/index.html @@ -49,7 +49,7 @@ font-style: oblique 30deg 50deg; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@font-face/font-variation-settings/index.html b/files/ja/web/css/@font-face/font-variation-settings/index.html index 5c26e1956a..e693d66ea1 100644 --- a/files/ja/web/css/@font-face/font-variation-settings/index.html +++ b/files/ja/web/css/@font-face/font-variation-settings/index.html @@ -37,7 +37,7 @@ font-variation-settings: "xhgt" 0.7;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@font-face/font-weight/index.html b/files/ja/web/css/@font-face/font-weight/index.html index 77106d3ea9..54fb37c0db 100644 --- a/files/ja/web/css/@font-face/font-weight/index.html +++ b/files/ja/web/css/@font-face/font-weight/index.html @@ -119,7 +119,7 @@ font-weight: 300 500; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@font-face/index.html b/files/ja/web/css/@font-face/index.html index 2a501194d9..9fd6c271f5 100644 --- a/files/ja/web/css/@font-face/index.html +++ b/files/ja/web/css/@font-face/index.html @@ -65,7 +65,7 @@ translation_of: Web/CSS/@font-face <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@font-face/src/index.html b/files/ja/web/css/@font-face/src/index.html index 3e1b90b644..573ed4f4b2 100644 --- a/files/ja/web/css/@font-face/src/index.html +++ b/files/ja/web/css/@font-face/src/index.html @@ -56,7 +56,7 @@ src: local(font), url(path/to/font.svg) format("svg"), <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@font-face/unicode-range/index.html b/files/ja/web/css/@font-face/unicode-range/index.html index 691d5e7f17..f96280e303 100644 --- a/files/ja/web/css/@font-face/unicode-range/index.html +++ b/files/ja/web/css/@font-face/unicode-range/index.html @@ -47,7 +47,7 @@ unicode-range: U+0025-00FF, U+4??; /* 複数の値 */ <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@font-feature-values/index.html b/files/ja/web/css/@font-feature-values/index.html index 18e2d4f558..97abb1265c 100644 --- a/files/ja/web/css/@font-feature-values/index.html +++ b/files/ja/web/css/@font-feature-values/index.html @@ -35,7 +35,7 @@ translation_of: Web/CSS/@font-feature-values <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@import/index.html b/files/ja/web/css/@import/index.html index 8ded925276..4634fb91f5 100644 --- a/files/ja/web/css/@import/index.html +++ b/files/ja/web/css/@import/index.html @@ -44,7 +44,7 @@ translation_of: Web/CSS/@import <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/@keyframes/index.html b/files/ja/web/css/@keyframes/index.html index 5858a51c9b..0e1f1f7e53 100644 --- a/files/ja/web/css/@keyframes/index.html +++ b/files/ja/web/css/@keyframes/index.html @@ -106,7 +106,7 @@ translation_of: Web/CSS/@keyframes <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@media/-ms-high-contrast/index.html b/files/ja/web/css/@media/-ms-high-contrast/index.html index e45b3279fa..d81fe0097f 100644 --- a/files/ja/web/css/@media/-ms-high-contrast/index.html +++ b/files/ja/web/css/@media/-ms-high-contrast/index.html @@ -45,7 +45,7 @@ original_slug: Web/CSS/-ms-high-contrast <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/@media/index.html b/files/ja/web/css/@media/index.html index c513968094..a91f7691ea 100644 --- a/files/ja/web/css/@media/index.html +++ b/files/ja/web/css/@media/index.html @@ -42,7 +42,7 @@ translation_of: Web/CSS/@media <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Media_features" name="Media_features">メディア特性</h2> diff --git a/files/ja/web/css/@namespace/index.html b/files/ja/web/css/@namespace/index.html index 8e8fc4643f..7f0325cce6 100644 --- a/files/ja/web/css/@namespace/index.html +++ b/files/ja/web/css/@namespace/index.html @@ -52,7 +52,7 @@ svg|a {} <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/@page/bleed/index.html b/files/ja/web/css/@page/bleed/index.html index 83bc2b853c..a5f275ba89 100644 --- a/files/ja/web/css/@page/bleed/index.html +++ b/files/ja/web/css/@page/bleed/index.html @@ -39,7 +39,7 @@ bleed: 1cm; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/@page/index.html b/files/ja/web/css/@page/index.html index a03ac2dff6..88748a9bda 100644 --- a/files/ja/web/css/@page/index.html +++ b/files/ja/web/css/@page/index.html @@ -51,7 +51,7 @@ translation_of: Web/CSS/@page <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@page/marks/index.html b/files/ja/web/css/@page/marks/index.html index eaced148e4..61384437ef 100644 --- a/files/ja/web/css/@page/marks/index.html +++ b/files/ja/web/css/@page/marks/index.html @@ -42,7 +42,7 @@ marks: crop cross; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@page/size/index.html b/files/ja/web/css/@page/size/index.html index 5193209c53..07e1acbd38 100644 --- a/files/ja/web/css/@page/size/index.html +++ b/files/ja/web/css/@page/size/index.html @@ -86,7 +86,7 @@ size: A4 portrait; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@supports/index.html b/files/ja/web/css/@supports/index.html index 68aa4f4bc7..87635707c2 100644 --- a/files/ja/web/css/@supports/index.html +++ b/files/ja/web/css/@supports/index.html @@ -95,7 +95,7 @@ translation_of: Web/CSS/@supports <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/@viewport/index.html b/files/ja/web/css/@viewport/index.html index de6cfc815c..3b68effd7d 100644 --- a/files/ja/web/css/@viewport/index.html +++ b/files/ja/web/css/@viewport/index.html @@ -73,7 +73,7 @@ translation_of: Web/CSS/@viewport <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_-moz-only-whitespace/index.html b/files/ja/web/css/_colon_-moz-only-whitespace/index.html index 95e836c637..9729d69af8 100644 --- a/files/ja/web/css/_colon_-moz-only-whitespace/index.html +++ b/files/ja/web/css/_colon_-moz-only-whitespace/index.html @@ -20,7 +20,7 @@ translation_of: 'Web/CSS/:-moz-only-whitespace' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_-moz-submit-invalid/index.html b/files/ja/web/css/_colon_-moz-submit-invalid/index.html index e3c30af31a..e6ca34b6d0 100644 --- a/files/ja/web/css/_colon_-moz-submit-invalid/index.html +++ b/files/ja/web/css/_colon_-moz-submit-invalid/index.html @@ -22,7 +22,7 @@ translation_of: 'Web/CSS/:-moz-submit-invalid' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> diff --git a/files/ja/web/css/_colon_active/index.html b/files/ja/web/css/_colon_active/index.html index 595e02a93e..3684f2b3b6 100644 --- a/files/ja/web/css/_colon_active/index.html +++ b/files/ja/web/css/_colon_active/index.html @@ -27,7 +27,7 @@ a:active { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_any-link/index.html b/files/ja/web/css/_colon_any-link/index.html index 045771ef23..735063ac38 100644 --- a/files/ja/web/css/_colon_any-link/index.html +++ b/files/ja/web/css/_colon_any-link/index.html @@ -22,8 +22,7 @@ translation_of: 'Web/CSS/:any-link' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_blank/index.html b/files/ja/web/css/_colon_blank/index.html index 31b50869f2..c53a13b419 100644 --- a/files/ja/web/css/_colon_blank/index.html +++ b/files/ja/web/css/_colon_blank/index.html @@ -24,7 +24,7 @@ translation_of: 'Web/CSS/:blank' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_checked/index.html b/files/ja/web/css/_colon_checked/index.html index f5be173f83..b5ff986542 100644 --- a/files/ja/web/css/_colon_checked/index.html +++ b/files/ja/web/css/_colon_checked/index.html @@ -35,7 +35,7 @@ translation_of: 'Web/CSS/:checked' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_default/index.html b/files/ja/web/css/_colon_default/index.html index 528bbd7d80..f14bcab134 100644 --- a/files/ja/web/css/_colon_default/index.html +++ b/files/ja/web/css/_colon_default/index.html @@ -26,8 +26,7 @@ translation_of: 'Web/CSS/:default' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_defined/index.html b/files/ja/web/css/_colon_defined/index.html index 814f136f82..2e146cdd24 100644 --- a/files/ja/web/css/_colon_defined/index.html +++ b/files/ja/web/css/_colon_defined/index.html @@ -29,7 +29,7 @@ simple-custom:defined { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_dir/index.html b/files/ja/web/css/_colon_dir/index.html index 5a97d10b89..a6095af7f7 100644 --- a/files/ja/web/css/_colon_dir/index.html +++ b/files/ja/web/css/_colon_dir/index.html @@ -45,7 +45,7 @@ translation_of: 'Web/CSS/:dir' <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_disabled/index.html b/files/ja/web/css/_colon_disabled/index.html index 3931a973e2..2f0d97a373 100644 --- a/files/ja/web/css/_colon_disabled/index.html +++ b/files/ja/web/css/_colon_disabled/index.html @@ -21,7 +21,7 @@ input:disabled { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_empty/index.html b/files/ja/web/css/_colon_empty/index.html index 6dbc6232af..352b7c1873 100644 --- a/files/ja/web/css/_colon_empty/index.html +++ b/files/ja/web/css/_colon_empty/index.html @@ -26,7 +26,7 @@ div:empty { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_enabled/index.html b/files/ja/web/css/_colon_enabled/index.html index edba1d3d3a..1ec68a79ab 100644 --- a/files/ja/web/css/_colon_enabled/index.html +++ b/files/ja/web/css/_colon_enabled/index.html @@ -21,7 +21,7 @@ input:enabled { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_first-child/index.html b/files/ja/web/css/_colon_first-child/index.html index a0377e61a9..e5b88ddc04 100644 --- a/files/ja/web/css/_colon_first-child/index.html +++ b/files/ja/web/css/_colon_first-child/index.html @@ -26,8 +26,7 @@ p:first-child { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_first-of-type/index.html b/files/ja/web/css/_colon_first-of-type/index.html index 3d0fe724cd..155cb16a12 100644 --- a/files/ja/web/css/_colon_first-of-type/index.html +++ b/files/ja/web/css/_colon_first-of-type/index.html @@ -26,8 +26,7 @@ p:first-of-type { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_first/index.html b/files/ja/web/css/_colon_first/index.html index a15a595580..032b21be19 100644 --- a/files/ja/web/css/_colon_first/index.html +++ b/files/ja/web/css/_colon_first/index.html @@ -28,7 +28,7 @@ translation_of: 'Web/CSS/:first' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_focus-visible/index.html b/files/ja/web/css/_colon_focus-visible/index.html index de61ad9b5c..c1c8f8c4b7 100644 --- a/files/ja/web/css/_colon_focus-visible/index.html +++ b/files/ja/web/css/_colon_focus-visible/index.html @@ -23,7 +23,7 @@ translation_of: 'Web/CSS/:focus-visible' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_focus-within/index.html b/files/ja/web/css/_colon_focus-within/index.html index 1bc44e63ed..b16a797e13 100644 --- a/files/ja/web/css/_colon_focus-within/index.html +++ b/files/ja/web/css/_colon_focus-within/index.html @@ -25,7 +25,7 @@ div:focus-within { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_focus/index.html b/files/ja/web/css/_colon_focus/index.html index a363d17db2..ca77f40be2 100644 --- a/files/ja/web/css/_colon_focus/index.html +++ b/files/ja/web/css/_colon_focus/index.html @@ -28,7 +28,7 @@ input:focus { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_fullscreen/index.html b/files/ja/web/css/_colon_fullscreen/index.html index 82d5cb648c..651c853058 100644 --- a/files/ja/web/css/_colon_fullscreen/index.html +++ b/files/ja/web/css/_colon_fullscreen/index.html @@ -19,7 +19,7 @@ translation_of: 'Web/CSS/:fullscreen' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Usage_notes" name="Usage_notes">使用上のメモ</h2> diff --git a/files/ja/web/css/_colon_has/index.html b/files/ja/web/css/_colon_has/index.html index 4579b2c8f4..10b552f611 100644 --- a/files/ja/web/css/_colon_has/index.html +++ b/files/ja/web/css/_colon_has/index.html @@ -22,7 +22,7 @@ var test = document.querySelector('a:has(> img)');</pre> <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_host-context()/index.html b/files/ja/web/css/_colon_host-context()/index.html index 33cd84271f..689f54c819 100644 --- a/files/ja/web/css/_colon_host-context()/index.html +++ b/files/ja/web/css/_colon_host-context()/index.html @@ -47,7 +47,7 @@ p { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_hover/index.html b/files/ja/web/css/_colon_hover/index.html index ab48b04af2..d6420f0f5b 100644 --- a/files/ja/web/css/_colon_hover/index.html +++ b/files/ja/web/css/_colon_hover/index.html @@ -24,7 +24,7 @@ a:hover { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_in-range/index.html b/files/ja/web/css/_colon_in-range/index.html index 825e415327..d4bf9c9485 100644 --- a/files/ja/web/css/_colon_in-range/index.html +++ b/files/ja/web/css/_colon_in-range/index.html @@ -25,7 +25,7 @@ input:in-range { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_indeterminate/index.html b/files/ja/web/css/_colon_indeterminate/index.html index 6a444e188a..5e4d19f79d 100644 --- a/files/ja/web/css/_colon_indeterminate/index.html +++ b/files/ja/web/css/_colon_indeterminate/index.html @@ -33,7 +33,7 @@ input:indeterminate { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_invalid/index.html b/files/ja/web/css/_colon_invalid/index.html index 9eb7b9d655..6a7a05786d 100644 --- a/files/ja/web/css/_colon_invalid/index.html +++ b/files/ja/web/css/_colon_invalid/index.html @@ -25,7 +25,7 @@ input:invalid { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_is/index.html b/files/ja/web/css/_colon_is/index.html index 9335378d3d..87634d800b 100644 --- a/files/ja/web/css/_colon_is/index.html +++ b/files/ja/web/css/_colon_is/index.html @@ -229,7 +229,7 @@ h1 { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/_colon_lang/index.html b/files/ja/web/css/_colon_lang/index.html index ea0bb496a5..2bc729ff80 100644 --- a/files/ja/web/css/_colon_lang/index.html +++ b/files/ja/web/css/_colon_lang/index.html @@ -27,7 +27,7 @@ p:lang(en) { <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h3 id="Parameter" name="Parameter">引数</h3> diff --git a/files/ja/web/css/_colon_last-child/index.html b/files/ja/web/css/_colon_last-child/index.html index 7c49e1ef58..0d56ee3fc4 100644 --- a/files/ja/web/css/_colon_last-child/index.html +++ b/files/ja/web/css/_colon_last-child/index.html @@ -26,7 +26,7 @@ p:last-child { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_last-of-type/index.html b/files/ja/web/css/_colon_last-of-type/index.html index e8be8ce196..0a2ea2a9c4 100644 --- a/files/ja/web/css/_colon_last-of-type/index.html +++ b/files/ja/web/css/_colon_last-of-type/index.html @@ -25,8 +25,7 @@ p:last-of-type { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_left/index.html b/files/ja/web/css/_colon_left/index.html index 141cfe4573..cee828acd0 100644 --- a/files/ja/web/css/_colon_left/index.html +++ b/files/ja/web/css/_colon_left/index.html @@ -30,7 +30,7 @@ translation_of: 'Web/CSS/:left' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_link/index.html b/files/ja/web/css/_colon_link/index.html index 4a78a0d6e8..a7e836cc13 100644 --- a/files/ja/web/css/_colon_link/index.html +++ b/files/ja/web/css/_colon_link/index.html @@ -26,7 +26,7 @@ a:link { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_not/index.html b/files/ja/web/css/_colon_not/index.html index 50707d6fc0..9596ce5bdb 100644 --- a/files/ja/web/css/_colon_not/index.html +++ b/files/ja/web/css/_colon_not/index.html @@ -31,7 +31,7 @@ translation_of: 'Web/CSS/:not' <p>複数のセレクターを指定することは実験的な機能で、広くは対応されていません。</p> </div> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Description" name="Description">解説</h2> diff --git a/files/ja/web/css/_colon_nth-child/index.html b/files/ja/web/css/_colon_nth-child/index.html index 43b4a9f49a..5b73519235 100644 --- a/files/ja/web/css/_colon_nth-child/index.html +++ b/files/ja/web/css/_colon_nth-child/index.html @@ -52,8 +52,7 @@ li:nth-child(2) { <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_nth-last-child/index.html b/files/ja/web/css/_colon_nth-last-child/index.html index 997902b16f..a947bf0ce0 100644 --- a/files/ja/web/css/_colon_nth-last-child/index.html +++ b/files/ja/web/css/_colon_nth-last-child/index.html @@ -46,8 +46,7 @@ translation_of: 'Web/CSS/:nth-last-child' <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_nth-last-of-type/index.html b/files/ja/web/css/_colon_nth-last-of-type/index.html index 302644c802..962cf8b2db 100644 --- a/files/ja/web/css/_colon_nth-last-of-type/index.html +++ b/files/ja/web/css/_colon_nth-last-of-type/index.html @@ -32,8 +32,7 @@ p:nth-last-of-type(4n) { <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_nth-of-type/index.html b/files/ja/web/css/_colon_nth-of-type/index.html index 9cc99efb72..ae6e1d42f1 100644 --- a/files/ja/web/css/_colon_nth-of-type/index.html +++ b/files/ja/web/css/_colon_nth-of-type/index.html @@ -29,8 +29,7 @@ p:nth-of-type(4n) { <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_only-child/index.html b/files/ja/web/css/_colon_only-child/index.html index 89ce4eb5fd..c823bfcc6e 100644 --- a/files/ja/web/css/_colon_only-child/index.html +++ b/files/ja/web/css/_colon_only-child/index.html @@ -25,8 +25,7 @@ p:only-child { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_only-of-type/index.html b/files/ja/web/css/_colon_only-of-type/index.html index bf2d2b4df9..08bae36855 100644 --- a/files/ja/web/css/_colon_only-of-type/index.html +++ b/files/ja/web/css/_colon_only-of-type/index.html @@ -26,8 +26,7 @@ p:only-of-type { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_optional/index.html b/files/ja/web/css/_colon_optional/index.html index cdce764fdb..4de606f4fc 100644 --- a/files/ja/web/css/_colon_optional/index.html +++ b/files/ja/web/css/_colon_optional/index.html @@ -27,7 +27,7 @@ input:optional { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_out-of-range/index.html b/files/ja/web/css/_colon_out-of-range/index.html index 7afe975a9e..d63ef3750c 100644 --- a/files/ja/web/css/_colon_out-of-range/index.html +++ b/files/ja/web/css/_colon_out-of-range/index.html @@ -27,7 +27,7 @@ input:out-of-range { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_placeholder-shown/index.html b/files/ja/web/css/_colon_placeholder-shown/index.html index ff139e88fc..a156a2592a 100644 --- a/files/ja/web/css/_colon_placeholder-shown/index.html +++ b/files/ja/web/css/_colon_placeholder-shown/index.html @@ -20,7 +20,7 @@ translation_of: 'Web/CSS/:placeholder-shown' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_read-only/index.html b/files/ja/web/css/_colon_read-only/index.html index 297b45a46e..1e20267444 100644 --- a/files/ja/web/css/_colon_read-only/index.html +++ b/files/ja/web/css/_colon_read-only/index.html @@ -26,7 +26,7 @@ p:read-only { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_read-write/index.html b/files/ja/web/css/_colon_read-write/index.html index 64552f03de..5e6070180d 100644 --- a/files/ja/web/css/_colon_read-write/index.html +++ b/files/ja/web/css/_colon_read-write/index.html @@ -26,7 +26,7 @@ p:read-write { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_required/index.html b/files/ja/web/css/_colon_required/index.html index b69b29f628..6b5ecad693 100644 --- a/files/ja/web/css/_colon_required/index.html +++ b/files/ja/web/css/_colon_required/index.html @@ -27,7 +27,7 @@ input:required { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_right/index.html b/files/ja/web/css/_colon_right/index.html index 1b6b7e2505..dc06dc313b 100644 --- a/files/ja/web/css/_colon_right/index.html +++ b/files/ja/web/css/_colon_right/index.html @@ -30,7 +30,7 @@ translation_of: 'Web/CSS/:right' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_root/index.html b/files/ja/web/css/_colon_root/index.html index 7b91951406..ae0be3dd3a 100644 --- a/files/ja/web/css/_colon_root/index.html +++ b/files/ja/web/css/_colon_root/index.html @@ -22,7 +22,7 @@ translation_of: 'Web/CSS/:root' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_scope/index.html b/files/ja/web/css/_colon_scope/index.html index 888c9a876e..f95ce0731b 100644 --- a/files/ja/web/css/_colon_scope/index.html +++ b/files/ja/web/css/_colon_scope/index.html @@ -24,7 +24,7 @@ translation_of: 'Web/CSS/:scope' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox language-html">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_colon_target/index.html b/files/ja/web/css/_colon_target/index.html index bb9a9c40d7..514428636c 100644 --- a/files/ja/web/css/_colon_target/index.html +++ b/files/ja/web/css/_colon_target/index.html @@ -30,7 +30,7 @@ translation_of: 'Web/CSS/:target' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_valid/index.html b/files/ja/web/css/_colon_valid/index.html index eeb229b80d..92f7e6cb9d 100644 --- a/files/ja/web/css/_colon_valid/index.html +++ b/files/ja/web/css/_colon_valid/index.html @@ -25,7 +25,7 @@ input:valid { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_visited/index.html b/files/ja/web/css/_colon_visited/index.html index 38fbc1e1a5..0b08f6fabd 100644 --- a/files/ja/web/css/_colon_visited/index.html +++ b/files/ja/web/css/_colon_visited/index.html @@ -37,7 +37,7 @@ a:visited { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_colon_where/index.html b/files/ja/web/css/_colon_where/index.html index 4516b847d0..ea043624c1 100644 --- a/files/ja/web/css/_colon_where/index.html +++ b/files/ja/web/css/_colon_where/index.html @@ -96,7 +96,7 @@ translation_of: 'Web/CSS/:where' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/_doublecolon_-moz-color-swatch/index.html b/files/ja/web/css/_doublecolon_-moz-color-swatch/index.html index e393f9cceb..e7e4a9b774 100644 --- a/files/ja/web/css/_doublecolon_-moz-color-swatch/index.html +++ b/files/ja/web/css/_doublecolon_-moz-color-swatch/index.html @@ -22,8 +22,7 @@ translation_of: 'Web/CSS/::-moz-color-swatch' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_doublecolon_-moz-progress-bar/index.html b/files/ja/web/css/_doublecolon_-moz-progress-bar/index.html index 8b1bff631c..f683b31da8 100644 --- a/files/ja/web/css/_doublecolon_-moz-progress-bar/index.html +++ b/files/ja/web/css/_doublecolon_-moz-progress-bar/index.html @@ -21,7 +21,7 @@ translation_of: 'Web/CSS/::-moz-progress-bar' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_doublecolon_-moz-range-track/index.html b/files/ja/web/css/_doublecolon_-moz-range-track/index.html index a8e2b5b044..f5225e7e87 100644 --- a/files/ja/web/css/_doublecolon_-moz-range-track/index.html +++ b/files/ja/web/css/_doublecolon_-moz-range-track/index.html @@ -20,7 +20,7 @@ translation_of: 'Web/CSS/::-moz-range-track' <h2 id="構文">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="例">例</h2> diff --git a/files/ja/web/css/_doublecolon_after/index.html b/files/ja/web/css/_doublecolon_after/index.html index a7ba688a7b..fe350e308f 100644 --- a/files/ja/web/css/_doublecolon_after/index.html +++ b/files/ja/web/css/_doublecolon_after/index.html @@ -24,7 +24,7 @@ translation_of: 'Web/CSS/::after' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <div class="note"> <p><strong>メモ:</strong> CSS3 では<a href="/en-US/docs/Web/CSS/Pseudo-classes">疑似クラス</a>と<a href="/en-US/docs/Web/CSS/Pseudo-elements">疑似要素</a>を見分けやすくするために、 <code>::after</code> の表記法(二重コロン付き)が導入されました。ブラウザーでは CSS2 で導入された <code>:after</code> も使用できます。</p> diff --git a/files/ja/web/css/_doublecolon_backdrop/index.html b/files/ja/web/css/_doublecolon_backdrop/index.html index 401fbd040c..284ce2207c 100644 --- a/files/ja/web/css/_doublecolon_backdrop/index.html +++ b/files/ja/web/css/_doublecolon_backdrop/index.html @@ -29,7 +29,7 @@ dialog::backdrop { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_doublecolon_before/index.html b/files/ja/web/css/_doublecolon_before/index.html index 65596a63d7..66846ef76e 100644 --- a/files/ja/web/css/_doublecolon_before/index.html +++ b/files/ja/web/css/_doublecolon_before/index.html @@ -25,7 +25,7 @@ a::before { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <div class="note"> <p><strong>注:</strong> CSS3 では<a href="/ja/docs/Web/CSS/Pseudo-classes">擬似クラス</a>と<a href="/ja/docs/Web/CSS/Pseudo-elements">擬似要素</a>を見分けやすくするために、 <code>::before</code> の表記法 (二重コロン付き) が導入されました。ブラウザーでは CSS2 で導入された <code>:before</code> も使用できます。</p> diff --git a/files/ja/web/css/_doublecolon_cue/index.html b/files/ja/web/css/_doublecolon_cue/index.html index 7422b52d8c..3c90381272 100644 --- a/files/ja/web/css/_doublecolon_cue/index.html +++ b/files/ja/web/css/_doublecolon_cue/index.html @@ -49,7 +49,7 @@ translation_of: 'Web/CSS/::cue' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/_doublecolon_first-letter/index.html b/files/ja/web/css/_doublecolon_first-letter/index.html index 8d9d2235fe..6063906558 100644 --- a/files/ja/web/css/_doublecolon_first-letter/index.html +++ b/files/ja/web/css/_doublecolon_first-letter/index.html @@ -46,7 +46,7 @@ p::first-letter { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_doublecolon_first-line/index.html b/files/ja/web/css/_doublecolon_first-line/index.html index ca36c8b9a0..88125bdf8d 100644 --- a/files/ja/web/css/_doublecolon_first-line/index.html +++ b/files/ja/web/css/_doublecolon_first-line/index.html @@ -36,7 +36,7 @@ p::first-line { <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_doublecolon_marker/index.html b/files/ja/web/css/_doublecolon_marker/index.html index 456202817e..a0161b134f 100644 --- a/files/ja/web/css/_doublecolon_marker/index.html +++ b/files/ja/web/css/_doublecolon_marker/index.html @@ -40,7 +40,7 @@ translation_of: 'Web/CSS/::marker' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_doublecolon_part/index.html b/files/ja/web/css/_doublecolon_part/index.html index f4af2fa823..3e2388e2f0 100644 --- a/files/ja/web/css/_doublecolon_part/index.html +++ b/files/ja/web/css/_doublecolon_part/index.html @@ -26,7 +26,7 @@ translation_of: 'Web/CSS/::part' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_doublecolon_placeholder/index.html b/files/ja/web/css/_doublecolon_placeholder/index.html index 114448ae34..3d16518f8f 100644 --- a/files/ja/web/css/_doublecolon_placeholder/index.html +++ b/files/ja/web/css/_doublecolon_placeholder/index.html @@ -26,7 +26,7 @@ translation_of: 'Web/CSS/::placeholder' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/_doublecolon_slotted/index.html b/files/ja/web/css/_doublecolon_slotted/index.html index e02c142be6..6d69cb223a 100644 --- a/files/ja/web/css/_doublecolon_slotted/index.html +++ b/files/ja/web/css/_doublecolon_slotted/index.html @@ -29,7 +29,7 @@ translation_of: 'Web/CSS/::slotted' <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/align-content/index.html b/files/ja/web/css/align-content/index.html index 7c2530a7d2..b981cfc660 100644 --- a/files/ja/web/css/align-content/index.html +++ b/files/ja/web/css/align-content/index.html @@ -100,7 +100,7 @@ align-content: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/align-items/index.html b/files/ja/web/css/align-items/index.html index c93aa16148..20bb86a4b1 100644 --- a/files/ja/web/css/align-items/index.html +++ b/files/ja/web/css/align-items/index.html @@ -89,8 +89,7 @@ align-items: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/align-self/index.html b/files/ja/web/css/align-self/index.html index ff0dcae67a..d32711ef2a 100644 --- a/files/ja/web/css/align-self/index.html +++ b/files/ja/web/css/align-self/index.html @@ -91,7 +91,7 @@ align-self: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/all/index.html b/files/ja/web/css/all/index.html index a65d37fcf5..5b3577e2a0 100644 --- a/files/ja/web/css/all/index.html +++ b/files/ja/web/css/all/index.html @@ -54,7 +54,7 @@ all: revert; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/animation-delay/index.html b/files/ja/web/css/animation-delay/index.html index 2535908e60..6c9db36216 100644 --- a/files/ja/web/css/animation-delay/index.html +++ b/files/ja/web/css/animation-delay/index.html @@ -48,8 +48,7 @@ animation-delay: 2.1s, 480ms; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/animation-direction/index.html b/files/ja/web/css/animation-direction/index.html index a3ecf9e9ac..372c4f5414 100644 --- a/files/ja/web/css/animation-direction/index.html +++ b/files/ja/web/css/animation-direction/index.html @@ -57,7 +57,7 @@ animation-direction: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/animation-duration/index.html b/files/ja/web/css/animation-duration/index.html index becc1fd743..6bd4b5aa39 100644 --- a/files/ja/web/css/animation-duration/index.html +++ b/files/ja/web/css/animation-duration/index.html @@ -52,7 +52,7 @@ animation-duration: 10s, 35s, 230ms; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/animation-fill-mode/index.html b/files/ja/web/css/animation-fill-mode/index.html index d2752a3009..387e7904f4 100644 --- a/files/ja/web/css/animation-fill-mode/index.html +++ b/files/ja/web/css/animation-fill-mode/index.html @@ -111,7 +111,7 @@ animation-fill-mode: both, forwards, none; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/animation-iteration-count/index.html b/files/ja/web/css/animation-iteration-count/index.html index a7e74e4f23..0b0e61ee24 100644 --- a/files/ja/web/css/animation-iteration-count/index.html +++ b/files/ja/web/css/animation-iteration-count/index.html @@ -50,7 +50,7 @@ animation-iteration-count: 2, 0, infinite;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/animation-name/index.html b/files/ja/web/css/animation-name/index.html index 885cba4529..e37b4b387c 100644 --- a/files/ja/web/css/animation-name/index.html +++ b/files/ja/web/css/animation-name/index.html @@ -50,7 +50,7 @@ animation-name: <a href="/ja/docs/Web/CSS/unset">unset</a></pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/animation-timing-function/index.html b/files/ja/web/css/animation-timing-function/index.html index b2e5cbb10d..817cb1c6dc 100644 --- a/files/ja/web/css/animation-timing-function/index.html +++ b/files/ja/web/css/animation-timing-function/index.html @@ -106,7 +106,7 @@ animation-timing-function: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/animation/index.html b/files/ja/web/css/animation/index.html index 2d3fc60770..84bde31c6b 100644 --- a/files/ja/web/css/animation/index.html +++ b/files/ja/web/css/animation/index.html @@ -254,7 +254,7 @@ button.restart { <h3 id="Formal_syntax" name="Formal_syntax">構文形式</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/appearance/index.html b/files/ja/web/css/appearance/index.html index c3bcde3b53..7953ceb9bd 100644 --- a/files/ja/web/css/appearance/index.html +++ b/files/ja/web/css/appearance/index.html @@ -2625,7 +2625,7 @@ div{ color: black; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/attr()/index.html b/files/ja/web/css/attr()/index.html index 12fe274750..8cbb24e8f8 100644 --- a/files/ja/web/css/attr()/index.html +++ b/files/ja/web/css/attr()/index.html @@ -160,7 +160,7 @@ attr(data-something, "default"); <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/backdrop-filter/index.html b/files/ja/web/css/backdrop-filter/index.html index 11d185cec2..6907d0bcca 100644 --- a/files/ja/web/css/backdrop-filter/index.html +++ b/files/ja/web/css/backdrop-filter/index.html @@ -61,7 +61,7 @@ backdrop-filter: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/backface-visibility/index.html b/files/ja/web/css/backface-visibility/index.html index abe789c057..a8bae22c1f 100644 --- a/files/ja/web/css/backface-visibility/index.html +++ b/files/ja/web/css/backface-visibility/index.html @@ -47,7 +47,7 @@ backface-visibility: unset;</pre> <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/background-attachment/index.html b/files/ja/web/css/background-attachment/index.html index cca2c19152..c03133a908 100644 --- a/files/ja/web/css/background-attachment/index.html +++ b/files/ja/web/css/background-attachment/index.html @@ -49,7 +49,7 @@ background-attachment: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/background-blend-mode/index.html b/files/ja/web/css/background-blend-mode/index.html index 11fea632d7..ad6c70f7f7 100644 --- a/files/ja/web/css/background-blend-mode/index.html +++ b/files/ja/web/css/background-blend-mode/index.html @@ -41,7 +41,7 @@ background-blend-mode: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/background-clip/index.html b/files/ja/web/css/background-clip/index.html index f9a9583cde..d6510c68df 100644 --- a/files/ja/web/css/background-clip/index.html +++ b/files/ja/web/css/background-clip/index.html @@ -60,7 +60,7 @@ background-clip: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/background-color/index.html b/files/ja/web/css/background-color/index.html index c75f4fb248..ed0eb49de5 100644 --- a/files/ja/web/css/background-color/index.html +++ b/files/ja/web/css/background-color/index.html @@ -57,7 +57,7 @@ background-color: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/background-image/index.html b/files/ja/web/css/background-image/index.html index 6305d98ea0..d119b338c7 100644 --- a/files/ja/web/css/background-image/index.html +++ b/files/ja/web/css/background-image/index.html @@ -64,7 +64,7 @@ translation_of: Web/CSS/background-image <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/background-origin/index.html b/files/ja/web/css/background-origin/index.html index bdef2ef165..3de769781a 100644 --- a/files/ja/web/css/background-origin/index.html +++ b/files/ja/web/css/background-origin/index.html @@ -50,7 +50,7 @@ background-origin: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/background-position-x/index.html b/files/ja/web/css/background-position-x/index.html index b2d1d43a22..ce81a0ce8d 100644 --- a/files/ja/web/css/background-position-x/index.html +++ b/files/ja/web/css/background-position-x/index.html @@ -66,7 +66,7 @@ background-position-x: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/background-position-y/index.html b/files/ja/web/css/background-position-y/index.html index a57e431146..22181f8a82 100644 --- a/files/ja/web/css/background-position-y/index.html +++ b/files/ja/web/css/background-position-y/index.html @@ -67,7 +67,7 @@ background-position-y: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/background-position/index.html b/files/ja/web/css/background-position/index.html index 57d104aef1..2fc5c8878a 100644 --- a/files/ja/web/css/background-position/index.html +++ b/files/ja/web/css/background-position/index.html @@ -132,7 +132,7 @@ background-position: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/background-repeat/index.html b/files/ja/web/css/background-repeat/index.html index 5ca4c622ba..869681c442 100644 --- a/files/ja/web/css/background-repeat/index.html +++ b/files/ja/web/css/background-repeat/index.html @@ -107,8 +107,7 @@ background-repeat: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> @@ -178,7 +177,7 @@ div { /* 複数の画像 */ .seven { background-image: url(https://mdn.mozillademos.org/files/12005/starsolid.gif), - url(https://developer.cdn.mozilla.net/media/redesign/img/favicon32.png); + url(https://developer.mozilla.org/static/img/favicon32.png); background-repeat: repeat-x, repeat-y; height: 144px; diff --git a/files/ja/web/css/background-size/index.html b/files/ja/web/css/background-size/index.html index 377a64e800..c49c9c104d 100644 --- a/files/ja/web/css/background-size/index.html +++ b/files/ja/web/css/background-size/index.html @@ -130,8 +130,7 @@ background-size: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/background/index.html b/files/ja/web/css/background/index.html index 92ce9a9189..9b9d627a88 100644 --- a/files/ja/web/css/background/index.html +++ b/files/ja/web/css/background/index.html @@ -100,7 +100,7 @@ background: no-repeat center/80% url("../img/image.png"); <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/block-size/index.html b/files/ja/web/css/block-size/index.html index 9e4f423851..adc0b332a4 100644 --- a/files/ja/web/css/block-size/index.html +++ b/files/ja/web/css/block-size/index.html @@ -51,7 +51,7 @@ block-size: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-block-color/index.html b/files/ja/web/css/border-block-color/index.html index 3b3b348c11..469b761c1c 100644 --- a/files/ja/web/css/border-block-color/index.html +++ b/files/ja/web/css/border-block-color/index.html @@ -34,7 +34,7 @@ border-block-color: #F5F6F7; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block-end-color/index.html b/files/ja/web/css/border-block-end-color/index.html index ad34d10b2f..03ac8d3c16 100644 --- a/files/ja/web/css/border-block-end-color/index.html +++ b/files/ja/web/css/border-block-end-color/index.html @@ -42,7 +42,7 @@ border-block-end-color: #F5F6F7; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block-end-style/index.html b/files/ja/web/css/border-block-end-style/index.html index b536bdd846..2e96f95976 100644 --- a/files/ja/web/css/border-block-end-style/index.html +++ b/files/ja/web/css/border-block-end-style/index.html @@ -44,7 +44,7 @@ border-block-end-style: groove; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block-end-width/index.html b/files/ja/web/css/border-block-end-width/index.html index 131b154a85..2c8c28311c 100644 --- a/files/ja/web/css/border-block-end-width/index.html +++ b/files/ja/web/css/border-block-end-width/index.html @@ -43,7 +43,7 @@ border-block-end-width: thick; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block-end/index.html b/files/ja/web/css/border-block-end/index.html index 485152ccb0..ae91e06321 100644 --- a/files/ja/web/css/border-block-end/index.html +++ b/files/ja/web/css/border-block-end/index.html @@ -51,7 +51,7 @@ border-block-end: medium dashed blue; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block-start-color/index.html b/files/ja/web/css/border-block-start-color/index.html index 5ca63e40e5..2b09b056cc 100644 --- a/files/ja/web/css/border-block-start-color/index.html +++ b/files/ja/web/css/border-block-start-color/index.html @@ -42,7 +42,7 @@ border-block-start-color: #4c5d21; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block-start-style/index.html b/files/ja/web/css/border-block-start-style/index.html index cff711d790..692e021c6c 100644 --- a/files/ja/web/css/border-block-start-style/index.html +++ b/files/ja/web/css/border-block-start-style/index.html @@ -45,7 +45,7 @@ border-block-start-style: groove; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block-start-width/index.html b/files/ja/web/css/border-block-start-width/index.html index 4409e56a82..27dc24485a 100644 --- a/files/ja/web/css/border-block-start-width/index.html +++ b/files/ja/web/css/border-block-start-width/index.html @@ -43,7 +43,7 @@ border-block-start-width: thick; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block-start/index.html b/files/ja/web/css/border-block-start/index.html index 6e4490037a..afe28a1792 100644 --- a/files/ja/web/css/border-block-start/index.html +++ b/files/ja/web/css/border-block-start/index.html @@ -52,7 +52,7 @@ border-block-start: medium dashed blue; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block-style/index.html b/files/ja/web/css/border-block-style/index.html index 928aeb32cf..9010e1979b 100644 --- a/files/ja/web/css/border-block-style/index.html +++ b/files/ja/web/css/border-block-style/index.html @@ -36,7 +36,7 @@ border-block-style: groove; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block-width/index.html b/files/ja/web/css/border-block-width/index.html index e20b409a44..53a13b7449 100644 --- a/files/ja/web/css/border-block-width/index.html +++ b/files/ja/web/css/border-block-width/index.html @@ -35,7 +35,7 @@ border-block-width: thick; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-block/index.html b/files/ja/web/css/border-block/index.html index 1d5b736960..2bbe8ffd24 100644 --- a/files/ja/web/css/border-block/index.html +++ b/files/ja/web/css/border-block/index.html @@ -43,7 +43,7 @@ border-block: medium dashed blue; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-bottom-color/index.html b/files/ja/web/css/border-bottom-color/index.html index 37b4ce9f2a..d2a3cb3fec 100644 --- a/files/ja/web/css/border-bottom-color/index.html +++ b/files/ja/web/css/border-bottom-color/index.html @@ -48,7 +48,7 @@ border-bottom-color: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-bottom-left-radius/index.html b/files/ja/web/css/border-bottom-left-radius/index.html index e6805d19db..8033f817fc 100644 --- a/files/ja/web/css/border-bottom-left-radius/index.html +++ b/files/ja/web/css/border-bottom-left-radius/index.html @@ -74,7 +74,7 @@ border-bottom-left-radius: inherit;</pre> <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-bottom-right-radius/index.html b/files/ja/web/css/border-bottom-right-radius/index.html index 090de6ee4a..1a29b5cb07 100644 --- a/files/ja/web/css/border-bottom-right-radius/index.html +++ b/files/ja/web/css/border-bottom-right-radius/index.html @@ -68,7 +68,7 @@ border-bottom-right-radius: inherit;</pre> <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-bottom-style/index.html b/files/ja/web/css/border-bottom-style/index.html index 01471dae24..d3881ad2ae 100644 --- a/files/ja/web/css/border-bottom-style/index.html +++ b/files/ja/web/css/border-bottom-style/index.html @@ -45,7 +45,7 @@ border-bottom-style: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-bottom-width/index.html b/files/ja/web/css/border-bottom-width/index.html index fb65fdb357..bae3701823 100644 --- a/files/ja/web/css/border-bottom-width/index.html +++ b/files/ja/web/css/border-bottom-width/index.html @@ -76,7 +76,7 @@ border-bottom-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-bottom/index.html b/files/ja/web/css/border-bottom/index.html index dfc11e2f13..c7efae482b 100644 --- a/files/ja/web/css/border-bottom/index.html +++ b/files/ja/web/css/border-bottom/index.html @@ -67,7 +67,7 @@ border-bottom: medium dashed blue; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-collapse/index.html b/files/ja/web/css/border-collapse/index.html index 384a7d42c9..30f38c8009 100644 --- a/files/ja/web/css/border-collapse/index.html +++ b/files/ja/web/css/border-collapse/index.html @@ -43,7 +43,7 @@ border-collapse: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-color/index.html b/files/ja/web/css/border-color/index.html index 2e1c0247af..bc1c57c89c 100644 --- a/files/ja/web/css/border-color/index.html +++ b/files/ja/web/css/border-color/index.html @@ -65,7 +65,7 @@ border-color: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-end-end-radius/index.html b/files/ja/web/css/border-end-end-radius/index.html index 2b479ee923..c5e4a76db0 100644 --- a/files/ja/web/css/border-end-end-radius/index.html +++ b/files/ja/web/css/border-end-end-radius/index.html @@ -47,7 +47,7 @@ border-end-end-radius: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-end-start-radius/index.html b/files/ja/web/css/border-end-start-radius/index.html index d7967ba6b1..427e1ddf46 100644 --- a/files/ja/web/css/border-end-start-radius/index.html +++ b/files/ja/web/css/border-end-start-radius/index.html @@ -47,7 +47,7 @@ border-end-start-radius: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-image-outset/index.html b/files/ja/web/css/border-image-outset/index.html index 2ae454522e..959f344af9 100644 --- a/files/ja/web/css/border-image-outset/index.html +++ b/files/ja/web/css/border-image-outset/index.html @@ -62,7 +62,7 @@ border-image-outset: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-image-repeat/index.html b/files/ja/web/css/border-image-repeat/index.html index 53d19da69d..05e178d0e2 100644 --- a/files/ja/web/css/border-image-repeat/index.html +++ b/files/ja/web/css/border-image-repeat/index.html @@ -56,7 +56,7 @@ border-image-repeat: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-image-slice/index.html b/files/ja/web/css/border-image-slice/index.html index 98e350758f..80ae1eedc5 100644 --- a/files/ja/web/css/border-image-slice/index.html +++ b/files/ja/web/css/border-image-slice/index.html @@ -79,7 +79,7 @@ border-image-slice: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/border-image-source/index.html b/files/ja/web/css/border-image-source/index.html index ffac71e956..d0be765591 100644 --- a/files/ja/web/css/border-image-source/index.html +++ b/files/ja/web/css/border-image-source/index.html @@ -51,7 +51,7 @@ border-image-source: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-image-width/index.html b/files/ja/web/css/border-image-width/index.html index 35702b3958..f42f0f856e 100644 --- a/files/ja/web/css/border-image-width/index.html +++ b/files/ja/web/css/border-image-width/index.html @@ -70,7 +70,7 @@ border-image-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-image/index.html b/files/ja/web/css/border-image/index.html index 0ee0aa316a..22be397782 100644 --- a/files/ja/web/css/border-image/index.html +++ b/files/ja/web/css/border-image/index.html @@ -63,7 +63,7 @@ border-image: url("/images/border.png") 27 23 / 50px 30px / 1rem round space; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-inline-color/index.html b/files/ja/web/css/border-inline-color/index.html index 8dbf1be88f..2a604e52e0 100644 --- a/files/ja/web/css/border-inline-color/index.html +++ b/files/ja/web/css/border-inline-color/index.html @@ -34,7 +34,7 @@ border-inline-color: #F5F6F7; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-inline-end-color/index.html b/files/ja/web/css/border-inline-end-color/index.html index 4a868a5bed..c15a119544 100644 --- a/files/ja/web/css/border-inline-end-color/index.html +++ b/files/ja/web/css/border-inline-end-color/index.html @@ -42,7 +42,7 @@ border-inline-end-color: #663399; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-inline-end-style/index.html b/files/ja/web/css/border-inline-end-style/index.html index a33a5711dd..460918c0b1 100644 --- a/files/ja/web/css/border-inline-end-style/index.html +++ b/files/ja/web/css/border-inline-end-style/index.html @@ -44,7 +44,7 @@ border-inline-end-style: groove; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-inline-end-width/index.html b/files/ja/web/css/border-inline-end-width/index.html index cd8926c2d3..0ec112c8bf 100644 --- a/files/ja/web/css/border-inline-end-width/index.html +++ b/files/ja/web/css/border-inline-end-width/index.html @@ -43,7 +43,7 @@ border-inline-end-width: thick; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-inline-end/index.html b/files/ja/web/css/border-inline-end/index.html index 13490579f3..25966acd4e 100644 --- a/files/ja/web/css/border-inline-end/index.html +++ b/files/ja/web/css/border-inline-end/index.html @@ -52,7 +52,7 @@ border-inline-end: medium dashed blue; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-inline-start-color/index.html b/files/ja/web/css/border-inline-start-color/index.html index dde977fdea..b7663a202c 100644 --- a/files/ja/web/css/border-inline-start-color/index.html +++ b/files/ja/web/css/border-inline-start-color/index.html @@ -42,7 +42,7 @@ border-inline-start-color: #ee4141; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-inline-start-style/index.html b/files/ja/web/css/border-inline-start-style/index.html index 83db36932f..8a3e9fdbb3 100644 --- a/files/ja/web/css/border-inline-start-style/index.html +++ b/files/ja/web/css/border-inline-start-style/index.html @@ -44,7 +44,7 @@ border-inline-start-style: groove; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-inline-start-width/index.html b/files/ja/web/css/border-inline-start-width/index.html index dfd1916c0a..fe27963dc1 100644 --- a/files/ja/web/css/border-inline-start-width/index.html +++ b/files/ja/web/css/border-inline-start-width/index.html @@ -43,7 +43,7 @@ border-inline-start-width: thick; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-inline-start/index.html b/files/ja/web/css/border-inline-start/index.html index 20ccccddf6..627230ce1d 100644 --- a/files/ja/web/css/border-inline-start/index.html +++ b/files/ja/web/css/border-inline-start/index.html @@ -52,7 +52,7 @@ border-inline-start: medium dashed green; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-inline-style/index.html b/files/ja/web/css/border-inline-style/index.html index 7b49f9aeb0..fd83df0c14 100644 --- a/files/ja/web/css/border-inline-style/index.html +++ b/files/ja/web/css/border-inline-style/index.html @@ -36,7 +36,7 @@ border-inline-style: groove; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-inline-width/index.html b/files/ja/web/css/border-inline-width/index.html index 81904da54d..6131c5e5d9 100644 --- a/files/ja/web/css/border-inline-width/index.html +++ b/files/ja/web/css/border-inline-width/index.html @@ -36,7 +36,7 @@ border-inline-width: thick; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-inline/index.html b/files/ja/web/css/border-inline/index.html index f3e3bde468..6bc698a032 100644 --- a/files/ja/web/css/border-inline/index.html +++ b/files/ja/web/css/border-inline/index.html @@ -41,7 +41,7 @@ border-inline: medium dashed blue; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-left-color/index.html b/files/ja/web/css/border-left-color/index.html index 6e50e7e0b1..cd77bd4657 100644 --- a/files/ja/web/css/border-left-color/index.html +++ b/files/ja/web/css/border-left-color/index.html @@ -50,7 +50,7 @@ border-left-color: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-left-style/index.html b/files/ja/web/css/border-left-style/index.html index 427e9c5f46..c594d5b7b5 100644 --- a/files/ja/web/css/border-left-style/index.html +++ b/files/ja/web/css/border-left-style/index.html @@ -45,7 +45,7 @@ border-left-style: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-left-width/index.html b/files/ja/web/css/border-left-width/index.html index eb54d04b4e..bab5861fd4 100644 --- a/files/ja/web/css/border-left-width/index.html +++ b/files/ja/web/css/border-left-width/index.html @@ -76,7 +76,7 @@ border-left-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-left/index.html b/files/ja/web/css/border-left/index.html index 22e4a8467d..f3692662f4 100644 --- a/files/ja/web/css/border-left/index.html +++ b/files/ja/web/css/border-left/index.html @@ -67,7 +67,7 @@ border-left: medium dashed green; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-radius/index.html b/files/ja/web/css/border-radius/index.html index f72ffbefe4..55ee88063c 100644 --- a/files/ja/web/css/border-radius/index.html +++ b/files/ja/web/css/border-radius/index.html @@ -137,7 +137,7 @@ border-bottom-left-radius: 3px 4px; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-right-color/index.html b/files/ja/web/css/border-right-color/index.html index 5655faa913..d00791d575 100644 --- a/files/ja/web/css/border-right-color/index.html +++ b/files/ja/web/css/border-right-color/index.html @@ -48,7 +48,7 @@ border-right-color: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-right-style/index.html b/files/ja/web/css/border-right-style/index.html index fd9108dd8f..437a7849a3 100644 --- a/files/ja/web/css/border-right-style/index.html +++ b/files/ja/web/css/border-right-style/index.html @@ -45,7 +45,7 @@ border-right-style: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-right-width/index.html b/files/ja/web/css/border-right-width/index.html index 4290b4da04..8525e0e639 100644 --- a/files/ja/web/css/border-right-width/index.html +++ b/files/ja/web/css/border-right-width/index.html @@ -76,7 +76,7 @@ border-right-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-right/index.html b/files/ja/web/css/border-right/index.html index 5cbd175efa..08732d1b09 100644 --- a/files/ja/web/css/border-right/index.html +++ b/files/ja/web/css/border-right/index.html @@ -67,7 +67,7 @@ border-right: medium dashed green; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-spacing/index.html b/files/ja/web/css/border-spacing/index.html index 0e9470089c..34128ae208 100644 --- a/files/ja/web/css/border-spacing/index.html +++ b/files/ja/web/css/border-spacing/index.html @@ -54,7 +54,7 @@ border-spacing: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-start-end-radius/index.html b/files/ja/web/css/border-start-end-radius/index.html index 853988d0b7..fd8c654eb7 100644 --- a/files/ja/web/css/border-start-end-radius/index.html +++ b/files/ja/web/css/border-start-end-radius/index.html @@ -47,7 +47,7 @@ border-start-end-radius: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-start-start-radius/index.html b/files/ja/web/css/border-start-start-radius/index.html index 9a1b326993..440602e965 100644 --- a/files/ja/web/css/border-start-start-radius/index.html +++ b/files/ja/web/css/border-start-start-radius/index.html @@ -47,7 +47,7 @@ border-start-start-radius: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-style/index.html b/files/ja/web/css/border-style/index.html index 1dd8bcc7a4..ddcbf4bbf1 100644 --- a/files/ja/web/css/border-style/index.html +++ b/files/ja/web/css/border-style/index.html @@ -146,7 +146,7 @@ border-style: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-top-color/index.html b/files/ja/web/css/border-top-color/index.html index 8754521b7a..71b27ba1ea 100644 --- a/files/ja/web/css/border-top-color/index.html +++ b/files/ja/web/css/border-top-color/index.html @@ -48,7 +48,7 @@ border-top-color: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-top-left-radius/index.html b/files/ja/web/css/border-top-left-radius/index.html index 0fd505b09b..8041261d16 100644 --- a/files/ja/web/css/border-top-left-radius/index.html +++ b/files/ja/web/css/border-top-left-radius/index.html @@ -60,7 +60,7 @@ border-top-left-radius: inherit; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-top-right-radius/index.html b/files/ja/web/css/border-top-right-radius/index.html index c522635fbb..6bd438e576 100644 --- a/files/ja/web/css/border-top-right-radius/index.html +++ b/files/ja/web/css/border-top-right-radius/index.html @@ -60,7 +60,7 @@ border-top-right-radius: inherit; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-top-style/index.html b/files/ja/web/css/border-top-style/index.html index 9932676ff5..9d071c4bc6 100644 --- a/files/ja/web/css/border-top-style/index.html +++ b/files/ja/web/css/border-top-style/index.html @@ -47,7 +47,7 @@ border-top-style: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-top-width/index.html b/files/ja/web/css/border-top-width/index.html index 9d6d09ba3e..a500339d48 100644 --- a/files/ja/web/css/border-top-width/index.html +++ b/files/ja/web/css/border-top-width/index.html @@ -76,7 +76,7 @@ border-top-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/border-top/index.html b/files/ja/web/css/border-top/index.html index 1c5a2650f7..ea9d82feb7 100644 --- a/files/ja/web/css/border-top/index.html +++ b/files/ja/web/css/border-top/index.html @@ -67,7 +67,7 @@ border-top: medium dashed green; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border-width/index.html b/files/ja/web/css/border-width/index.html index a9b09f0205..dc61ccc725 100644 --- a/files/ja/web/css/border-width/index.html +++ b/files/ja/web/css/border-width/index.html @@ -93,7 +93,7 @@ border-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/border/index.html b/files/ja/web/css/border/index.html index bf684888c7..50d5e33858 100644 --- a/files/ja/web/css/border/index.html +++ b/files/ja/web/css/border/index.html @@ -88,7 +88,7 @@ border: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/bottom/index.html b/files/ja/web/css/bottom/index.html index 87298e5afe..4ac7a1723a 100644 --- a/files/ja/web/css/bottom/index.html +++ b/files/ja/web/css/bottom/index.html @@ -70,7 +70,7 @@ bottom: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/box-align/index.html b/files/ja/web/css/box-align/index.html index 6ad0ca4bc0..34c5dcc896 100644 --- a/files/ja/web/css/box-align/index.html +++ b/files/ja/web/css/box-align/index.html @@ -52,7 +52,7 @@ box-lines: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/box-decoration-break/index.html b/files/ja/web/css/box-decoration-break/index.html index b370a57727..676b9615f8 100644 --- a/files/ja/web/css/box-decoration-break/index.html +++ b/files/ja/web/css/box-decoration-break/index.html @@ -54,7 +54,7 @@ box-decoration-break: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/box-direction/index.html b/files/ja/web/css/box-direction/index.html index 3e39f80bc6..0b34c5c6f1 100644 --- a/files/ja/web/css/box-direction/index.html +++ b/files/ja/web/css/box-direction/index.html @@ -43,7 +43,7 @@ box-direction: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/box-flex-group/index.html b/files/ja/web/css/box-flex-group/index.html index 16d0cc0655..71207c1f8e 100644 --- a/files/ja/web/css/box-flex-group/index.html +++ b/files/ja/web/css/box-flex-group/index.html @@ -41,7 +41,7 @@ box-flex-group: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/box-flex/index.html b/files/ja/web/css/box-flex/index.html index 5b179f5efb..8a7dc93185 100644 --- a/files/ja/web/css/box-flex/index.html +++ b/files/ja/web/css/box-flex/index.html @@ -42,7 +42,7 @@ translation_of: Web/CSS/box-flex <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/box-lines/index.html b/files/ja/web/css/box-lines/index.html index b2c01cbf1f..9c42b41eef 100644 --- a/files/ja/web/css/box-lines/index.html +++ b/files/ja/web/css/box-lines/index.html @@ -54,7 +54,7 @@ box-lines: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/box-ordinal-group/index.html b/files/ja/web/css/box-ordinal-group/index.html index 7dd95b2029..8c91912466 100644 --- a/files/ja/web/css/box-ordinal-group/index.html +++ b/files/ja/web/css/box-ordinal-group/index.html @@ -39,7 +39,7 @@ box-ordinal-group: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/box-orient/index.html b/files/ja/web/css/box-orient/index.html index 35708ac6e3..7a19b18ec3 100644 --- a/files/ja/web/css/box-orient/index.html +++ b/files/ja/web/css/box-orient/index.html @@ -52,7 +52,7 @@ box-orient: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/box-pack/index.html b/files/ja/web/css/box-pack/index.html index 0a448172a9..22b80afad8 100644 --- a/files/ja/web/css/box-pack/index.html +++ b/files/ja/web/css/box-pack/index.html @@ -52,7 +52,7 @@ box-pack: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/box-shadow/index.html b/files/ja/web/css/box-shadow/index.html index 241656e182..80f4b8a20d 100644 --- a/files/ja/web/css/box-shadow/index.html +++ b/files/ja/web/css/box-shadow/index.html @@ -101,7 +101,7 @@ box-shadow: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/box-sizing/index.html b/files/ja/web/css/box-sizing/index.html index 345b21e0ab..2cd9547bd6 100644 --- a/files/ja/web/css/box-sizing/index.html +++ b/files/ja/web/css/box-sizing/index.html @@ -60,7 +60,7 @@ translation_of: Web/CSS/box-sizing <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/break-after/index.html b/files/ja/web/css/break-after/index.html index 2e846d7a87..fb0bdcd7eb 100644 --- a/files/ja/web/css/break-after/index.html +++ b/files/ja/web/css/break-after/index.html @@ -153,7 +153,7 @@ break-after: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/break-before/index.html b/files/ja/web/css/break-before/index.html index f52d6657d0..d0be1dd7b9 100644 --- a/files/ja/web/css/break-before/index.html +++ b/files/ja/web/css/break-before/index.html @@ -110,7 +110,7 @@ break-before: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Page_break_aliases" name="Page_break_aliases">改ページの別名</h2> diff --git a/files/ja/web/css/break-inside/index.html b/files/ja/web/css/break-inside/index.html index 3f0781500a..5928fc635a 100644 --- a/files/ja/web/css/break-inside/index.html +++ b/files/ja/web/css/break-inside/index.html @@ -87,7 +87,7 @@ break-inside: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/calc()/index.html b/files/ja/web/css/calc()/index.html index 2eb9293a88..52753185c1 100644 --- a/files/ja/web/css/calc()/index.html +++ b/files/ja/web/css/calc()/index.html @@ -51,7 +51,7 @@ width: calc(100% - 80px);</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/caption-side/index.html b/files/ja/web/css/caption-side/index.html index 8628282eb2..5b95a7c75e 100644 --- a/files/ja/web/css/caption-side/index.html +++ b/files/ja/web/css/caption-side/index.html @@ -61,7 +61,7 @@ caption-side: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式構文</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/caret-color/index.html b/files/ja/web/css/caret-color/index.html index 9ec9500f78..5007ad31bb 100644 --- a/files/ja/web/css/caret-color/index.html +++ b/files/ja/web/css/caret-color/index.html @@ -53,7 +53,7 @@ caret-color: hsla(228, 4%, 24%, 0.8); <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/clamp()/index.html b/files/ja/web/css/clamp()/index.html index e8f18e5e57..4ca3a7bc4f 100644 --- a/files/ja/web/css/clamp()/index.html +++ b/files/ja/web/css/clamp()/index.html @@ -64,7 +64,7 @@ width: 64px;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/clear/index.html b/files/ja/web/css/clear/index.html index 1c90db6387..c5913a28db 100644 --- a/files/ja/web/css/clear/index.html +++ b/files/ja/web/css/clear/index.html @@ -68,7 +68,7 @@ clear: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/clip-path/index.html b/files/ja/web/css/clip-path/index.html index c469fec575..eff3dcb08a 100644 --- a/files/ja/web/css/clip-path/index.html +++ b/files/ja/web/css/clip-path/index.html @@ -94,7 +94,7 @@ clip-path: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/clip/index.html b/files/ja/web/css/clip/index.html index cc9e9a3e1b..187c89f5a1 100644 --- a/files/ja/web/css/clip/index.html +++ b/files/ja/web/css/clip/index.html @@ -43,7 +43,7 @@ clip: unset;</pre> <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/color-adjust/index.html b/files/ja/web/css/color-adjust/index.html index a6eac63a08..d0b29dfe2c 100644 --- a/files/ja/web/css/color-adjust/index.html +++ b/files/ja/web/css/color-adjust/index.html @@ -56,7 +56,7 @@ color-adjust: exact;</pre> <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/color/index.html b/files/ja/web/css/color/index.html index 77a3ad9077..ade4d57a15 100644 --- a/files/ja/web/css/color/index.html +++ b/files/ja/web/css/color/index.html @@ -75,7 +75,7 @@ color: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/column-count/index.html b/files/ja/web/css/column-count/index.html index 9f1ee0dbb3..01044d75b1 100644 --- a/files/ja/web/css/column-count/index.html +++ b/files/ja/web/css/column-count/index.html @@ -41,7 +41,7 @@ column-count: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/column-fill/index.html b/files/ja/web/css/column-fill/index.html index 1ccb7597ae..cba6d31368 100644 --- a/files/ja/web/css/column-fill/index.html +++ b/files/ja/web/css/column-fill/index.html @@ -49,7 +49,7 @@ column-fill: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/column-gap/index.html b/files/ja/web/css/column-gap/index.html index 4708977143..2a3682a8c5 100644 --- a/files/ja/web/css/column-gap/index.html +++ b/files/ja/web/css/column-gap/index.html @@ -60,7 +60,7 @@ column-gap: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/column-rule-color/index.html b/files/ja/web/css/column-rule-color/index.html index 8aecf5ad2d..a7b6dd5a67 100644 --- a/files/ja/web/css/column-rule-color/index.html +++ b/files/ja/web/css/column-rule-color/index.html @@ -43,7 +43,7 @@ column-rule-color: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/column-rule-style/index.html b/files/ja/web/css/column-rule-style/index.html index 04f25f3270..cbfe2b6a5d 100644 --- a/files/ja/web/css/column-rule-style/index.html +++ b/files/ja/web/css/column-rule-style/index.html @@ -48,8 +48,7 @@ column-rule-style: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/column-rule-width/index.html b/files/ja/web/css/column-rule-width/index.html index f946e5e131..6e4eecff5c 100644 --- a/files/ja/web/css/column-rule-width/index.html +++ b/files/ja/web/css/column-rule-width/index.html @@ -46,8 +46,7 @@ column-rule-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/column-rule/index.html b/files/ja/web/css/column-rule/index.html index ed13f58638..4075a5daf5 100644 --- a/files/ja/web/css/column-rule/index.html +++ b/files/ja/web/css/column-rule/index.html @@ -57,8 +57,7 @@ column-rule: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/column-span/index.html b/files/ja/web/css/column-span/index.html index 63a153b5c6..6550b9666f 100644 --- a/files/ja/web/css/column-span/index.html +++ b/files/ja/web/css/column-span/index.html @@ -46,7 +46,7 @@ column-span: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/column-width/index.html b/files/ja/web/css/column-width/index.html index 159888d092..1615bfd956 100644 --- a/files/ja/web/css/column-width/index.html +++ b/files/ja/web/css/column-width/index.html @@ -49,7 +49,7 @@ column-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/columns/index.html b/files/ja/web/css/columns/index.html index 6f01f3ac59..db53705b06 100644 --- a/files/ja/web/css/columns/index.html +++ b/files/ja/web/css/columns/index.html @@ -52,7 +52,7 @@ columns: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">構文形式</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/contain/index.html b/files/ja/web/css/contain/index.html index ce4baf2d86..6e0c45f835 100644 --- a/files/ja/web/css/contain/index.html +++ b/files/ja/web/css/contain/index.html @@ -82,7 +82,7 @@ contain: unset;</pre> <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/content/index.html b/files/ja/web/css/content/index.html index c28fc33ac9..58945b313d 100644 --- a/files/ja/web/css/content/index.html +++ b/files/ja/web/css/content/index.html @@ -82,8 +82,7 @@ content: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/counter()/index.html b/files/ja/web/css/counter()/index.html index 7793cfceae..0954276b67 100644 --- a/files/ja/web/css/counter()/index.html +++ b/files/ja/web/css/counter()/index.html @@ -40,7 +40,7 @@ counter(countername, upper-roman)</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/counter-increment/index.html b/files/ja/web/css/counter-increment/index.html index 52058c8293..f317220dc1 100644 --- a/files/ja/web/css/counter-increment/index.html +++ b/files/ja/web/css/counter-increment/index.html @@ -66,7 +66,7 @@ counter-increment: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/counter-reset/index.html b/files/ja/web/css/counter-reset/index.html index 3a0ac5be80..03e4453e9a 100644 --- a/files/ja/web/css/counter-reset/index.html +++ b/files/ja/web/css/counter-reset/index.html @@ -60,8 +60,7 @@ counter-reset: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/counter-set/index.html b/files/ja/web/css/counter-set/index.html index aa081fcccf..c6a204085b 100644 --- a/files/ja/web/css/counter-set/index.html +++ b/files/ja/web/css/counter-set/index.html @@ -56,8 +56,7 @@ counter-set: unset; <h3 id="形式文法">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="事例">事例</h2> diff --git a/files/ja/web/css/counters()/index.html b/files/ja/web/css/counters()/index.html index 3c7412b968..346cce50be 100644 --- a/files/ja/web/css/counters()/index.html +++ b/files/ja/web/css/counters()/index.html @@ -42,7 +42,7 @@ counters(countername, '.', upper-roman)</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/cross-fade()/index.html b/files/ja/web/css/cross-fade()/index.html index c3144141f5..6ca17abe23 100644 --- a/files/ja/web/css/cross-fade()/index.html +++ b/files/ja/web/css/cross-fade()/index.html @@ -86,7 +86,7 @@ cross-fade(url(white.png), url(black.png), 100%); /* fully white */ <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/cursor/index.html b/files/ja/web/css/cursor/index.html index e488510257..4120669785 100644 --- a/files/ja/web/css/cursor/index.html +++ b/files/ja/web/css/cursor/index.html @@ -272,7 +272,7 @@ cursor: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/direction/index.html b/files/ja/web/css/direction/index.html index 17d49de476..025c3ed6c2 100644 --- a/files/ja/web/css/direction/index.html +++ b/files/ja/web/css/direction/index.html @@ -48,7 +48,7 @@ direction: unset;</pre> <h3 id="形式文法">形式文法</h3> -<pre>{{csssyntax("direction")}}</pre> +{{csssyntax("direction")}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/display/index.html b/files/ja/web/css/display/index.html index 644ae750d3..d359390763 100644 --- a/files/ja/web/css/display/index.html +++ b/files/ja/web/css/display/index.html @@ -187,7 +187,7 @@ display: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/empty-cells/index.html b/files/ja/web/css/empty-cells/index.html index dc203bac4a..9a2dce104b 100644 --- a/files/ja/web/css/empty-cells/index.html +++ b/files/ja/web/css/empty-cells/index.html @@ -43,8 +43,7 @@ empty-cells: unset; <h3 id="Examples" name="Examples">例</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/env()/index.html b/files/ja/web/css/env()/index.html index e8112419cf..4c0d5da72a 100644 --- a/files/ja/web/css/env()/index.html +++ b/files/ja/web/css/env()/index.html @@ -63,7 +63,7 @@ env(safe-area-inset-left, 1.4rem); <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/filter/index.html b/files/ja/web/css/filter/index.html index 1ec80548b3..f829516f57 100644 --- a/files/ja/web/css/filter/index.html +++ b/files/ja/web/css/filter/index.html @@ -66,7 +66,7 @@ filter: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/fit-content/index.html b/files/ja/web/css/fit-content/index.html index 2aa2d093c4..c495ffed30 100644 --- a/files/ja/web/css/fit-content/index.html +++ b/files/ja/web/css/fit-content/index.html @@ -50,7 +50,7 @@ fit-content(40%) <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/flex-basis/index.html b/files/ja/web/css/flex-basis/index.html index 68cdc32397..184e912ed1 100644 --- a/files/ja/web/css/flex-basis/index.html +++ b/files/ja/web/css/flex-basis/index.html @@ -73,7 +73,7 @@ flex-basis: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/flex-direction/index.html b/files/ja/web/css/flex-direction/index.html index 3f7b9c2150..0f810c8fc6 100644 --- a/files/ja/web/css/flex-direction/index.html +++ b/files/ja/web/css/flex-direction/index.html @@ -71,7 +71,7 @@ flex-direction: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/flex-flow/index.html b/files/ja/web/css/flex-flow/index.html index bb36b3aeec..005b526d73 100644 --- a/files/ja/web/css/flex-flow/index.html +++ b/files/ja/web/css/flex-flow/index.html @@ -47,7 +47,7 @@ flex-flow: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/flex-grow/index.html b/files/ja/web/css/flex-grow/index.html index 5f0ef66147..856075e470 100644 --- a/files/ja/web/css/flex-grow/index.html +++ b/files/ja/web/css/flex-grow/index.html @@ -55,7 +55,7 @@ flex-grow: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/flex-shrink/index.html b/files/ja/web/css/flex-shrink/index.html index ac14cfd5b3..075fc94b79 100644 --- a/files/ja/web/css/flex-shrink/index.html +++ b/files/ja/web/css/flex-shrink/index.html @@ -48,7 +48,7 @@ flex-shrink: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/flex-wrap/index.html b/files/ja/web/css/flex-wrap/index.html index 2fc408e1c1..c79445294d 100644 --- a/files/ja/web/css/flex-wrap/index.html +++ b/files/ja/web/css/flex-wrap/index.html @@ -47,7 +47,7 @@ flex-wrap: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/flex/index.html b/files/ja/web/css/flex/index.html index d4feca1e55..5057c9f951 100644 --- a/files/ja/web/css/flex/index.html +++ b/files/ja/web/css/flex/index.html @@ -203,7 +203,7 @@ flex: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/float/index.html b/files/ja/web/css/float/index.html index 8f0737bbba..0d77210a4b 100644 --- a/files/ja/web/css/float/index.html +++ b/files/ja/web/css/float/index.html @@ -128,7 +128,7 @@ float: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-family/index.html b/files/ja/web/css/font-family/index.html index 6b0bd30acd..2ac17bfa56 100644 --- a/files/ja/web/css/font-family/index.html +++ b/files/ja/web/css/font-family/index.html @@ -125,7 +125,7 @@ font-family: Hawaii 5-0, sans-serif;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-feature-settings/index.html b/files/ja/web/css/font-feature-settings/index.html index c8364f03f8..649404a42a 100644 --- a/files/ja/web/css/font-feature-settings/index.html +++ b/files/ja/web/css/font-feature-settings/index.html @@ -48,7 +48,7 @@ font-feature-settings: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-kerning/index.html b/files/ja/web/css/font-kerning/index.html index adebe64c59..9cb7f88426 100644 --- a/files/ja/web/css/font-kerning/index.html +++ b/files/ja/web/css/font-kerning/index.html @@ -46,7 +46,7 @@ font-kerning: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/font-language-override/index.html b/files/ja/web/css/font-language-override/index.html index 67cd954604..5c0cfd8b62 100644 --- a/files/ja/web/css/font-language-override/index.html +++ b/files/ja/web/css/font-language-override/index.html @@ -51,7 +51,7 @@ font-language-override: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/font-optical-sizing/index.html b/files/ja/web/css/font-optical-sizing/index.html index 673cc31efb..000b7d5cd7 100644 --- a/files/ja/web/css/font-optical-sizing/index.html +++ b/files/ja/web/css/font-optical-sizing/index.html @@ -41,7 +41,7 @@ font-optical-sizing: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/font-size-adjust/index.html b/files/ja/web/css/font-size-adjust/index.html index 81656335a4..6cf11ce5bd 100644 --- a/files/ja/web/css/font-size-adjust/index.html +++ b/files/ja/web/css/font-size-adjust/index.html @@ -57,7 +57,7 @@ font-size-adjust: 0.5; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-size/index.html b/files/ja/web/css/font-size/index.html index cd4d37ec67..7a03d6bef6 100644 --- a/files/ja/web/css/font-size/index.html +++ b/files/ja/web/css/font-size/index.html @@ -154,7 +154,7 @@ span { <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-stretch/index.html b/files/ja/web/css/font-stretch/index.html index 934810b87c..d9c688a8de 100644 --- a/files/ja/web/css/font-stretch/index.html +++ b/files/ja/web/css/font-stretch/index.html @@ -168,7 +168,7 @@ font-stretch: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/font-style/index.html b/files/ja/web/css/font-style/index.html index 2bea52a0bb..16a2c7e9e4 100644 --- a/files/ja/web/css/font-style/index.html +++ b/files/ja/web/css/font-style/index.html @@ -148,7 +148,7 @@ update(); <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/font-synthesis/index.html b/files/ja/web/css/font-synthesis/index.html index c9d84d2d59..53f8738781 100644 --- a/files/ja/web/css/font-synthesis/index.html +++ b/files/ja/web/css/font-synthesis/index.html @@ -48,7 +48,7 @@ translation_of: Web/CSS/font-synthesis <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-variant-alternates/index.html b/files/ja/web/css/font-variant-alternates/index.html index b029abd181..dba99f33fa 100644 --- a/files/ja/web/css/font-variant-alternates/index.html +++ b/files/ja/web/css/font-variant-alternates/index.html @@ -69,7 +69,7 @@ font-variant-alternates: unset; <h3 id="形式文法">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="例">例</h2> diff --git a/files/ja/web/css/font-variant-caps/index.html b/files/ja/web/css/font-variant-caps/index.html index 6ba11b38e0..befb6bebd9 100644 --- a/files/ja/web/css/font-variant-caps/index.html +++ b/files/ja/web/css/font-variant-caps/index.html @@ -84,7 +84,7 @@ font-variant-caps: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-variant-east-asian/index.html b/files/ja/web/css/font-variant-east-asian/index.html index 5ebf344a0c..07a2424566 100644 --- a/files/ja/web/css/font-variant-east-asian/index.html +++ b/files/ja/web/css/font-variant-east-asian/index.html @@ -99,7 +99,7 @@ font-variant-east-asian: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-variant-ligatures/index.html b/files/ja/web/css/font-variant-ligatures/index.html index 7fd0d237ff..1225d04252 100644 --- a/files/ja/web/css/font-variant-ligatures/index.html +++ b/files/ja/web/css/font-variant-ligatures/index.html @@ -82,7 +82,7 @@ font-variant-ligatures: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-variant-numeric/index.html b/files/ja/web/css/font-variant-numeric/index.html index 859bb006ea..da4e8949b7 100644 --- a/files/ja/web/css/font-variant-numeric/index.html +++ b/files/ja/web/css/font-variant-numeric/index.html @@ -76,7 +76,7 @@ font-variant-numeric: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-variant-position/index.html b/files/ja/web/css/font-variant-position/index.html index 8815fb355a..a560f5e8bd 100644 --- a/files/ja/web/css/font-variant-position/index.html +++ b/files/ja/web/css/font-variant-position/index.html @@ -48,7 +48,7 @@ font-variant-position: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-variant/index.html b/files/ja/web/css/font-variant/index.html index e266550061..21a8d7e649 100644 --- a/files/ja/web/css/font-variant/index.html +++ b/files/ja/web/css/font-variant/index.html @@ -67,7 +67,7 @@ font-variant: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font-variation-settings/index.html b/files/ja/web/css/font-variation-settings/index.html index 3ec74b86e3..f72f193032 100644 --- a/files/ja/web/css/font-variation-settings/index.html +++ b/files/ja/web/css/font-variation-settings/index.html @@ -44,7 +44,7 @@ font-variation-settings: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Description" name="Description">解説</h2> diff --git a/files/ja/web/css/font-weight/index.html b/files/ja/web/css/font-weight/index.html index b7796971b0..135d9c1384 100644 --- a/files/ja/web/css/font-weight/index.html +++ b/files/ja/web/css/font-weight/index.html @@ -311,7 +311,7 @@ update(); <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/font/index.html b/files/ja/web/css/font/index.html index c4c5020373..798b6950cf 100644 --- a/files/ja/web/css/font/index.html +++ b/files/ja/web/css/font/index.html @@ -108,7 +108,7 @@ translation_of: Web/CSS/font <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/gap/index.html b/files/ja/web/css/gap/index.html index 2d2e1d70d9..40141c91db 100644 --- a/files/ja/web/css/gap/index.html +++ b/files/ja/web/css/gap/index.html @@ -72,7 +72,7 @@ gap: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/grid-column-start/index.html b/files/ja/web/css/grid-column-start/index.html index 9a7579c14b..e8c040c694 100644 --- a/files/ja/web/css/grid-column-start/index.html +++ b/files/ja/web/css/grid-column-start/index.html @@ -81,7 +81,7 @@ grid-column-start: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/grid-column/index.html b/files/ja/web/css/grid-column/index.html index 46ed1f1a47..8b575ad726 100644 --- a/files/ja/web/css/grid-column/index.html +++ b/files/ja/web/css/grid-column/index.html @@ -57,7 +57,7 @@ translation_of: Web/CSS/grid-column <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/grid-row/index.html b/files/ja/web/css/grid-row/index.html index c9267b6bc6..8c1d137992 100644 --- a/files/ja/web/css/grid-row/index.html +++ b/files/ja/web/css/grid-row/index.html @@ -74,7 +74,7 @@ grid-row: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/grid-template-areas/index.html b/files/ja/web/css/grid-template-areas/index.html index 8b0c14760e..ecd4a22ee4 100644 --- a/files/ja/web/css/grid-template-areas/index.html +++ b/files/ja/web/css/grid-template-areas/index.html @@ -42,7 +42,7 @@ grid-template-areas: unset; <h3 id="Formal_syntax" name="Formal_syntax">正式な構文</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/grid-template-columns/index.html b/files/ja/web/css/grid-template-columns/index.html index 6d3ec0ce95..429dd6d64b 100644 --- a/files/ja/web/css/grid-template-columns/index.html +++ b/files/ja/web/css/grid-template-columns/index.html @@ -88,7 +88,7 @@ grid-template-columns: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/grid-template/index.html b/files/ja/web/css/grid-template/index.html index fee4ff7917..7108c8f12b 100644 --- a/files/ja/web/css/grid-template/index.html +++ b/files/ja/web/css/grid-template/index.html @@ -63,7 +63,7 @@ grid-template: unset; <h3 id="Formal_syntax" name="Formal_syntax">正式な構文</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/grid/index.html b/files/ja/web/css/grid/index.html index 50c4b368e6..d72b726bb8 100644 --- a/files/ja/web/css/grid/index.html +++ b/files/ja/web/css/grid/index.html @@ -73,7 +73,7 @@ grid: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/hanging-punctuation/index.html b/files/ja/web/css/hanging-punctuation/index.html index 2f1600dd2a..70081210b6 100644 --- a/files/ja/web/css/hanging-punctuation/index.html +++ b/files/ja/web/css/hanging-punctuation/index.html @@ -79,7 +79,7 @@ hanging-punctuation: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/height/index.html b/files/ja/web/css/height/index.html index 9fa11ce89d..c4ba5a6547 100644 --- a/files/ja/web/css/height/index.html +++ b/files/ja/web/css/height/index.html @@ -62,7 +62,7 @@ height: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/hyphens/index.html b/files/ja/web/css/hyphens/index.html index 4415a4764a..9f3ccd05f0 100644 --- a/files/ja/web/css/hyphens/index.html +++ b/files/ja/web/css/hyphens/index.html @@ -56,7 +56,7 @@ hyphens: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Suggesting_line_break_opportunities" name="Suggesting_line_break_opportunities">改行候補位置の提案</h2> diff --git a/files/ja/web/css/image-orientation/index.html b/files/ja/web/css/image-orientation/index.html index 248f5c450e..4a78ffbcc8 100644 --- a/files/ja/web/css/image-orientation/index.html +++ b/files/ja/web/css/image-orientation/index.html @@ -55,7 +55,7 @@ image-orientation: flip; /* 回転せず、水平方向の反転のみ適用 */< <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Usage_notes" name="Usage_notes">使用上のメモ</h2> diff --git a/files/ja/web/css/image-rendering/index.html b/files/ja/web/css/image-rendering/index.html index bf4a1c5162..fdcfc452ac 100644 --- a/files/ja/web/css/image-rendering/index.html +++ b/files/ja/web/css/image-rendering/index.html @@ -48,7 +48,7 @@ image-rendering: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/ime-mode/index.html b/files/ja/web/css/ime-mode/index.html index 22d83ff620..3eeaf99783 100644 --- a/files/ja/web/css/ime-mode/index.html +++ b/files/ja/web/css/ime-mode/index.html @@ -50,7 +50,7 @@ ime-mode: unset;</pre> <h3 id="公式の構文">公式の構文</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="例">例</h2> diff --git a/files/ja/web/css/index.html b/files/ja/web/css/index.html index 6af2d9450c..c6c3c04a15 100644 --- a/files/ja/web/css/index.html +++ b/files/ja/web/css/index.html @@ -17,56 +17,56 @@ translation_of: Web/CSS --- <div>{{CSSRef}}</div> -<p class="summary"><span class="seoSummary"><ruby><strong>カスケーディングスタイルシート</strong><rp> (</rp><rt>Cascading Style Sheets</rt><rp>)</rp></ruby> (<strong>CSS</strong>) は<a href="/ja/docs/Web/API/StyleSheet">スタイルシート</a>言語であり、 <a href="/ja/docs/Web/HTML" title="HyperText Markup Language">HTML</a> や <a href="/ja/docs/XML_introduction">XML</a> (方言である <a href="/ja/docs/Web/SVG">SVG</a>, <a href="/ja/docs/Web/MathML">MathML</a>, {{Glossary("XHTML")}} などを含む) で記述された文書の体裁や見栄えを表現するために用いられます。</span> CSS は、要素が画面上で (あるいは紙や音声といった別のメディア上で) どのように表現されるのかを定義します。</p> +<p class="summary"><span class="seoSummary"><ruby><strong>カスケーディングスタイルシート</strong><rp> (</rp><rt>Cascading Style Sheets</rt><rp>)</rp></ruby> (<strong>CSS</strong>) は<a href="/ja/docs/Web/API/StyleSheet">スタイルシート</a>言語であり、<a href="/ja/docs/Web/HTML" title="HyperText Markup Language">HTML</a> や <a href="/ja/docs/XML_introduction">XML</a> (方言である <a href="/ja/docs/Web/SVG">SVG</a>、<a href="/ja/docs/Web/MathML">MathML</a>、{{Glossary("XHTML")}} などを含む) で記述された文書の体裁や見栄えを表現するために用いられます。</span> CSS は、要素が画面上で (あるいは紙や音声といった別のメディア上で) どのように表現されるのかを定義します。</p> -<p>CSS は<strong>オープンウェブ</strong>の核となる言語に含まれ、 <a class="external" href="http://w3.org/Style/CSS/#specs">W3C 標準仕様</a>によってウェブブラウザー間で標準化されています。以前は CSS 仕様書の様々な部分が同時に開発されており、最新勧告の版数付けができていました。皆さんも CSS1, CSS2.1, CSS3 について聞いたことがあるでしょう。しかし、 CSS4 は公式なバージョンにはなっていません。</p> +<p>CSS は<strong>オープンウェブ</strong>の核となる言語に含まれ、<a class="external" href="http://w3.org/Style/CSS/#specs">W3C 標準仕様</a>によってウェブブラウザー間で標準化されています。以前は CSS 仕様書の様々な部分が同時に開発されており、最新勧告の版数付けができていました。皆さんも CSS1、CSS2.1、CSS3 について聞いたことがあるでしょう。しかし、CSS4 は公式なバージョンにはなっていません。</p> -<p>CSS3 以降、仕様の範囲が大幅に拡大し、 CSS モジュールごとに進捗状況が大きく異なるようになったため、<a href="https://www.w3.org/Style/CSS/current-work">モジュールごとに勧告を開発して公開する</a>ことがより効果的になりました。 W3C では、 CSS 仕様のバージョン管理の代わりに、<a href="https://www.w3.org/TR/css/">最新の CSS 仕様の安定した状態</a>のスナップショットを定期的に取得するようになりました。</p> +<p>CSS3 以降、仕様の範囲が大幅に拡大し、CSS モジュールごとに進捗状況が大きく異なるようになったため、<a href="https://www.w3.org/Style/CSS/current-work">モジュールごとに勧告を開発して公開する</a>ことがより効果的になりました。W3C では、CSS 仕様のバージョン管理の代わりに、<a href="https://www.w3.org/TR/css/">最新の CSS 仕様の安定した状態</a>のスナップショットを定期的に取得するようになりました。</p> <h2 id="Key_resources" name="Key_resources">主なリソース</h2> <dl> - <dt><span>CSS 入門</span></dt> - <dd>ウェブ開発が初めての人は、<a href="/ja/docs/Learn/Getting_started_with_the_web/CSS_basics">CSS の基本</a>の記事を読んで、 CSS とは何か、どのように使用するかを学習しましょう。</dd> - <dt><span>CSS チュートリアル</span></dt> + <dt>CSS 入門</dt> + <dd>ウェブ開発が初めての人は、<a href="/ja/docs/Learn/Getting_started_with_the_web/CSS_basics">CSS の基本</a>の記事を読んで、CSS とは何か、どのように使用するかを学習しましょう。</dd> + <dt>CSS チュートリアル</dt> <dd><a href="/ja/docs/Learn/CSS">CSS 学習エリア</a>は、初心者から中級者になるための、すべての基本事項を網羅した豊富なコンテンツがあります。</dd> - <dt><span>CSS リファレンス</span></dt> + <dt>CSS リファレンス</dt> <dd>CSS のすべてのプロパティや概念について記述された、熟練のウェブ開発者向けの <a href="/ja/docs/Web/CSS/Reference">CSS リファレンス</a>です。</dd> </dl> -<div class="in-page-callout webdev"> -<h3 id="Looking_to_become_a_front-end_web_developer" name="Looking_to_become_a_front-end_web_developer">フロントエンドウェブ開発者になるために</h3> +<div class="callout"> + <h4 id="Looking_to_become_a_front-end_web_developer" name="Looking_to_become_a_front-end_web_developer">フロントエンドウェブ開発者になるために + </h4> -<p>目標に向かって頑張るために必要な基本情報をまとめたコースを用意しました。</p> + <p>目標に向かって頑張るために必要な基本情報をまとめたコースを用意しました。 + </p> -<p><a class="cta primary" href="/docs/Learn/Front-end_web_developer">始めましょう</a></p> + <p><a class="button primary" href="/ja/docs/Learn/Front-end_web_developer">始めましょう</a> + </p> </div> -<div class="row topicpage-table"> -<div class="section"> <h2 class="Documentation" id="Tutorials" name="Tutorials">チュートリアル</h2> <p><a href="/ja/docs/Learn/CSS">CSS 学習エリア</a> は基礎から CSS を教える複数のモジュールにスポットを当てています — 事前の知識は必要ありません。</p> <dl> <dt><a href="/ja/docs/Learn/CSS/First_steps">CSS の第一歩</a></dt> - <dd>CSS (Cascading Style Sheets) はウェブページをスタイリングしたりレイアウトしたりするのに使われます — 例えば、文字、色、大きさを変えたり、コンテンツに余白を設けたり、複数列に分けたり、 あるいはアニメーションを加えたりなど様々な装飾機能があります。このモジュールでは CSS を習得するために、どう働くかの基本とともに、構文のありかたと HTML にスタイリングを加えることを簡単な始め方を提供します。</dd> + <dd>CSS (Cascading Style Sheets) はウェブページをスタイリングしたりレイアウトしたりするのに使われます — 例えば、文字、色、大きさを変えたり、コンテンツに余白を設けたり、複数列に分けたり、あるいはアニメーションを加えたりなど様々な装飾機能があります。このモジュールでは CSS を習得するために、どう働くかの基本とともに、構文のありかたと HTML にスタイリングを加えることを簡単な始め方を提供します。</dd> <dt><a href="/ja/docs/Learn/CSS/Building_blocks">CSS の構成要素</a></dt> <dd> - <p>このモジュールは <a href="/ja/docs/Learn/CSS/First_steps">CSS の第一歩</a>が終わったところを引き継いでいます。言語とその構文に慣れてきて、基本的な使用経験を積んだところで、もう少し深く掘り下げてみましょう。このモジュールでは、カスケードと継承、利用可能なすべてのセレクターのタイプ、単位、寸法の調整、背景や境界のスタイル付け、デバッグなど多くのことを見ていきます。</p> + <p class="summary">このモジュールは <a href="/ja/docs/Learn/CSS/First_steps">CSS の第一歩</a>が終わったところを引き継いでいます。言語とその構文に慣れてきて、基本的な使用経験を積んだところで、もう少し深く掘り下げてみましょう。このモジュールでは、カスケードと継承、利用可能なすべてのセレクターのタイプ、単位、寸法の調整、背景や境界のスタイル付け、デバッグなど多くのことを見ていきます。</p> - <p>ここでの目的は、<a href="/ja/docs/Learn/CSS/Styling_text">テキストの装飾</a>や<a href="/ja/docs/Learn/CSS/CSS_layout">CSS レイアウト</a>などのより具体的な分野に進む前に、適切な CSS を書くための手法を知り、すべての重要な理論を理解できるようになることです。</p> + <p class="summary">ここでの目的は、<a href="/ja/docs/Learn/CSS/Styling_text">テキストの装飾</a>や<a href="/ja/docs/Learn/CSS/CSS_layout">CSS レイアウト</a>などのより具体的な分野に進む前に、適切な CSS を書くための手法を知り、すべての重要な理論を理解できるようになることです。</p> </dd> <dt><a href="/ja/docs/Learn/CSS/Styling_text">テキストの装飾</a></dt> - <dd>CSS 言語の基本を習得したら、次に取り組むべき CSS のトピックはテキストの装飾です — これは、CSS で行う最も一般的なことの一つです。 ここでは、フォント、太字、イタリック体、ラインと文字の間隔、ドロップシャドウやその他のテキスト機能の設定を含む、テキストの装飾の基本を見ていきます。あなたのページにカスタムフォントを適用し、リストとリンクを装飾するところを見ることによって、このモジュールを締めくくります。</dd> + <dd>CSS 言語の基本を習得したら、次に取り組むべき CSS のトピックはテキストの装飾です — これは、CSS で行う最も一般的なことの一つです。ここでは、フォント、太字、イタリック体、ラインと文字の間隔、ドロップシャドウやその他のテキスト機能の設定を含む、テキストの装飾の基本を見ていきます。あなたのページにカスタムフォントを適用し、リストとリンクを装飾するところを見ることによって、このモジュールを締めくくります。</dd> <dt><a href="/ja/docs/Learn/CSS/CSS_layout">CSS レイアウト</a></dt> <dd>現段階で、すでに CSS の基本、テキストの装飾方法、コンテンツを格納するボックスの装飾方法と操作方法を見てきました。今度は、ビューポートからの相対でボックスを適切な場所に配置する方法、および互いの配置方法を検討します。必要な前提知識をカバーしているので、さまざまな表示の設定、フレックスボックス・CSS グリッド・位置指定などの最新のレイアウトツール、そしてまだ知っておきたいと思うかもしれない過去のテクニックのいくつかを見ながら、CSS レイアウトについて深く掘り下げることができます。</dd> <dt><a href="/ja/docs/Learn/CSS/Howto">CSS を使ってよくある問題を解決する</a></dt> <dd>このモジュールは、ウェブページを作成する際の一般的な問題を解決するための CSS の使用方法を説明するコンテンツの節へのリンクを提供しています。</dd> </dl> -</div> -<div class="section"> + <h2 class="Tools" id="Reference" name="Reference">リファレンス</h2> <ul> @@ -74,8 +74,8 @@ translation_of: Web/CSS <li>CSS の主要な概念: <ul> <li><a href="/ja/docs/Web/CSS/Syntax">言語の構文と書式</a></li> - <li><a href="/ja/docs/Web/CSS/Specificity">詳細度</a>と<a href="/ja/docs/Web/CSS/Inheritance">継承</a> と <a href="/ja/docs/Web/CSS/Cascade">カスケード</a></li> - <li><a href="/ja/docs/Web/CSS/CSS_Values_and_Units">CSS 単位と値</a> および <a href="/ja/docs/Web/CSS/CSS_Functions">関数記法</a></li> + <li><a href="/ja/docs/Web/CSS/Specificity">詳細度</a>と<a href="/ja/docs/Web/CSS/Inheritance">継承</a>と<a href="/ja/docs/Web/CSS/Cascade">カスケード</a></li> + <li><a href="/ja/docs/Web/CSS/CSS_Values_and_Units">CSS 単位と値</a>および<a href="/ja/docs/Web/CSS/CSS_Functions">関数記法</a></li> <li><a href="/ja/docs/Web/CSS/box_model">ボックスモデル</a>と<a href="/ja/docs/Web/CSS/margin_collapsing">マージンの相殺</a></li> <li><a href="/ja/docs/Web/CSS/Containing_block">包含ブロック</a></li> <li><a href="/ja/docs/Web/CSS/Understanding_z_index/The_stacking_context">重ね合わせ</a>と<a href="/ja/docs/Web/CSS/block_formatting_context">ブロック整形</a>コンテキスト</li> @@ -84,7 +84,7 @@ translation_of: Web/CSS <li><a href="/ja/docs/Web/CSS/CSS_Flexible_Box_Layout">CSS フレックスボックスレイアウト</a></li> <li><a href="/ja/docs/Web/CSS/CSS_Grid_Layout">CSS グリッドレイアウト</a></li> <li><a href="/ja/docs/Web/CSS/CSS_Selectors">CSS セレクター</a></li> - <li><a href="/ja/docs/Web/CSS/Media_Queries">メディアクエリ</a></li> + <li><a href="/ja/docs/Web/CSS/Media_Queries">メディアクエリー</a></li> <li><a href="/ja/docs/Web/CSS/animation">アニメーション</a></li> </ul> </li> @@ -99,7 +99,7 @@ translation_of: Web/CSS <ul> <li><a class="external" href="https://jigsaw.w3.org/css-validator/">W3C CSS Validation Service</a> は CSS が正しく書かれているかを判定するために利用できます。デバッグのために重宝するツールです。</li> <li><a href="/ja/docs/Tools">Firefox Developer Tools</a> は<a href="/ja/docs/Tools/Page_Inspector">インスペクター</a>と<a href="/ja/docs/Tools/Style_Editor">スタイルエディター</a>ツールを通じて、ページの CSS をライブでの閲覧や編集を可能にします。</li> - <li>Firefox の <a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/web-developer/">Web Developer 拡張機能</a>では、表示しているサイトをその場で追跡したり編集したりすることができます。</li> + <li>Firefox の <a class="link-https" href="https://addons.mozilla.org/ja/firefox/addon/web-developer/">Web Developer 拡張機能</a>では、表示しているサイトをその場で追跡したり編集したりすることができます。</li> <li>ウェブコミュニティは、利用できるその他の<a href="/ja/docs/Web/CSS/Tools">様々な CSS のためのツール</a>を開発しています。</li> </ul> @@ -108,15 +108,13 @@ translation_of: Web/CSS <ul> <li>Firefox: {{bug(1323667)}}</li> </ul> -</div> -</div> <h2 id="See_also" name="See_also">関連情報</h2> <ul> <li><a href="/ja/docs/Web/Demos_of_open_web_technologies#CSS">CSS デモ</a>: 最新の CSS テクノロジーの例を探索して想像力をかきたてましょう。</li> - <li>CSS がよく適用されるウェブ言語。 <a href="/ja/docs/Web/HTML">HTML</a>, <a href="/ja/docs/Web/SVG">SVG</a>, <a href="/ja/docs/Web/MathML">MathML</a>, {{Glossary("XHTML", "", 1)}}, <a href="/ja/docs/XML_introduction">XML</a></li> - <li>CSS を広範囲に利用する Mozilla のテクノロジー。<a href="/ja/docs/Mozilla/Tech/XUL">XUL</a>, <a href="/ja/docs/Mozilla/Firefox">Firefox</a>, <a href="/ja/docs/Mozilla/Thunderbird">Thunderbird</a> の <a href="/ja/docs/Mozilla/Add-ons">拡張機能</a> と <a href="/ja/docs/Mozilla/Add-ons/Themes">テーマ</a></li> + <li>CSS がよく適用されるウェブ言語。<a href="/ja/docs/Web/HTML">HTML</a>、<a href="/ja/docs/Web/SVG">SVG</a>、<a href="/ja/docs/Web/MathML">MathML</a>、{{Glossary("XHTML")}}、<a href="/ja/docs/XML_introduction">XML</a></li> + <li>CSS を広範囲に利用する Mozilla のテクノロジー。<a href="/ja/docs/Mozilla/Tech/XUL">XUL</a>、<a href="/ja/docs/Mozilla/Firefox">Firefox</a>、<a href="/ja/docs/Mozilla/Thunderbird">Thunderbird</a> の<a href="/ja/docs/Mozilla/Add-ons">拡張機能</a>と<a href="/ja/docs/Mozilla/Add-ons/Themes">テーマ</a></li> <li><a href="https://lists.mozilla.org/listinfo/dev-tech-layout">Mozilla メーリングリスト</a></li> - <li><a href="Stack Overflow|http://stackoverflow.com/questions/tagged/css">CSS に関する Stack Overflow の質問</a></li> + <li><a href="http://stackoverflow.com/questions/tagged/css">CSS に関する Stack Overflow の質問</a></li> </ul> diff --git a/files/ja/web/css/initial-letter-align/index.html b/files/ja/web/css/initial-letter-align/index.html index 3da44c1f25..5e53940b41 100644 --- a/files/ja/web/css/initial-letter-align/index.html +++ b/files/ja/web/css/initial-letter-align/index.html @@ -55,7 +55,7 @@ initial-letter-align: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/initial-letter/index.html b/files/ja/web/css/initial-letter/index.html index 935057530c..8c29068ffb 100644 --- a/files/ja/web/css/initial-letter/index.html +++ b/files/ja/web/css/initial-letter/index.html @@ -53,7 +53,7 @@ initial-letter: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/inline-size/index.html b/files/ja/web/css/inline-size/index.html index 68484e7599..3990ac5af6 100644 --- a/files/ja/web/css/inline-size/index.html +++ b/files/ja/web/css/inline-size/index.html @@ -50,7 +50,7 @@ inline-size: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/inset-block-end/index.html b/files/ja/web/css/inset-block-end/index.html index 1b9b6eee2e..2873b45b87 100644 --- a/files/ja/web/css/inset-block-end/index.html +++ b/files/ja/web/css/inset-block-end/index.html @@ -42,7 +42,7 @@ inset-block-end: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/inset-block-start/index.html b/files/ja/web/css/inset-block-start/index.html index c9eb98bed1..c0251b1c9a 100644 --- a/files/ja/web/css/inset-block-start/index.html +++ b/files/ja/web/css/inset-block-start/index.html @@ -43,7 +43,7 @@ inset-block-start: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/inset-block/index.html b/files/ja/web/css/inset-block/index.html index 11eb385c98..ab61422fe5 100644 --- a/files/ja/web/css/inset-block/index.html +++ b/files/ja/web/css/inset-block/index.html @@ -52,7 +52,7 @@ inset-block: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/inset-inline-end/index.html b/files/ja/web/css/inset-inline-end/index.html index 7c4ef34b79..874021f074 100644 --- a/files/ja/web/css/inset-inline-end/index.html +++ b/files/ja/web/css/inset-inline-end/index.html @@ -46,7 +46,7 @@ inset-inline-end: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/inset-inline-start/index.html b/files/ja/web/css/inset-inline-start/index.html index 971a1c3749..dd0b1fb317 100644 --- a/files/ja/web/css/inset-inline-start/index.html +++ b/files/ja/web/css/inset-inline-start/index.html @@ -44,7 +44,7 @@ inset-inline-start: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/inset-inline/index.html b/files/ja/web/css/inset-inline/index.html index d42839c42b..7488051746 100644 --- a/files/ja/web/css/inset-inline/index.html +++ b/files/ja/web/css/inset-inline/index.html @@ -52,7 +52,7 @@ inset-inline: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/inset/index.html b/files/ja/web/css/inset/index.html index 26d8ca411c..8ee5430707 100644 --- a/files/ja/web/css/inset/index.html +++ b/files/ja/web/css/inset/index.html @@ -48,7 +48,7 @@ inset: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/isolation/index.html b/files/ja/web/css/isolation/index.html index 6c7882d0c8..9174af34ac 100644 --- a/files/ja/web/css/isolation/index.html +++ b/files/ja/web/css/isolation/index.html @@ -42,7 +42,7 @@ isolation: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/justify-content/index.html b/files/ja/web/css/justify-content/index.html index 71fabed030..1b14577161 100644 --- a/files/ja/web/css/justify-content/index.html +++ b/files/ja/web/css/justify-content/index.html @@ -110,7 +110,7 @@ justify-content: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/justify-items/index.html b/files/ja/web/css/justify-items/index.html index b3788140b8..ad9a2e94a2 100644 --- a/files/ja/web/css/justify-items/index.html +++ b/files/ja/web/css/justify-items/index.html @@ -130,7 +130,7 @@ justify-items: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/justify-self/index.html b/files/ja/web/css/justify-self/index.html index a319c539c3..2dd6cb213d 100644 --- a/files/ja/web/css/justify-self/index.html +++ b/files/ja/web/css/justify-self/index.html @@ -120,7 +120,7 @@ justify-self: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/left/index.html b/files/ja/web/css/left/index.html index a7d16d6eb3..16c980d83f 100644 --- a/files/ja/web/css/left/index.html +++ b/files/ja/web/css/left/index.html @@ -71,7 +71,7 @@ left: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/letter-spacing/index.html b/files/ja/web/css/letter-spacing/index.html index 5dad1104e6..9891084e58 100644 --- a/files/ja/web/css/letter-spacing/index.html +++ b/files/ja/web/css/letter-spacing/index.html @@ -60,7 +60,7 @@ letter-spacing: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/line-break/index.html b/files/ja/web/css/line-break/index.html index ed94927d45..bf60959fbc 100644 --- a/files/ja/web/css/line-break/index.html +++ b/files/ja/web/css/line-break/index.html @@ -57,7 +57,7 @@ line-break: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/line-height-step/index.html b/files/ja/web/css/line-height-step/index.html index 95065318da..a7077fbb71 100644 --- a/files/ja/web/css/line-height-step/index.html +++ b/files/ja/web/css/line-height-step/index.html @@ -36,7 +36,7 @@ line-height-step: 18pt; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/line-height/index.html b/files/ja/web/css/line-height/index.html index 3df521e2cc..df80668369 100644 --- a/files/ja/web/css/line-height/index.html +++ b/files/ja/web/css/line-height/index.html @@ -71,7 +71,7 @@ line-height: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/list-style-image/index.html b/files/ja/web/css/list-style-image/index.html index e1f682fc74..eabdde7d1c 100644 --- a/files/ja/web/css/list-style-image/index.html +++ b/files/ja/web/css/list-style-image/index.html @@ -53,7 +53,7 @@ list-style-image: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/list-style-position/index.html b/files/ja/web/css/list-style-position/index.html index 5bd9b3919c..e7ca0da7ed 100644 --- a/files/ja/web/css/list-style-position/index.html +++ b/files/ja/web/css/list-style-position/index.html @@ -49,7 +49,7 @@ list-style-position: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/list-style-type/index.html b/files/ja/web/css/list-style-type/index.html index a02b18f9b6..5d4647029c 100644 --- a/files/ja/web/css/list-style-type/index.html +++ b/files/ja/web/css/list-style-type/index.html @@ -501,7 +501,7 @@ list-style-type: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/list-style/index.html b/files/ja/web/css/list-style/index.html index 28ccfa8845..2bf5a77764 100644 --- a/files/ja/web/css/list-style/index.html +++ b/files/ja/web/css/list-style/index.html @@ -68,7 +68,7 @@ list-style: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/margin-block-end/index.html b/files/ja/web/css/margin-block-end/index.html index 59caf5f088..9f8cbc77fa 100644 --- a/files/ja/web/css/margin-block-end/index.html +++ b/files/ja/web/css/margin-block-end/index.html @@ -50,7 +50,7 @@ margin-block-end: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/margin-block-start/index.html b/files/ja/web/css/margin-block-start/index.html index 81f8876d96..3be38d5331 100644 --- a/files/ja/web/css/margin-block-start/index.html +++ b/files/ja/web/css/margin-block-start/index.html @@ -50,7 +50,7 @@ margin-block-start: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/margin-block/index.html b/files/ja/web/css/margin-block/index.html index 5fb0cb4130..5db77f659a 100644 --- a/files/ja/web/css/margin-block/index.html +++ b/files/ja/web/css/margin-block/index.html @@ -46,7 +46,7 @@ margin-block: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/margin-bottom/index.html b/files/ja/web/css/margin-bottom/index.html index 431bc74bdc..4c6c477d35 100644 --- a/files/ja/web/css/margin-bottom/index.html +++ b/files/ja/web/css/margin-bottom/index.html @@ -55,7 +55,7 @@ margin-bottom: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/margin-inline-end/index.html b/files/ja/web/css/margin-inline-end/index.html index 5b2ed400c4..4b6b64e0c0 100644 --- a/files/ja/web/css/margin-inline-end/index.html +++ b/files/ja/web/css/margin-inline-end/index.html @@ -48,7 +48,7 @@ margin-inline-end: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/margin-inline-start/index.html b/files/ja/web/css/margin-inline-start/index.html index 539bd96bcf..0d415a7b99 100644 --- a/files/ja/web/css/margin-inline-start/index.html +++ b/files/ja/web/css/margin-inline-start/index.html @@ -45,7 +45,7 @@ margin-inline-start: inherit; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/margin-inline/index.html b/files/ja/web/css/margin-inline/index.html index 18aedfb37f..3853ac3ab7 100644 --- a/files/ja/web/css/margin-inline/index.html +++ b/files/ja/web/css/margin-inline/index.html @@ -45,7 +45,7 @@ margin-inline: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/margin-left/index.html b/files/ja/web/css/margin-left/index.html index bc32853ead..ecbf6a6047 100644 --- a/files/ja/web/css/margin-left/index.html +++ b/files/ja/web/css/margin-left/index.html @@ -112,7 +112,7 @@ margin-left: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/margin-right/index.html b/files/ja/web/css/margin-right/index.html index d8d5b32ccf..57f5f9bda9 100644 --- a/files/ja/web/css/margin-right/index.html +++ b/files/ja/web/css/margin-right/index.html @@ -109,7 +109,7 @@ margin-right: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/margin-top/index.html b/files/ja/web/css/margin-top/index.html index 3854d0c52a..78f7ce069a 100644 --- a/files/ja/web/css/margin-top/index.html +++ b/files/ja/web/css/margin-top/index.html @@ -53,7 +53,7 @@ margin-top: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/margin/index.html b/files/ja/web/css/margin/index.html index f3acbec6be..69e6e8f9a3 100644 --- a/files/ja/web/css/margin/index.html +++ b/files/ja/web/css/margin/index.html @@ -66,7 +66,7 @@ margin: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/mask-border-repeat/index.html b/files/ja/web/css/mask-border-repeat/index.html index 4e013f9246..8fe78e0f1d 100644 --- a/files/ja/web/css/mask-border-repeat/index.html +++ b/files/ja/web/css/mask-border-repeat/index.html @@ -52,7 +52,7 @@ mask-border-repeat: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/mask-border-source/index.html b/files/ja/web/css/mask-border-source/index.html index 7db15c1458..f9490dcbe8 100644 --- a/files/ja/web/css/mask-border-source/index.html +++ b/files/ja/web/css/mask-border-source/index.html @@ -41,7 +41,7 @@ mask-border-source: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/mask-border-width/index.html b/files/ja/web/css/mask-border-width/index.html index 0c3b0b1e06..329fa31afe 100644 --- a/files/ja/web/css/mask-border-width/index.html +++ b/files/ja/web/css/mask-border-width/index.html @@ -64,7 +64,7 @@ mask-border-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/mask-clip/index.html b/files/ja/web/css/mask-clip/index.html index 15d56ed307..d978c3bfd2 100644 --- a/files/ja/web/css/mask-clip/index.html +++ b/files/ja/web/css/mask-clip/index.html @@ -79,7 +79,7 @@ mask-clip: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/mask-composite/index.html b/files/ja/web/css/mask-composite/index.html index 9465a137b6..b819d8aea5 100644 --- a/files/ja/web/css/mask-composite/index.html +++ b/files/ja/web/css/mask-composite/index.html @@ -51,7 +51,7 @@ mask-composite: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/mask-image/index.html b/files/ja/web/css/mask-image/index.html index 1ef8500d4c..90061aa2b6 100644 --- a/files/ja/web/css/mask-image/index.html +++ b/files/ja/web/css/mask-image/index.html @@ -49,7 +49,7 @@ mask-image: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/mask-mode/index.html b/files/ja/web/css/mask-mode/index.html index 3b17074a91..8cd639a3dd 100644 --- a/files/ja/web/css/mask-mode/index.html +++ b/files/ja/web/css/mask-mode/index.html @@ -53,7 +53,7 @@ mask-mode: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/mask-origin/index.html b/files/ja/web/css/mask-origin/index.html index 84ee99c1b8..ba8719d94e 100644 --- a/files/ja/web/css/mask-origin/index.html +++ b/files/ja/web/css/mask-origin/index.html @@ -72,7 +72,7 @@ mask-origin: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/mask-position/index.html b/files/ja/web/css/mask-position/index.html index b75fd53502..4725162e87 100644 --- a/files/ja/web/css/mask-position/index.html +++ b/files/ja/web/css/mask-position/index.html @@ -50,7 +50,7 @@ mask-position: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/mask-repeat/index.html b/files/ja/web/css/mask-repeat/index.html index f38d2244c6..ee5baf47d1 100644 --- a/files/ja/web/css/mask-repeat/index.html +++ b/files/ja/web/css/mask-repeat/index.html @@ -112,7 +112,7 @@ mask-repeat: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/mask-type/index.html b/files/ja/web/css/mask-type/index.html index 2dcc8a4b3d..20ea4a6bd3 100644 --- a/files/ja/web/css/mask-type/index.html +++ b/files/ja/web/css/mask-type/index.html @@ -44,7 +44,7 @@ mask-type: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/max()/index.html b/files/ja/web/css/max()/index.html index 274f4a8b35..90f463604c 100644 --- a/files/ja/web/css/max()/index.html +++ b/files/ja/web/css/max()/index.html @@ -44,7 +44,7 @@ width: max(10vw, 4em, 80px); <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/max-block-size/index.html b/files/ja/web/css/max-block-size/index.html index 2674bb553f..64b8cc9d83 100644 --- a/files/ja/web/css/max-block-size/index.html +++ b/files/ja/web/css/max-block-size/index.html @@ -95,7 +95,7 @@ max-block-size: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/max-height/index.html b/files/ja/web/css/max-height/index.html index 0435b9a45a..6444578585 100644 --- a/files/ja/web/css/max-height/index.html +++ b/files/ja/web/css/max-height/index.html @@ -59,7 +59,7 @@ max-height: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/max-inline-size/index.html b/files/ja/web/css/max-inline-size/index.html index 1a8a8673d9..5bf28166ca 100644 --- a/files/ja/web/css/max-inline-size/index.html +++ b/files/ja/web/css/max-inline-size/index.html @@ -56,7 +56,7 @@ max-inline-size: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/max-width/index.html b/files/ja/web/css/max-width/index.html index 7638cb8443..fa85a624d6 100644 --- a/files/ja/web/css/max-width/index.html +++ b/files/ja/web/css/max-width/index.html @@ -59,7 +59,7 @@ max-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/min()/index.html b/files/ja/web/css/min()/index.html index 263df74da5..36b53f4682 100644 --- a/files/ja/web/css/min()/index.html +++ b/files/ja/web/css/min()/index.html @@ -43,7 +43,7 @@ width: min(10vw, 4em, 80px); <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/min-block-size/index.html b/files/ja/web/css/min-block-size/index.html index 33bd4323d0..b8501f0515 100644 --- a/files/ja/web/css/min-block-size/index.html +++ b/files/ja/web/css/min-block-size/index.html @@ -51,7 +51,7 @@ min-block-size: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/min-height/index.html b/files/ja/web/css/min-height/index.html index b3ca9be908..8d9ab61379 100644 --- a/files/ja/web/css/min-height/index.html +++ b/files/ja/web/css/min-height/index.html @@ -66,7 +66,7 @@ min-height: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/min-inline-size/index.html b/files/ja/web/css/min-inline-size/index.html index 21bfa80251..42abfdab9a 100644 --- a/files/ja/web/css/min-inline-size/index.html +++ b/files/ja/web/css/min-inline-size/index.html @@ -51,7 +51,7 @@ min-inline-size: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/min-width/index.html b/files/ja/web/css/min-width/index.html index ebf4e8769c..e06643d7b2 100644 --- a/files/ja/web/css/min-width/index.html +++ b/files/ja/web/css/min-width/index.html @@ -58,7 +58,7 @@ min-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/minmax()/index.html b/files/ja/web/css/minmax()/index.html index 2e76768c4f..c52d2bfae0 100644 --- a/files/ja/web/css/minmax()/index.html +++ b/files/ja/web/css/minmax()/index.html @@ -71,7 +71,7 @@ minmax(auto, 300px) <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h3 id="CSS_properties" name="CSS_properties">CSS プロパティ</h3> diff --git a/files/ja/web/css/mix-blend-mode/index.html b/files/ja/web/css/mix-blend-mode/index.html index 260c570359..48265c34b8 100644 --- a/files/ja/web/css/mix-blend-mode/index.html +++ b/files/ja/web/css/mix-blend-mode/index.html @@ -52,7 +52,7 @@ mix-blend-mode: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/object-fit/index.html b/files/ja/web/css/object-fit/index.html index 42e6f068cd..91ce7742b2 100644 --- a/files/ja/web/css/object-fit/index.html +++ b/files/ja/web/css/object-fit/index.html @@ -42,7 +42,7 @@ translation_of: Web/CSS/object-fit <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/object-position/index.html b/files/ja/web/css/object-position/index.html index c52de24924..81b998bbc8 100644 --- a/files/ja/web/css/object-position/index.html +++ b/files/ja/web/css/object-position/index.html @@ -45,7 +45,7 @@ object-position: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/offset-distance/index.html b/files/ja/web/css/offset-distance/index.html index f0c4b4f7e0..415872a676 100644 --- a/files/ja/web/css/offset-distance/index.html +++ b/files/ja/web/css/offset-distance/index.html @@ -41,7 +41,7 @@ offset-distance: 40px;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/offset-path/index.html b/files/ja/web/css/offset-path/index.html index 5826f9f32c..c7f8a67a2e 100644 --- a/files/ja/web/css/offset-path/index.html +++ b/files/ja/web/css/offset-path/index.html @@ -68,7 +68,7 @@ offset-path: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Description" name="Description">解説</h2> diff --git a/files/ja/web/css/offset-position/index.html b/files/ja/web/css/offset-position/index.html index 1ec10fb9fc..cf524b6997 100644 --- a/files/ja/web/css/offset-position/index.html +++ b/files/ja/web/css/offset-position/index.html @@ -60,7 +60,7 @@ offset-position: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/offset-rotate/index.html b/files/ja/web/css/offset-rotate/index.html index 8b0742cf80..cf759644a6 100644 --- a/files/ja/web/css/offset-rotate/index.html +++ b/files/ja/web/css/offset-rotate/index.html @@ -58,7 +58,7 @@ offset-rotate: .5turn;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/offset/index.html b/files/ja/web/css/offset/index.html index 5d1bbba29d..28ae920381 100644 --- a/files/ja/web/css/offset/index.html +++ b/files/ja/web/css/offset/index.html @@ -60,7 +60,7 @@ offset: url(arc.svg) 30deg / 50px 100px; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/opacity/index.html b/files/ja/web/css/opacity/index.html index 68e73df742..823a259b95 100644 --- a/files/ja/web/css/opacity/index.html +++ b/files/ja/web/css/opacity/index.html @@ -57,7 +57,7 @@ translation_of: Web/CSS/opacity <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/order/index.html b/files/ja/web/css/order/index.html index 42a74e98ea..e871119e5a 100644 --- a/files/ja/web/css/order/index.html +++ b/files/ja/web/css/order/index.html @@ -41,7 +41,7 @@ order: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/orphans/index.html b/files/ja/web/css/orphans/index.html index 1e57e7d183..15e233c75f 100644 --- a/files/ja/web/css/orphans/index.html +++ b/files/ja/web/css/orphans/index.html @@ -40,7 +40,7 @@ orphans: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/outline-color/index.html b/files/ja/web/css/outline-color/index.html index 6beb458ce2..ec2227556d 100644 --- a/files/ja/web/css/outline-color/index.html +++ b/files/ja/web/css/outline-color/index.html @@ -75,7 +75,7 @@ outline-color: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/outline-offset/index.html b/files/ja/web/css/outline-offset/index.html index f0ce7a3177..87f83e9eee 100644 --- a/files/ja/web/css/outline-offset/index.html +++ b/files/ja/web/css/outline-offset/index.html @@ -42,7 +42,7 @@ outline-offset: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/outline-style/index.html b/files/ja/web/css/outline-style/index.html index b8b6f2a897..f018442e35 100644 --- a/files/ja/web/css/outline-style/index.html +++ b/files/ja/web/css/outline-style/index.html @@ -89,7 +89,7 @@ outline-style: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/outline-width/index.html b/files/ja/web/css/outline-width/index.html index d70fcf6658..48c74b82e4 100644 --- a/files/ja/web/css/outline-width/index.html +++ b/files/ja/web/css/outline-width/index.html @@ -56,7 +56,7 @@ outline-width: inherit; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/outline/index.html b/files/ja/web/css/outline/index.html index 8d5b0c20e9..52d08d04d7 100644 --- a/files/ja/web/css/outline/index.html +++ b/files/ja/web/css/outline/index.html @@ -69,7 +69,7 @@ outline: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/overflow-anchor/index.html b/files/ja/web/css/overflow-anchor/index.html index 2324422d27..cbe4f0dbdf 100644 --- a/files/ja/web/css/overflow-anchor/index.html +++ b/files/ja/web/css/overflow-anchor/index.html @@ -41,7 +41,7 @@ overflow-anchor: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/overflow-block/index.html b/files/ja/web/css/overflow-block/index.html index d9214a51bf..66e5a378d4 100644 --- a/files/ja/web/css/overflow-block/index.html +++ b/files/ja/web/css/overflow-block/index.html @@ -52,7 +52,7 @@ overflow-block: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/overflow-inline/index.html b/files/ja/web/css/overflow-inline/index.html index cef446a46c..b6d627fb75 100644 --- a/files/ja/web/css/overflow-inline/index.html +++ b/files/ja/web/css/overflow-inline/index.html @@ -52,7 +52,7 @@ overflow-inline: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/overflow-wrap/index.html b/files/ja/web/css/overflow-wrap/index.html index 8146dc3060..fd1c5426bd 100644 --- a/files/ja/web/css/overflow-wrap/index.html +++ b/files/ja/web/css/overflow-wrap/index.html @@ -50,7 +50,7 @@ overflow-wrap: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/overflow-x/index.html b/files/ja/web/css/overflow-x/index.html index 6decff8aea..980a852693 100644 --- a/files/ja/web/css/overflow-x/index.html +++ b/files/ja/web/css/overflow-x/index.html @@ -54,7 +54,7 @@ overflow-x: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/overflow-y/index.html b/files/ja/web/css/overflow-y/index.html index 4df48a8ea2..4adb59d31b 100644 --- a/files/ja/web/css/overflow-y/index.html +++ b/files/ja/web/css/overflow-y/index.html @@ -55,7 +55,7 @@ overflow-y: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/overflow/index.html b/files/ja/web/css/overflow/index.html index cdf127ed15..fe8c22a15c 100644 --- a/files/ja/web/css/overflow/index.html +++ b/files/ja/web/css/overflow/index.html @@ -89,7 +89,7 @@ overflow: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/overscroll-behavior-block/index.html b/files/ja/web/css/overscroll-behavior-block/index.html index e622f27b83..e4a430f2b8 100644 --- a/files/ja/web/css/overscroll-behavior-block/index.html +++ b/files/ja/web/css/overscroll-behavior-block/index.html @@ -50,7 +50,7 @@ overscroll-behavior-block: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/overscroll-behavior-inline/index.html b/files/ja/web/css/overscroll-behavior-inline/index.html index b5def24b0c..96ff633c99 100644 --- a/files/ja/web/css/overscroll-behavior-inline/index.html +++ b/files/ja/web/css/overscroll-behavior-inline/index.html @@ -50,7 +50,7 @@ overscroll-behavior-inline: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/overscroll-behavior-x/index.html b/files/ja/web/css/overscroll-behavior-x/index.html index c2e9bfe6f8..1f010c91ac 100644 --- a/files/ja/web/css/overscroll-behavior-x/index.html +++ b/files/ja/web/css/overscroll-behavior-x/index.html @@ -48,7 +48,7 @@ overscroll-behavior-x: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/overscroll-behavior-y/index.html b/files/ja/web/css/overscroll-behavior-y/index.html index cc58a30784..1a192158fb 100644 --- a/files/ja/web/css/overscroll-behavior-y/index.html +++ b/files/ja/web/css/overscroll-behavior-y/index.html @@ -48,7 +48,7 @@ overscroll-behavior-y: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/overscroll-behavior/index.html b/files/ja/web/css/overscroll-behavior/index.html index 7f409ead4c..c4e3c137d6 100644 --- a/files/ja/web/css/overscroll-behavior/index.html +++ b/files/ja/web/css/overscroll-behavior/index.html @@ -55,7 +55,7 @@ overscroll-behavior: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/padding-block-end/index.html b/files/ja/web/css/padding-block-end/index.html index 85ea817bc0..de033623b3 100644 --- a/files/ja/web/css/padding-block-end/index.html +++ b/files/ja/web/css/padding-block-end/index.html @@ -53,7 +53,7 @@ padding-block-end: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/padding-block-start/index.html b/files/ja/web/css/padding-block-start/index.html index d937f99753..dbbdf76e8d 100644 --- a/files/ja/web/css/padding-block-start/index.html +++ b/files/ja/web/css/padding-block-start/index.html @@ -51,7 +51,7 @@ padding-block-start: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/padding-block/index.html b/files/ja/web/css/padding-block/index.html index c7b929dcaa..b15d976700 100644 --- a/files/ja/web/css/padding-block/index.html +++ b/files/ja/web/css/padding-block/index.html @@ -50,7 +50,7 @@ padding-block: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/padding-bottom/index.html b/files/ja/web/css/padding-bottom/index.html index 08210127d8..20f52eac9f 100644 --- a/files/ja/web/css/padding-bottom/index.html +++ b/files/ja/web/css/padding-bottom/index.html @@ -58,7 +58,7 @@ padding-bottom: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/padding-inline-end/index.html b/files/ja/web/css/padding-inline-end/index.html index f3003ab5f3..668ec52782 100644 --- a/files/ja/web/css/padding-inline-end/index.html +++ b/files/ja/web/css/padding-inline-end/index.html @@ -51,7 +51,7 @@ padding-inline-end: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/padding-inline-start/index.html b/files/ja/web/css/padding-inline-start/index.html index c7b2a54067..6d02409afb 100644 --- a/files/ja/web/css/padding-inline-start/index.html +++ b/files/ja/web/css/padding-inline-start/index.html @@ -51,7 +51,7 @@ padding-inline-start: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/padding-inline/index.html b/files/ja/web/css/padding-inline/index.html index 922ac82887..057992bc3b 100644 --- a/files/ja/web/css/padding-inline/index.html +++ b/files/ja/web/css/padding-inline/index.html @@ -50,7 +50,7 @@ padding-inline: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/padding-left/index.html b/files/ja/web/css/padding-left/index.html index 92ac71fb52..ba9b38a4b6 100644 --- a/files/ja/web/css/padding-left/index.html +++ b/files/ja/web/css/padding-left/index.html @@ -56,7 +56,7 @@ padding-left: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/padding-right/index.html b/files/ja/web/css/padding-right/index.html index 621db10f00..c5f145d385 100644 --- a/files/ja/web/css/padding-right/index.html +++ b/files/ja/web/css/padding-right/index.html @@ -56,7 +56,7 @@ padding-right: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/padding-top/index.html b/files/ja/web/css/padding-top/index.html index 6ab459f59b..21b9165665 100644 --- a/files/ja/web/css/padding-top/index.html +++ b/files/ja/web/css/padding-top/index.html @@ -58,7 +58,7 @@ padding-top: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/padding/index.html b/files/ja/web/css/padding/index.html index 017db4e7c2..fcb299c08c 100644 --- a/files/ja/web/css/padding/index.html +++ b/files/ja/web/css/padding/index.html @@ -78,7 +78,7 @@ padding: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/page-break-after/index.html b/files/ja/web/css/page-break-after/index.html index 89851b198c..891a5f6f34 100644 --- a/files/ja/web/css/page-break-after/index.html +++ b/files/ja/web/css/page-break-after/index.html @@ -93,7 +93,7 @@ page-break-after: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/page-break-before/index.html b/files/ja/web/css/page-break-before/index.html index fa72a60cca..a373fd25c7 100644 --- a/files/ja/web/css/page-break-before/index.html +++ b/files/ja/web/css/page-break-before/index.html @@ -94,7 +94,7 @@ page-break-before: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/page-break-inside/index.html b/files/ja/web/css/page-break-inside/index.html index f3ab2e1d65..96263aee39 100644 --- a/files/ja/web/css/page-break-inside/index.html +++ b/files/ja/web/css/page-break-inside/index.html @@ -65,7 +65,7 @@ page-break-inside: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/paint-order/index.html b/files/ja/web/css/paint-order/index.html index 6ec0316ebf..0781a0e4cb 100644 --- a/files/ja/web/css/paint-order/index.html +++ b/files/ja/web/css/paint-order/index.html @@ -49,7 +49,7 @@ paint-order: markers stroke fill; /* マーカー、輪郭、塗りつぶしの <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/perspective-origin/index.html b/files/ja/web/css/perspective-origin/index.html index 22cf78f1ed..c35e4523a2 100644 --- a/files/ja/web/css/perspective-origin/index.html +++ b/files/ja/web/css/perspective-origin/index.html @@ -64,7 +64,7 @@ perspective-origin: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/perspective/index.html b/files/ja/web/css/perspective/index.html index 3d51b9620a..98628ea128 100644 --- a/files/ja/web/css/perspective/index.html +++ b/files/ja/web/css/perspective/index.html @@ -51,7 +51,7 @@ perspective: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/place-content/index.html b/files/ja/web/css/place-content/index.html index 97e92102d4..22dc2d61d0 100644 --- a/files/ja/web/css/place-content/index.html +++ b/files/ja/web/css/place-content/index.html @@ -89,7 +89,7 @@ place-content: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/place-items/index.html b/files/ja/web/css/place-items/index.html index f77643455b..58e9258b8f 100644 --- a/files/ja/web/css/place-items/index.html +++ b/files/ja/web/css/place-items/index.html @@ -93,7 +93,7 @@ place-items: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/place-self/index.html b/files/ja/web/css/place-self/index.html index c9eb65a548..cc8d8ca932 100644 --- a/files/ja/web/css/place-self/index.html +++ b/files/ja/web/css/place-self/index.html @@ -81,7 +81,7 @@ place-self: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/pointer-events/index.html b/files/ja/web/css/pointer-events/index.html index 805d07dd34..e89a099d27 100644 --- a/files/ja/web/css/pointer-events/index.html +++ b/files/ja/web/css/pointer-events/index.html @@ -89,7 +89,7 @@ pointer-events: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/position/index.html b/files/ja/web/css/position/index.html index e6ed408e56..9fb42d5610 100644 --- a/files/ja/web/css/position/index.html +++ b/files/ja/web/css/position/index.html @@ -79,7 +79,7 @@ translation_of: Web/CSS/position <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/quotes/index.html b/files/ja/web/css/quotes/index.html index 81545bf8d1..e627bbf8ba 100644 --- a/files/ja/web/css/quotes/index.html +++ b/files/ja/web/css/quotes/index.html @@ -48,7 +48,7 @@ quotes: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/resize/index.html b/files/ja/web/css/resize/index.html index ad5e111cc5..78962c09d5 100644 --- a/files/ja/web/css/resize/index.html +++ b/files/ja/web/css/resize/index.html @@ -61,7 +61,7 @@ resize: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/right/index.html b/files/ja/web/css/right/index.html index 3b18fbb610..ce036d8931 100644 --- a/files/ja/web/css/right/index.html +++ b/files/ja/web/css/right/index.html @@ -71,7 +71,7 @@ right: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/rotate/index.html b/files/ja/web/css/rotate/index.html index bf54017d55..99353807af 100644 --- a/files/ja/web/css/rotate/index.html +++ b/files/ja/web/css/rotate/index.html @@ -45,7 +45,7 @@ rotate: 1 1 1 90deg;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/row-gap/index.html b/files/ja/web/css/row-gap/index.html index 8ab3d2224d..62ab2262e3 100644 --- a/files/ja/web/css/row-gap/index.html +++ b/files/ja/web/css/row-gap/index.html @@ -48,7 +48,7 @@ row-gap: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/ruby-align/index.html b/files/ja/web/css/ruby-align/index.html index d12b41aa1b..7934dd2c16 100644 --- a/files/ja/web/css/ruby-align/index.html +++ b/files/ja/web/css/ruby-align/index.html @@ -43,7 +43,7 @@ ruby-align: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/ruby-position/index.html b/files/ja/web/css/ruby-position/index.html index b2135adb09..fe1452daba 100644 --- a/files/ja/web/css/ruby-position/index.html +++ b/files/ja/web/css/ruby-position/index.html @@ -40,7 +40,7 @@ ruby-position: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/scale/index.html b/files/ja/web/css/scale/index.html index 7385f5cd6a..bb237b870a 100644 --- a/files/ja/web/css/scale/index.html +++ b/files/ja/web/css/scale/index.html @@ -49,7 +49,7 @@ scale: 2 0.5 2;</pre> <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/scroll-behavior/index.html b/files/ja/web/css/scroll-behavior/index.html index 8103e98b17..4f5c7eb620 100644 --- a/files/ja/web/css/scroll-behavior/index.html +++ b/files/ja/web/css/scroll-behavior/index.html @@ -51,7 +51,7 @@ scroll-behavior: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/scroll-margin-bottom/index.html b/files/ja/web/css/scroll-margin-bottom/index.html index 4d2b2bcbaf..adb33f886e 100644 --- a/files/ja/web/css/scroll-margin-bottom/index.html +++ b/files/ja/web/css/scroll-margin-bottom/index.html @@ -42,7 +42,7 @@ scroll-margin-bottom: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-margin-inline-end/index.html b/files/ja/web/css/scroll-margin-inline-end/index.html index 919ec6c03f..5794e808bb 100644 --- a/files/ja/web/css/scroll-margin-inline-end/index.html +++ b/files/ja/web/css/scroll-margin-inline-end/index.html @@ -40,7 +40,7 @@ scroll-margin-inline-end: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-margin-inline-start/index.html b/files/ja/web/css/scroll-margin-inline-start/index.html index e8329858b7..1e25f3a112 100644 --- a/files/ja/web/css/scroll-margin-inline-start/index.html +++ b/files/ja/web/css/scroll-margin-inline-start/index.html @@ -42,7 +42,7 @@ scroll-margin-inline-start: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-margin-inline/index.html b/files/ja/web/css/scroll-margin-inline/index.html index ce8b1db68a..8cdbfcffc3 100644 --- a/files/ja/web/css/scroll-margin-inline/index.html +++ b/files/ja/web/css/scroll-margin-inline/index.html @@ -40,7 +40,7 @@ scroll-margin-inline: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-margin-left/index.html b/files/ja/web/css/scroll-margin-left/index.html index 262ad77a8d..241d55b4c6 100644 --- a/files/ja/web/css/scroll-margin-left/index.html +++ b/files/ja/web/css/scroll-margin-left/index.html @@ -43,7 +43,7 @@ scroll-margin-left: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-margin-right/index.html b/files/ja/web/css/scroll-margin-right/index.html index 121d50a284..4a597b15db 100644 --- a/files/ja/web/css/scroll-margin-right/index.html +++ b/files/ja/web/css/scroll-margin-right/index.html @@ -41,7 +41,7 @@ scroll-margin-right: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-margin-top/index.html b/files/ja/web/css/scroll-margin-top/index.html index a79d19eb93..e96c485aa9 100644 --- a/files/ja/web/css/scroll-margin-top/index.html +++ b/files/ja/web/css/scroll-margin-top/index.html @@ -42,7 +42,7 @@ scroll-margin-top: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-margin/index.html b/files/ja/web/css/scroll-margin/index.html index 3097d93f26..785743c8d4 100644 --- a/files/ja/web/css/scroll-margin/index.html +++ b/files/ja/web/css/scroll-margin/index.html @@ -36,7 +36,7 @@ scroll-margin: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding-block-end/index.html b/files/ja/web/css/scroll-padding-block-end/index.html index a088012aff..85c13d3f32 100644 --- a/files/ja/web/css/scroll-padding-block-end/index.html +++ b/files/ja/web/css/scroll-padding-block-end/index.html @@ -50,7 +50,7 @@ scroll-padding-block-end: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding-block-start/index.html b/files/ja/web/css/scroll-padding-block-start/index.html index ca9de2a0bd..449582d361 100644 --- a/files/ja/web/css/scroll-padding-block-start/index.html +++ b/files/ja/web/css/scroll-padding-block-start/index.html @@ -48,7 +48,7 @@ scroll-padding-block-start: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding-block/index.html b/files/ja/web/css/scroll-padding-block/index.html index bd02946514..8cf9f5ad64 100644 --- a/files/ja/web/css/scroll-padding-block/index.html +++ b/files/ja/web/css/scroll-padding-block/index.html @@ -46,7 +46,7 @@ scroll-padding-block: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding-bottom/index.html b/files/ja/web/css/scroll-padding-bottom/index.html index e0fd1afbf2..3121da7079 100644 --- a/files/ja/web/css/scroll-padding-bottom/index.html +++ b/files/ja/web/css/scroll-padding-bottom/index.html @@ -48,7 +48,7 @@ scroll-padding-bottom: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding-inline-end/index.html b/files/ja/web/css/scroll-padding-inline-end/index.html index 86a5891f2f..3326068c80 100644 --- a/files/ja/web/css/scroll-padding-inline-end/index.html +++ b/files/ja/web/css/scroll-padding-inline-end/index.html @@ -47,7 +47,7 @@ scroll-padding-inline-end: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding-inline-start/index.html b/files/ja/web/css/scroll-padding-inline-start/index.html index 108e325ef5..6d3e909f47 100644 --- a/files/ja/web/css/scroll-padding-inline-start/index.html +++ b/files/ja/web/css/scroll-padding-inline-start/index.html @@ -47,7 +47,7 @@ scroll-padding-inline-start: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding-inline/index.html b/files/ja/web/css/scroll-padding-inline/index.html index 80b6f84804..bcf1aab9a0 100644 --- a/files/ja/web/css/scroll-padding-inline/index.html +++ b/files/ja/web/css/scroll-padding-inline/index.html @@ -50,7 +50,7 @@ scroll-padding-inline: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding-left/index.html b/files/ja/web/css/scroll-padding-left/index.html index fbd13252c2..9f1688243c 100644 --- a/files/ja/web/css/scroll-padding-left/index.html +++ b/files/ja/web/css/scroll-padding-left/index.html @@ -47,7 +47,7 @@ scroll-padding-left: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding-right/index.html b/files/ja/web/css/scroll-padding-right/index.html index 908780a908..9bbc631ea7 100644 --- a/files/ja/web/css/scroll-padding-right/index.html +++ b/files/ja/web/css/scroll-padding-right/index.html @@ -46,7 +46,7 @@ scroll-padding-right: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding-top/index.html b/files/ja/web/css/scroll-padding-top/index.html index 10258d7eb3..12e310b393 100644 --- a/files/ja/web/css/scroll-padding-top/index.html +++ b/files/ja/web/css/scroll-padding-top/index.html @@ -46,7 +46,7 @@ scroll-padding-top: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specification" name="Specification">仕様書</h2> diff --git a/files/ja/web/css/scroll-padding/index.html b/files/ja/web/css/scroll-padding/index.html index f1cfd2d44c..7643ad2891 100644 --- a/files/ja/web/css/scroll-padding/index.html +++ b/files/ja/web/css/scroll-padding/index.html @@ -60,7 +60,7 @@ scroll-padding: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/scroll-snap-align/index.html b/files/ja/web/css/scroll-snap-align/index.html index 43896d458d..1a09296930 100644 --- a/files/ja/web/css/scroll-snap-align/index.html +++ b/files/ja/web/css/scroll-snap-align/index.html @@ -44,7 +44,7 @@ scroll-snap-align: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <div class="blockIndicator warning"> <p>Safari は現在のところ、値2つの構文が誤った順になっており、1番目の値がインラインで2番目の値がブロックになっています。 <a href="https://bugs.webkit.org/show_bug.cgi?id=191865">バグ #191865</a> を参照してください。</p> diff --git a/files/ja/web/css/scroll-snap-coordinate/index.html b/files/ja/web/css/scroll-snap-coordinate/index.html index 45bac430de..740993e96d 100644 --- a/files/ja/web/css/scroll-snap-coordinate/index.html +++ b/files/ja/web/css/scroll-snap-coordinate/index.html @@ -43,7 +43,7 @@ scroll-snap-coordinate: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/scroll-snap-destination/index.html b/files/ja/web/css/scroll-snap-destination/index.html index 8b652a802a..c3bd279b5d 100644 --- a/files/ja/web/css/scroll-snap-destination/index.html +++ b/files/ja/web/css/scroll-snap-destination/index.html @@ -35,7 +35,7 @@ scroll-snap-destination: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/scroll-snap-stop/index.html b/files/ja/web/css/scroll-snap-stop/index.html index 25ba842a38..cb966f15b2 100644 --- a/files/ja/web/css/scroll-snap-stop/index.html +++ b/files/ja/web/css/scroll-snap-stop/index.html @@ -38,7 +38,7 @@ scroll-snap-type: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/scroll-snap-type/index.html b/files/ja/web/css/scroll-snap-type/index.html index 06c6161a90..b166ebb34c 100644 --- a/files/ja/web/css/scroll-snap-type/index.html +++ b/files/ja/web/css/scroll-snap-type/index.html @@ -62,7 +62,7 @@ scroll-snap-type: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/scrollbar-color/index.html b/files/ja/web/css/scrollbar-color/index.html index d4367e769e..be14bec034 100644 --- a/files/ja/web/css/scrollbar-color/index.html +++ b/files/ja/web/css/scrollbar-color/index.html @@ -72,7 +72,7 @@ scrollbar-color: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/scrollbar-width/index.html b/files/ja/web/css/scrollbar-width/index.html index 441af136f1..c04082410e 100644 --- a/files/ja/web/css/scrollbar-width/index.html +++ b/files/ja/web/css/scrollbar-width/index.html @@ -63,7 +63,7 @@ scrollbar-width: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/shape-image-threshold/index.html b/files/ja/web/css/shape-image-threshold/index.html index fe262be09a..d0e6978d4d 100644 --- a/files/ja/web/css/shape-image-threshold/index.html +++ b/files/ja/web/css/shape-image-threshold/index.html @@ -49,7 +49,7 @@ shape-image-threshold: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/shape-margin/index.html b/files/ja/web/css/shape-margin/index.html index 01ca907161..439251b5b4 100644 --- a/files/ja/web/css/shape-margin/index.html +++ b/files/ja/web/css/shape-margin/index.html @@ -49,7 +49,7 @@ shape-margin: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/tab-size/index.html b/files/ja/web/css/tab-size/index.html index 8f510eb9de..ca89ae5ed3 100644 --- a/files/ja/web/css/tab-size/index.html +++ b/files/ja/web/css/tab-size/index.html @@ -43,7 +43,7 @@ tab-size: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/table-layout/index.html b/files/ja/web/css/table-layout/index.html index 77f39e854d..b4ee3adbc8 100644 --- a/files/ja/web/css/table-layout/index.html +++ b/files/ja/web/css/table-layout/index.html @@ -42,7 +42,7 @@ table-layout: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/text-align-last/index.html b/files/ja/web/css/text-align-last/index.html index b0497e1fa5..fe79d002b9 100644 --- a/files/ja/web/css/text-align-last/index.html +++ b/files/ja/web/css/text-align-last/index.html @@ -55,7 +55,7 @@ text-align-last: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/text-align/index.html b/files/ja/web/css/text-align/index.html index e0a47131a7..67fb132439 100644 --- a/files/ja/web/css/text-align/index.html +++ b/files/ja/web/css/text-align/index.html @@ -89,7 +89,7 @@ text-align: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-combine-upright/index.html b/files/ja/web/css/text-combine-upright/index.html index 907fb4de0b..e222f043ff 100644 --- a/files/ja/web/css/text-combine-upright/index.html +++ b/files/ja/web/css/text-combine-upright/index.html @@ -46,7 +46,7 @@ text-combine-upright: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example_digits" name="Example_digits">例 (digits)</h2> diff --git a/files/ja/web/css/text-decoration-color/index.html b/files/ja/web/css/text-decoration-color/index.html index b4def7fe00..6aad001a29 100644 --- a/files/ja/web/css/text-decoration-color/index.html +++ b/files/ja/web/css/text-decoration-color/index.html @@ -49,7 +49,7 @@ text-decoration-color: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-decoration-line/index.html b/files/ja/web/css/text-decoration-line/index.html index f7ab8d370e..9758f43e0e 100644 --- a/files/ja/web/css/text-decoration-line/index.html +++ b/files/ja/web/css/text-decoration-line/index.html @@ -56,7 +56,7 @@ text-decoration-line: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-decoration-skip-ink/index.html b/files/ja/web/css/text-decoration-skip-ink/index.html index a0c130adbb..b81a638fbc 100644 --- a/files/ja/web/css/text-decoration-skip-ink/index.html +++ b/files/ja/web/css/text-decoration-skip-ink/index.html @@ -50,7 +50,7 @@ text-decoration-skip: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-decoration-skip/index.html b/files/ja/web/css/text-decoration-skip/index.html index f39fe86f4f..3b4f01199e 100644 --- a/files/ja/web/css/text-decoration-skip/index.html +++ b/files/ja/web/css/text-decoration-skip/index.html @@ -63,7 +63,7 @@ text-decoration-skip: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/text-decoration-style/index.html b/files/ja/web/css/text-decoration-style/index.html index 394ad6a371..baf290cd1c 100644 --- a/files/ja/web/css/text-decoration-style/index.html +++ b/files/ja/web/css/text-decoration-style/index.html @@ -56,7 +56,7 @@ text-decoration-style: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-decoration/index.html b/files/ja/web/css/text-decoration/index.html index f13e611120..79d0ccd4fb 100644 --- a/files/ja/web/css/text-decoration/index.html +++ b/files/ja/web/css/text-decoration/index.html @@ -41,7 +41,7 @@ translation_of: Web/CSS/text-decoration <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-emphasis-color/index.html b/files/ja/web/css/text-emphasis-color/index.html index 8eaa6de6d8..a267407b4d 100644 --- a/files/ja/web/css/text-emphasis-color/index.html +++ b/files/ja/web/css/text-emphasis-color/index.html @@ -43,8 +43,7 @@ text-emphasis-color: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-emphasis-position/index.html b/files/ja/web/css/text-emphasis-position/index.html index 2a0ee36975..0f88bdd234 100644 --- a/files/ja/web/css/text-emphasis-position/index.html +++ b/files/ja/web/css/text-emphasis-position/index.html @@ -90,8 +90,7 @@ text-emphasis-position: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-emphasis-style/index.html b/files/ja/web/css/text-emphasis-style/index.html index 23aebe92d6..8cb0c92677 100644 --- a/files/ja/web/css/text-emphasis-style/index.html +++ b/files/ja/web/css/text-emphasis-style/index.html @@ -68,8 +68,7 @@ text-emphasis-style: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-emphasis/index.html b/files/ja/web/css/text-emphasis/index.html index 62fb199b05..c6d8014109 100644 --- a/files/ja/web/css/text-emphasis/index.html +++ b/files/ja/web/css/text-emphasis/index.html @@ -82,8 +82,7 @@ text-emphasis: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-indent/index.html b/files/ja/web/css/text-indent/index.html index 72f47374bf..77579da41a 100644 --- a/files/ja/web/css/text-indent/index.html +++ b/files/ja/web/css/text-indent/index.html @@ -55,7 +55,7 @@ text-indent: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Simple_indent" name="Simple_indent">単純なインデントの例</h2> diff --git a/files/ja/web/css/text-justify/index.html b/files/ja/web/css/text-justify/index.html index f121ff0d09..5adaa0687a 100644 --- a/files/ja/web/css/text-justify/index.html +++ b/files/ja/web/css/text-justify/index.html @@ -43,7 +43,7 @@ text-justify: distribute; /* 非推奨の値 */ <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-orientation/index.html b/files/ja/web/css/text-orientation/index.html index 8ac5a69a73..4db4d8aed7 100644 --- a/files/ja/web/css/text-orientation/index.html +++ b/files/ja/web/css/text-orientation/index.html @@ -51,7 +51,7 @@ text-orientation: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-overflow/index.html b/files/ja/web/css/text-overflow/index.html index b6b8699236..1b9d065f04 100644 --- a/files/ja/web/css/text-overflow/index.html +++ b/files/ja/web/css/text-overflow/index.html @@ -57,8 +57,7 @@ white-space: nowrap;</pre> <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-rendering/index.html b/files/ja/web/css/text-rendering/index.html index 581c2fd82e..09f89c003b 100644 --- a/files/ja/web/css/text-rendering/index.html +++ b/files/ja/web/css/text-rendering/index.html @@ -57,7 +57,7 @@ text-rendering: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-shadow/index.html b/files/ja/web/css/text-shadow/index.html index fdd7a81eba..be5a30a09c 100644 --- a/files/ja/web/css/text-shadow/index.html +++ b/files/ja/web/css/text-shadow/index.html @@ -78,7 +78,7 @@ text-shadow: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-size-adjust/index.html b/files/ja/web/css/text-size-adjust/index.html index 42a5364f7a..63af7ddee8 100644 --- a/files/ja/web/css/text-size-adjust/index.html +++ b/files/ja/web/css/text-size-adjust/index.html @@ -50,7 +50,7 @@ text-size-adjust: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/text-transform/index.html b/files/ja/web/css/text-transform/index.html index bcd53bafe2..364efb39d5 100644 --- a/files/ja/web/css/text-transform/index.html +++ b/files/ja/web/css/text-transform/index.html @@ -98,7 +98,7 @@ text-transform: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/text-underline-offset/index.html b/files/ja/web/css/text-underline-offset/index.html index 46dab30ce4..44d9c912e2 100644 --- a/files/ja/web/css/text-underline-offset/index.html +++ b/files/ja/web/css/text-underline-offset/index.html @@ -51,7 +51,7 @@ text-underline-offset: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/top/index.html b/files/ja/web/css/top/index.html index 4dbceec996..2a31f4bc5f 100644 --- a/files/ja/web/css/top/index.html +++ b/files/ja/web/css/top/index.html @@ -75,7 +75,7 @@ top: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/touch-action/index.html b/files/ja/web/css/touch-action/index.html index 53d4d83b61..4043cdc0d9 100644 --- a/files/ja/web/css/touch-action/index.html +++ b/files/ja/web/css/touch-action/index.html @@ -86,8 +86,7 @@ touch-action: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/transform-box/index.html b/files/ja/web/css/transform-box/index.html index 54c06483cd..8e82a937f1 100644 --- a/files/ja/web/css/transform-box/index.html +++ b/files/ja/web/css/transform-box/index.html @@ -55,7 +55,7 @@ transform-box: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/transform-origin/index.html b/files/ja/web/css/transform-origin/index.html index ae06a595f3..4010dba9c3 100644 --- a/files/ja/web/css/transform-origin/index.html +++ b/files/ja/web/css/transform-origin/index.html @@ -151,7 +151,7 @@ transform-origin: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/transform-style/index.html b/files/ja/web/css/transform-style/index.html index 07e0eb8a4f..37d75b2e00 100644 --- a/files/ja/web/css/transform-style/index.html +++ b/files/ja/web/css/transform-style/index.html @@ -49,7 +49,7 @@ transform-style: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/transform/index.html b/files/ja/web/css/transform/index.html index 8d137e227e..36d5882926 100644 --- a/files/ja/web/css/transform/index.html +++ b/files/ja/web/css/transform/index.html @@ -73,7 +73,7 @@ transform: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <p>{{cssxref("transform-function/perspective", "perspective()")}} を複数の関数の中で使用する場合は、最初に配置しなければなりません。</p> diff --git a/files/ja/web/css/transition-delay/index.html b/files/ja/web/css/transition-delay/index.html index 3e47ffa76a..b4fda0d0f7 100644 --- a/files/ja/web/css/transition-delay/index.html +++ b/files/ja/web/css/transition-delay/index.html @@ -48,7 +48,7 @@ transition-delay: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/transition-duration/index.html b/files/ja/web/css/transition-duration/index.html index 2aa297c4ee..a2f05aa676 100644 --- a/files/ja/web/css/transition-duration/index.html +++ b/files/ja/web/css/transition-duration/index.html @@ -46,7 +46,7 @@ transition-duration: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/transition-property/index.html b/files/ja/web/css/transition-property/index.html index 114e45fde5..562b43017a 100644 --- a/files/ja/web/css/transition-property/index.html +++ b/files/ja/web/css/transition-property/index.html @@ -60,7 +60,7 @@ transition-property: unset; <h2 id="Formal_syntax">Formal syntax</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/transition-timing-function/index.html b/files/ja/web/css/transition-timing-function/index.html index c2c229f701..1b8947aba4 100644 --- a/files/ja/web/css/transition-timing-function/index.html +++ b/files/ja/web/css/transition-timing-function/index.html @@ -101,7 +101,7 @@ transition-timing-function: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/transition/index.html b/files/ja/web/css/transition/index.html index 0c17a379e7..07c0ae2372 100644 --- a/files/ja/web/css/transition/index.html +++ b/files/ja/web/css/transition/index.html @@ -67,7 +67,7 @@ transition: unset; <h3 id="Formal_syntax" name="Formal_syntax">構文形式</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/translate/index.html b/files/ja/web/css/translate/index.html index 9d135968d6..a2f607d03f 100644 --- a/files/ja/web/css/translate/index.html +++ b/files/ja/web/css/translate/index.html @@ -46,7 +46,7 @@ translate: 50% 105px 5rem; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/unicode-bidi/index.html b/files/ja/web/css/unicode-bidi/index.html index 907ad46033..b13070a644 100644 --- a/files/ja/web/css/unicode-bidi/index.html +++ b/files/ja/web/css/unicode-bidi/index.html @@ -54,7 +54,7 @@ unicode-bidi: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/user-modify/index.html b/files/ja/web/css/user-modify/index.html index d6aea5cdea..7f84441ab0 100644 --- a/files/ja/web/css/user-modify/index.html +++ b/files/ja/web/css/user-modify/index.html @@ -53,7 +53,7 @@ user-modify: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/user-select/index.html b/files/ja/web/css/user-select/index.html index 804b0c0903..1b14290857 100644 --- a/files/ja/web/css/user-select/index.html +++ b/files/ja/web/css/user-select/index.html @@ -86,7 +86,7 @@ user-select: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/var()/index.html b/files/ja/web/css/var()/index.html index 664aae3132..02a362dbf4 100644 --- a/files/ja/web/css/var()/index.html +++ b/files/ja/web/css/var()/index.html @@ -27,8 +27,7 @@ translation_of: Web/CSS/var() <p>関数の最初の引数は、置換されるカスタムプロパティの名前です。関数のオプションの2番目の引数は、フォールバック値として機能します。 最初の引数で参照されるカスタムプロパティが無効な場合、関数は2番目の値を使用します。</p> -<pre class="syntaxbox notranslate">{{csssyntax}} -</pre> +{{csssyntax}} <div class="note"> <p><strong>メモ:</strong> フォールバックの構文は、カスタムプロパティの構文と同様にカンマを使用できます。たとえば <code>var(--foo, red, blue)</code> では、 <code>red, blue</code> をフォールバックとして定義します。つまり、最初のカンマから関数の最後にかけてのすべてが、フォールバック値と見なされます。</p> diff --git a/files/ja/web/css/vertical-align/index.html b/files/ja/web/css/vertical-align/index.html index 48ad8c1d5e..a335b07b97 100644 --- a/files/ja/web/css/vertical-align/index.html +++ b/files/ja/web/css/vertical-align/index.html @@ -189,7 +189,7 @@ vertical-align: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/visibility/index.html b/files/ja/web/css/visibility/index.html index b5bf1930e9..e08bc27d3f 100644 --- a/files/ja/web/css/visibility/index.html +++ b/files/ja/web/css/visibility/index.html @@ -75,7 +75,7 @@ visibility: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/white-space/index.html b/files/ja/web/css/white-space/index.html index df1f143540..3c8101b439 100644 --- a/files/ja/web/css/white-space/index.html +++ b/files/ja/web/css/white-space/index.html @@ -122,7 +122,7 @@ white-space: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/widows/index.html b/files/ja/web/css/widows/index.html index e850b680b4..cb318da200 100644 --- a/files/ja/web/css/widows/index.html +++ b/files/ja/web/css/widows/index.html @@ -40,7 +40,7 @@ widows: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/width/index.html b/files/ja/web/css/width/index.html index c840d40914..b52da296f5 100644 --- a/files/ja/web/css/width/index.html +++ b/files/ja/web/css/width/index.html @@ -83,7 +83,7 @@ width: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/will-change/index.html b/files/ja/web/css/will-change/index.html index e4afdd056f..2a8c3cff16 100644 --- a/files/ja/web/css/will-change/index.html +++ b/files/ja/web/css/will-change/index.html @@ -87,7 +87,7 @@ will-change: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/word-break/index.html b/files/ja/web/css/word-break/index.html index e2cdd24962..8867f87491 100644 --- a/files/ja/web/css/word-break/index.html +++ b/files/ja/web/css/word-break/index.html @@ -57,7 +57,7 @@ word-break: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/word-spacing/index.html b/files/ja/web/css/word-spacing/index.html index f3bf74f567..dd687552b7 100644 --- a/files/ja/web/css/word-spacing/index.html +++ b/files/ja/web/css/word-spacing/index.html @@ -83,7 +83,7 @@ word-spacing: unset; <h2 id="Formal_syntax" name="Formal_syntax">形式文法</h2> -<pre class="syntaxbox notranslate">{{CSSSyntax}}</pre> +{{CSSSyntax}} <h2 id="Specifications" name="Specifications">仕様書</h2> diff --git a/files/ja/web/css/writing-mode/index.html b/files/ja/web/css/writing-mode/index.html index d11a7ba60d..0b8a22f5a3 100644 --- a/files/ja/web/css/writing-mode/index.html +++ b/files/ja/web/css/writing-mode/index.html @@ -62,7 +62,7 @@ writing-mode: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">正式な構文</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">例</h2> diff --git a/files/ja/web/css/z-index/index.html b/files/ja/web/css/z-index/index.html index e5e6ec70b0..810ff25f47 100644 --- a/files/ja/web/css/z-index/index.html +++ b/files/ja/web/css/z-index/index.html @@ -53,7 +53,7 @@ z-index: unset; <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/css/zoom/index.html b/files/ja/web/css/zoom/index.html index 756ce7b514..200139e710 100644 --- a/files/ja/web/css/zoom/index.html +++ b/files/ja/web/css/zoom/index.html @@ -51,7 +51,7 @@ zoom: unset;</pre> <h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/html/element/menuitem/index.html b/files/ja/web/html/element/menuitem/index.html index 535b84a4be..1fa3ea9bd9 100644 --- a/files/ja/web/html/element/menuitem/index.html +++ b/files/ja/web/html/element/menuitem/index.html @@ -93,7 +93,7 @@ translation_of: Web/HTML/Element/menuitem <menu type="context" id="popup-menu"> <menuitem type="checkbox" checked>Checkbox</menuitem> <hr> - <menuitem type="command" label="This command does nothing" icon="https://developer.cdn.mozilla.net/static/img/favicon144.png"> + <menuitem type="command" label="This command does nothing" icon="https://developer.mozilla.org/static/img/favicon144.png"> Commands don't render their contents. </menuitem> <menuitem type="command" label="This command has javascript" onclick="alert('command clicked')"> diff --git a/files/ja/web/html/element/ul/index.html b/files/ja/web/html/element/ul/index.html index b8fee6133a..34c5392697 100644 --- a/files/ja/web/html/element/ul/index.html +++ b/files/ja/web/html/element/ul/index.html @@ -19,8 +19,8 @@ translation_of: Web/HTML/Element/ul <table class="properties"> <tbody> <tr> - <th scope="row"><a href="/ja/docs/Web/HTML/Content_categories">コンテンツカテゴリ</a></th> - <td><a href="/ja/docs/Web/HTML/Content_categories#Flow_content">フローコンテンツ</a>。また、 <code><ul></code> 要素の子に少なくとも 1 個 {{HTMLElement("li")}} 要素を包含する場合は、<a href="/ja/docs/Web/Guide/HTML/Content_categories#Palpable_content">知覚可能コンテンツ</a>。</td> + <th scope="row"><a href="/ja/docs/Web/Guide/HTML/Content_categories">コンテンツカテゴリ</a></th> + <td><a href="/ja/docs/Web/Guide/HTML/Content_categories#Flow_content">フローコンテンツ</a>。また、 <code><ul></code> 要素の子に少なくとも 1 個 {{HTMLElement("li")}} 要素を包含する場合は、<a href="/ja/docs/Web/Guide/HTML/Content_categories#Palpable_content">知覚可能コンテンツ</a>。</td> </tr> <tr> <th scope="row">許可されている内容</th> @@ -32,7 +32,7 @@ translation_of: Web/HTML/Element/ul </tr> <tr> <th scope="row">許可されている親要素</th> - <td><a href="/ja/docs/Web/HTML/Content_categories#Flow_content">フローコンテンツ</a>を受け入れるすべての要素</td> + <td><a href="/ja/docs/Web/Guide/HTML/Content_categories#Flow_content">フローコンテンツ</a>を受け入れるすべての要素</td> </tr> <tr> <th scope="row">暗黙の ARIA ロール</th> @@ -49,19 +49,16 @@ translation_of: Web/HTML/Element/ul </tbody> </table> -<h2 id="Attributes" name="Attributes">属性</h2> +<h2 id="Attributes">属性</h2> <p>この要素には<a href="/ja/docs/Web/HTML/Global_attributes">グローバル属性</a>があります。</p> <dl> <dt>{{ htmlattrdef("compact") }} {{Deprecated_inline}}</dt> - <dd>この論理属性は、コンパクトなスタイルでリストを秒がするようブラウザーに指示するものです。この属性の解釈は{{glossary("user agent", "ユーザーエージェント")}}に委ねられ、またすべてのブラウザーで動作するものでもありません。</dd> + <dd>この論理属性は、コンパクトなスタイルでリストを描画するようブラウザーに指示するものです。この属性の解釈は{{glossary("user agent", "ユーザーエージェント")}}に委ねられ、またすべてのブラウザーで動作するものでもありません。</dd> <dd> <div class="warning"><strong>警告:</strong> この属性は非推奨になっているため、使用しないでください。代わりに <a href="/ja/docs/Web/CSS">CSS</a> を使用してください。 <code>compact</code> 属性と同様の効果を得るには、 CSS の {{cssxref("line-height")}} プロパティを用い、その値として <code>80%</code> を指定します。</div> </dd> -</dl> - -<dl> <dt>{{ htmlattrdef("type") }} {{Deprecated_inline}}</dt> <dd>リストの行頭記号の形状を指定するために用います。 HTML3.2 および HTML 4.0/4.01 tranditional で定義されていた値は以下の通りです。 <ul> @@ -78,7 +75,7 @@ translation_of: Web/HTML/Element/ul </dd> </dl> -<h2 id="Usage_notes" name="Usage_notes">使用上のメモ</h2> +<h2 id="Usage_notes">使用上のメモ</h2> <ul> <li><code><ul></code> 要素は、数的な順序がなく、その配置順に意味を持たない項目を持つリストを表します。通常、順序なしリストの項目はドット、円形、四角形などいくつかの形式による行頭記号を伴って描画されます。行頭記号のスタイルは HTML 仕様書のページでは定義されていませんが、 CSS の {{ cssxref("list-style-type") }} プロパティを用いて変更することが可能です。</li> @@ -86,11 +83,11 @@ translation_of: Web/HTML/Element/ul <li>{{ HTMLElement("ol") }} と <code><ul></code> は、どちらも項目のリストを表します。両者の違いは、 {{ HTMLElement("ol") }} 要素では順序に意味があることです。使い分けの目安としては、項目の順序を変更してみてください。意味が変わるようであれば {{ HTMLElement("ol") }} 要素を使用し、そうでない場合は <code><ul></code> 要素を使用することができます。</li> </ul> -<h2 id="Examples" name="Examples">例</h2> +<h2 id="Examples">例</h2> -<h3 id="Simple_example" name="Simple_example">シンプルな例</h3> +<h3 id="Simple_example">シンプルな例</h3> -<pre class="brush: html notranslate"><ul> +<pre class="brush: html"><ul> <li>first item</li> <li>second item</li> <li>third item</li> @@ -101,9 +98,9 @@ translation_of: Web/HTML/Element/ul <p>{{EmbedLiveSample("Simple_example", 400, 100)}}</p> -<h3 id="Nesting_a_list" name="Nesting_a_list">入れ子になったリスト</h3> +<h3 id="Nesting_a_list">入れ子になったリスト</h3> -<pre class="brush: html notranslate"><ul> +<pre class="brush: html"><ul> <li>first item</li> <li>second item <!-- 閉じタグの </li> がここにはありません。 --> @@ -129,9 +126,9 @@ translation_of: Web/HTML/Element/ul <p>{{EmbedLiveSample("Nesting_a_list", 400, 220)}}</p> -<h3 id="Nested_ul_and_ol" name="Nested_ul_and_ol"><ul> と <ol> のネスト</h3> +<h3 id="Nested_ul_and_ol"><ul> と <ol> のネスト</h3> -<pre class="brush: html notranslate"><ul> +<pre class="brush: html"><ul> <li>first item</li> <li>second item <!-- ここには <li> の閉じタグはない --> @@ -150,7 +147,7 @@ translation_of: Web/HTML/Element/ul <p>{{EmbedLiveSample("Ordered_list_inside_unordered_list", 400, 150)}}</p> -<h2 id="Specifications" name="Specifications">仕様書</h2> +<h2 id="Specifications">仕様書</h2> <table class="standard-table"> <thead> @@ -174,13 +171,11 @@ translation_of: Web/HTML/Element/ul </tbody> </table> -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> - -<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div> +<h2 id="Browser_compatibility">ブラウザーの互換性</h2> <p>{{Compat("html.elements.ul")}}</p> -<h2 id="See_also" name="See_also">関連情報</h2> +<h2 id="See_also">関連情報</h2> <ul> <li>その他のリスト関連要素: {{HTMLElement("ol")}}, {{HTMLElement("li")}}, {{HTMLElement("menu")}}</li> diff --git a/files/ja/web/http/basics_of_http/evolution_of_http/index.html b/files/ja/web/http/basics_of_http/evolution_of_http/index.html index 4357788871..0e9bb0dc62 100644 --- a/files/ja/web/http/basics_of_http/evolution_of_http/index.html +++ b/files/ja/web/http/basics_of_http/evolution_of_http/index.html @@ -120,7 +120,7 @@ Vary: Cookie, Accept-Encoding GET /static/img/header-background.png HTTP/1.1 -Host: developer.cdn.mozilla.net +Host: developer.mozilla.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:50.0) Gecko/20100101 Firefox/50.0 Accept: */* Accept-Language: en-US,en;q=0.5 diff --git a/files/ja/web/http/browser_detection_using_the_user_agent/index.html b/files/ja/web/http/browser_detection_using_the_user_agent/index.html index 8277621dea..d202b232b4 100644 --- a/files/ja/web/http/browser_detection_using_the_user_agent/index.html +++ b/files/ja/web/http/browser_detection_using_the_user_agent/index.html @@ -17,31 +17,28 @@ translation_of: Web/HTTP/Browser_detection_using_the_user_agent <p>繰り返します。ユーザーエージェントを調べるのが良いことはめったにありません。問題を解決するには、もっと良い、もっと広く互換性のある方法が見つかるはずです。</p> </div> -<h2 id="Considerations_before_using_browser_detection" name="Considerations_before_using_browser_detection">ブラウザーの判定を用いる前に考えること</h2> +<h2 id="Considerations_before_using_browser_detection">ブラウザーの判定を用いる前に考えること</h2> <p>ユーザーエージェント文字列を使用して、使用されているブラウザーを判定することを検討している場合は、できればまずは回避するようにしてください。<strong>なぜ</strong>それをやりたいのかを見分けることから始めましょう。</p> <dl> - <dt>ブラウザーのあるバージョンの特有のバグを回避しようとしているのですか?</dt> - <dd>専門のフォーラムで見たり尋ねたりしてみましょう。この問題に最初に遭遇したのがあなたであることはほとんどありません。また専門家、あるいは単に別の視点を持つ人々が、バグを回避するためのアイディアをくれるかもしれません。珍しい問題である場合は、このバグがバグ追跡システム (<a class="link-https" href="https://bugzilla.mozilla.org">Mozilla</a>; <a class="external" href="https://bugs.webkit.org">WebKit</a>; <a href="https://www.chromium.org/issue-tracking">Blink</a>; <a class="link-https" href="https://bugs.opera.com/">Opera</a>) を介してブラウザーのベンダーに報告されているかどうかを確認することが重要です。ブラウザーメーカーはバグレポートに注意を払い、そのバグの他の回避策を分析するかもしれません。</dd> - <dt>特定の機能が存在するかどうか確認しようとしているのですか?</dt> - <dd>一部のブラウザーがまだ対応していない特定のウェブ機能をサイトで使用する必要がある場合、未対応のブラウザーのユーザーには、より機能が少ないものの動作することが分かっている古いウェブサイトを送信したい場合があります。これはユーザーエージェントの検出を使用する最悪の理由です。なぜなら、この差は最終的に他のすべてのブラウザーが追いつくからです。さらに、それほど一般的でないブラウザーを1つ1つ全てテストするのは現実的ではありません。ユーザーエージェントによる判定は<strong>決して</strong>行うべきではありません。その代わりに<strong>常に</strong>機能の検出を行う代替手段があります。</dd> + <dt>ブラウザーのあるバージョンの特有のバグを回避しようとしているのですか?</dt> + <dd>専門のフォーラムで見たり尋ねたりしてみましょう。この問題に最初に遭遇したのがあなたであることはほとんどありません。また専門家、あるいは別の視点を持つ人々が、バグを回避するためのアイディアをくれるかもしれません。珍しい問題である場合は、このバグがバグ追跡システム (<a class="link-https" href="https://bugzilla.mozilla.org">Mozilla</a>; <a href="https://bugs.webkit.org">WebKit</a>; <a href="https://www.chromium.org/issue-tracking">Blink</a>; <a class="link-https" href="https://bugs.opera.com/">Opera</a>) を介してブラウザーのベンダーに報告されているかどうかを確認することが重要です。ブラウザーメーカーはバグレポートに注意を払い、そのバグの他の回避策を分析するかもしれません。</dd> + <dt>特定の機能が存在するかどうか確認しようとしているのですか?</dt> + <dd>一部のブラウザーがまだ対応していない特定のウェブ機能をサイトで使用する必要がある場合、未対応のブラウザーのユーザーには、より機能が少ないものの動作することが分かっている古いウェブサイトを送信したい場合があります。これはユーザーエージェントの検出を使用する最悪の理由です。なぜなら、この差は最終的に他のすべてのブラウザーが追いつくからです。さらに、これらのウェブ機能について、それほど一般的でないブラウザーを1つ1つテストするのは現実的ではありません。ユーザーエージェントによる判定は<strong>決して</strong>行うべきではありません。その代わりに<strong>常に</strong>機能の検出を行う代替手段があります。</dd> + <dt>使用されているブラウザーによって異なる HTML を提供する予定ですか?</dt> + <dd>通常では悪い慣例ですが、これが必要な場合もあります。このような場合は、まず自分の状況を分析してそれが本当に必要であることを確認してください。形式的な {{ HTMLElement("div") }} または {{ HTMLElement("span") }} 要素を追加することで、それを防ぐことができませんか?ユーザーエージェントの検出を正しく行うことは、 HTML の純度をいくらか損なっても構わないくらい難しいものです。また、デザインを考え直してください。プログレッシブエンハンスメントや流体レイアウトを使用することで、回避することはできませんか?</dd> </dl> -<dl> - <dt>使用されているブラウザーによって異なる HTML を提供する予定ですか?</dt> - <dd>通常では悪い慣例ですが、これが必要な場合もあります。このような場合は、まず自分の状況を分析してそれが本当に必要であることを確認してください。形式的な {{ HTMLElement("div") }} または {{ HTMLElement("span") }} 要素を追加することで、それを防ぐことができませんか?ユーザーエージェントの検出を正しく行うことは、 HTML の純度をいくらか損なっても構わないくらい難しいものです。また、デザインを考え直してください。プログレッシブエンハンスメントや流体レイアウトを使用することで、回避することはできませんか?</dd> -</dl> - -<h2 id="Avoiding_user_agent_detection" name="Avoiding_user_agent_detection">ユーザーエージェントの判定の回避</h2> +<h2 id="Avoiding_user_agent_detection">ユーザーエージェントの判定の回避</h2> <p>ユーザーエージェントの検出を使用しないようにするのであれば、いくつかの選択肢があります。</p> <dl> - <dt>機能の検出</dt> - <dd>機能の検出とは、ページを表示しているブラウザーを特定するのではなく、必要な機能が利用可能であるかどうかを確認することです。利用できない場合は代替手段を使用します。ブラウザーによって異なる動作をする場合は稀ですが、ユーザーエージェント文字列をチェックする代わりに、ブラウザーがその API をどう実装しているか検査する処理を実装し、そこから使い方を判断しましょう。機能の検出の今のところ良い例は次の通りです。最近、 Chrome は<a href="https://www.chromestatus.com/feature/5668726032564224">正規表現に実験的な後方参照の対応を追加しました</a>が、他のブラウザーは今のところ対応していません。ですから、間違って以下のようにするべきと思うかもしれません。</dd> - <dd> - <pre class="brush: js notranslate">// this code snippet splits a string in a special notation + <dt>機能の検出</dt> + <dd>機能の検出とは、ページを表示しているブラウザーを特定するのではなく、必要な機能が利用可能であるかどうかを確認することです。利用できない場合は代替手段を使用します。ブラウザーによって異なる動作をする場合は稀ですが、ユーザーエージェント文字列をチェックする代わりに、ブラウザーがその API をどう実装しているか検査する処理を実装し、そこから使い方を判断しましょう。機能の検出の今のところ良い例は次の通りです。最近、 Chrome は<a href="https://www.chromestatus.com/feature/5668726032564224">正規表現に実験的な後方参照の対応を追加しました</a>が、他のブラウザーは今のところ対応していません。ですから、間違って以下のようにするべきと思うかもしれません。</dd> + <dd> + <pre class="brush: js">// this code snippet splits a string in a special notation if (navigator.userAgent.indexOf("Chrome") !== -1){ // YES! The user is suspected to support look-behind regexps @@ -62,17 +59,17 @@ if (navigator.userAgent.indexOf("Chrome") !== -1){ console.log(splitUpString("fooBare")); // ["fooB", "are"] console.log(splitUpString("jQWhy")); // ["jQ", "W", "hy"]</pre> - <p>上記のコードでは、いくつかの間違った仮定をするでしょう。</p> + <p>上記のコードでは、いくつかの間違った仮定をするでしょう。</p> - <ul> - <li>それは、部分文字列 "Chrome" を含むすべてのユーザーエージェント文字列が Chrome であると仮定するでしょう。 UA 文字列は誤解を招くことで有名です。</li> - <li>ブラウザーが Chrome であれば、ルックバインド機能は常に利用可能であると仮定しています。エージェントは対応が追加される前の古いバージョンの Chrome かもしれないし、 (当時は実験的な機能だったので) それが削除された後のバージョンの Chrome かもしれません。</li> - <li>最も重要なのは、他のブラウザーがこの機能に対応していないことを前提としていることです。他のブラウザーではいつの間にか対応が追加されていたかもしれませんが、このコードでは劣った道を選択し続けていたことになります。</li> - </ul> + <ul> + <li>部分文字列 "Chrome" を含むすべてのユーザーエージェント文字列が Chrome であると仮定するでしょう。 UA 文字列は誤解を招くことで有名です。</li> + <li>ブラウザーが Chrome であれば、ルックバインド機能は常に利用可能であると仮定しています。エージェントは対応が追加される前の古いバージョンの Chrome かもしれないし、 (当時は実験的な機能だったので) それが削除された後のバージョンの Chrome かもしれません。</li> + <li>最も重要なのは、他のブラウザーがこの機能に対応していないことを前提としていることです。他のブラウザーではいつの間にか対応が追加されていたかもしれませんが、このコードでは劣った道を選択し続けることになります。</li> + </ul> - <p>このような問題は、機能自体の対応をテストすることで回避することができます。</p> + <p>このような問題は、機能自体の対応をテストすることで回避することができます。</p> - <pre class="brush: js notranslate">var isLookBehindSupported = false; + <pre class="brush: js">var isLookBehindSupported = false; try { new RegExp("(?<=)"); @@ -90,18 +87,18 @@ var splitUpString = isLookBehindSupported ? function(str) { }; </pre> - <p>上記のコードが示すように、ブラウザーの互換性をユーザーエージェントの判定なしに行う方法は<strong>常に</strong>あります。このためにユーザーの文字列をチェックする理由は<strong>決してありません</strong>。</p> - - <p>最後に、上記のコードスニペットは、常に考慮しなければならないクロスブラウザーのコーディングで重大な問題を引き起こします。サポート対象外のブラウザーでテストしている API を意図せず使用しないでください。これは明らかでシンプルに聞こえるかもしれませんが、そうでない時もあります。たとえば、上記のコードスニペットでは、短い regexp 表記 (たとえば /reg/igm) で lookbehind を使用すると、サポートされていないブラウザーで parser エラーが発生します。したがって、あなたのコードの lookbehind がサポートされているセクションであっても、上記の例では <em>new RegExp("(?<=look_behind_stuff)");</em> を <em>/(?<=look_behind_stuff)/</em> の代わりに使用します。</p> - </dd> - <dt>プログレッシブエンハンスメント</dt> - <dd>この設計手法は、ウェブサイトを「階層」で開発し、ボトムアップのアプローチを使用して、より簡単な階層から始め、階層が上がるに従ってより多くの機能を使用して、サイトの機能を向上させる方法です。</dd> - <dt>グレイスフルデグラデーション</dt> - <dd>これはトップダウンのアプローチで、必要なすべての機能を使用して最適なサイトを構築し、それを古いブラウザーでも使用できるように調整する方法です。これは、プログレッシブエンハンスメントよりも難しく、有効性が低くなりますが、場合によっては有用であることがあります。</dd> - <dt id="Mobile_Device_Detection">モバイル端末の検出</dt> - <dd>おそらく、ユーザーエージェントの判定で最も一般的かつ誤った使用法は、その端末がモバイル端末であるかどうかを検出することです。しかし、それが後で本当にどうなるかは見過ごされがちです。開発者はユーザーエージェントの判定を使用して、ユーザーの端末がタッチ操作であることや小さい画面であることを判別し、それに応じてウェブサイトを最適化することがあります。ユーザーエージェントの判定でこれらを検出できることもありますが、すべての端末が同じではありません。モバイル端末が大きなサイズの画面を持っている場合もあるし、デスクトップが小さなタッチ画面を持っている場合もあるし、まったく異なる球技であるスマートテレビで見ている場合もあるし、タブレットの向きを回転させて画面の幅や高さを動的に変化させている人もいます。よって、ユーザーエージェントの検出は決定的な方法ではありません。幸い、はるかに良い代替方法があります。ユーザーの端末にタッチ画面があるかどうかを検出するには、 <a href="/ja/docs/Web/API/Navigator/maxTouchPoints">Navigator.maxTouchPoints</a> を使用しましょう。そして、 <em>if (!("maxTouchPoints" in navigator)) { /*Code here*/}</em> の場合のみ、ユーザーエージェントの画面をチェックする既定に戻します。この情報を使用して端末にタッチ画面があるかどうかを確認することができますが、タッチ端末であるだけのためにウェブサイトのレイアウト全体を変更しないようにしてください。これは自分の作業とメンテナンスの量を増やすだけです。それよりも、タッチに適したより大きい、よりクリックしやすいボタンを追加しましょう (CSS を使用してフォントサイズを上げるだけです)。モバイル端末で #exampleButton のパディングを 1em に拡張するコードの例を示します。</dd> - <dd> - <pre class="brush: js notranslate">var hasTouchScreen = false; + <p>上記のコードが示すように、ブラウザーの互換性をユーザーエージェントの判定なしに行う方法は<strong>常に</strong>あります。このためにユーザーの文字列をチェックする理由は<strong>決してありません</strong>。</p> + + <p>最後に、上記のコードスニペットは、常に考慮しなければならないクロスブラウザーのコーディングで重大な問題を引き起こします。サポート対象外のブラウザーでテストしている API を意図せず使用しないでください。これは明らかでシンプルに聞こえるかもしれませんが、そうでない時もあります。たとえば、上記のコードスニペットでは、短い regexp 表記 (たとえば /reg/igm) で lookbehind を使用すると、サポートされていないブラウザーで parser エラーが発生します。したがって、あなたのコードの lookbehind がサポートされているセクションであっても、上記の例では <em>new RegExp("(?<=look_behind_stuff)");</em> を <em>/(?<=look_behind_stuff)/</em> の代わりに使用します。</p> + </dd> + <dt>プログレッシブエンハンスメント</dt> + <dd>この設計手法は、ウェブサイトを「階層」で開発し、ボトムアップのアプローチを使用して、より簡単な階層から始め、階層が上がるに従ってより多くの機能を使用して、サイトの機能を向上させる方法です。</dd> + <dt>グレイスフルデグラデーション</dt> + <dd>これはトップダウンのアプローチで、必要なすべての機能を使用して最適なサイトを構築し、それを古いブラウザーでも使用できるように調整する方法です。これは、プログレッシブエンハンスメントよりも難しく、有効性が低くなりますが、場合によっては有用であることがあります。</dd> + <dt id="Mobile_Device_Detection">モバイル端末の検出</dt> + <dd>おそらく、ユーザーエージェントの判定で最も一般的かつ誤った使用法は、その端末がモバイル端末であるかどうかを検出することです。しかし、それが後で本当にどうなるかは見過ごされがちです。開発者はユーザーエージェントの判定を使用して、ユーザーの端末がタッチ操作であることや小さい画面であることを判別し、それに応じてウェブサイトを最適化することがあります。ユーザーエージェントの判定でこれらを検出できることもありますが、すべての端末が同じではありません。モバイル端末が大きなサイズの画面を持っている場合もあるし、デスクトップが小さなタッチ画面を持っている場合もあるし、まったく異なる球技であるスマートテレビで見ている場合もあるし、タブレットの向きを回転させて画面の幅や高さを動的に変化させている人もいます。よって、ユーザーエージェントの検出は決定的な方法ではありません。幸い、はるかに良い代替方法があります。ユーザーの端末にタッチ画面があるかどうかを検出するには、 <a href="/ja/docs/Web/API/Navigator/maxTouchPoints">Navigator.maxTouchPoints</a> を使用しましょう。そして、 <em>if (!("maxTouchPoints" in navigator)) { /*Code here*/}</em> の場合のみ、ユーザーエージェントの画面をチェックする既定に戻します。この情報を使用して端末にタッチ画面があるかどうかを確認することができますが、タッチ端末であるだけのためにウェブサイトのレイアウト全体を変更しないようにしてください。これは自分の作業とメンテナンスの量を増やすだけです。それよりも、タッチに適したより大きい、よりクリックしやすいボタンを追加しましょう (CSS を使用してフォントを拡大することができます)。モバイル端末で #exampleButton のパディングを 1em に拡張するコードの例を示します。</dd> + <dd> + <pre class="brush: js">var hasTouchScreen = false; if ("maxTouchPoints" in navigator) { hasTouchScreen = navigator.maxTouchPoints > 0; } else if ("msMaxTouchPoints" in navigator) { @@ -123,21 +120,21 @@ if ("maxTouchPoints" in navigator) { } if (hasTouchScreen) document.getElementById("exampleButton").style.padding="1em";</pre> - </dd> - <dd>画面のサイズについては、 <em>window.innerWidth</em> と window.addEventListener("resize", function(){ /*refresh screen size dependent things*/ }) を使用するだけです。画面サイズの対策としてやりたいことは、小さな画面の時に情報を削らないことです。デスクトップバージョンを使用するようになるので、人々を悩ますだけです。むしろ、小さい画面で長いページでは情報の列数を少なくし、画面サイズが大きいほど短いページで多くの列を持つようにしてください。この効果は、 CSS <a href="/ja/docs/Learn/CSS/CSS_layout/Flexbox">フレックスボックス</a>を使用し、時には部分的な代替手段として<a href="/en-US/docs/Learn/CSS/CSS_layout/Floats">浮動レイアウト</a>を用いることで簡単に達成できます。</dd> - <dd>また、関連性や重要性の低い情報を下に移動させ、ページのコンテンツを有意義にまとめてみてください。トピック外ではありますが、以下の詳細な例を見れば、ユーザーエージェントのスニッフィングを避けるための洞察力やアイデアが得られるかもしれません。複数の情報のボックスで構成されたページを想像してみましょう。それぞれのボックスは様々な猫や犬の品種についてのものであるとします。各ボックスには、画像、概要、経緯があるとします。画像は、大画面でも適切な最大の大きさが維持されるとします。意味のあるグループ分けをするために、すべての猫のボックスとすべての犬のボックスを分離し、猫と犬の箱が混在しないようにしています。大きな画面では、段組みをして画像の左右の無駄な空間を縮小することで、空間を節約します。このボックスは2つの等価な方法により、段組みに分割することができます。ここで、犬のボックスはすべてソースコードの上の方にあり、猫のボックスはすべてソースコードの下の方にあり、これらの箱の親要素はすべて共通であると仮定します。もちろん、猫ボックスのすぐ上に犬ボックスの単一のインスタンスがあります。最初の方法では、水平方向の<a href="/ja/docs/Learn/CSS/CSS_layout/Flexbox">フレックスボックス</a>を使用してコンテンツをグループ化し、ページがエンドユーザーに表示されたときに、すべての犬のボックスをページの上部に配置し、すべての猫のボックスをページの下部に配置するようにします。2つ目の方法は<a href="/ja/docs/Web/CSS/Layout_cookbook/Column_layouts">段組み</a>レイアウトを使用し、すべての犬を左に、すべての猫を右に配置します。この特定のシナリオでのみ、フレックスボックス/段組みのフォールバックを提供しないことが適切であり、その結果、古いブラウザー上では非常に幅の広いボックスの単一の列になります。また、以下のことも考慮してください。より多くの人がウェブページに猫を見に来るのであれば、ソースコード上で犬よりも猫をすべて先に書くと、コンテンツが1段になるような小さな画面でも、より多くの人が探しているものをより早く見つけることができるようになるので、良い考えかもしれません。</dd> - <dd>次に、コードを常に動的にしましょう。ユーザーは携帯端末の向きを回転させて、ページの幅と高さを変更することがあります。または、将来は広げると画面が拡張できるような、折り畳み式電話のような奇妙な端末が現れるかもしれません。折り畳み式電話のような端末をどのように扱うかということに頭を悩ませないでください。開発者ツールのサイドパネルを開いて画面のサイズを変更してみて、ウェブページが滑らかに、流動的に、動的にサイズ変更されるようになるまで満足しないようにしてください。これを行う最も単純な方法は、画面の大きさに基づいてコンテンツを移動させるすべてのコードを、ページが読み込まれたときと、その後の <a href="/ja/docs/Web/API/Window/resize_event">resize</a> イベントのたびに呼び出される単一の関数に分離することです。もし、このレイアウト関数がページの新しいレイアウトを決定する前に多くの計算がある場合は、イベントリスナーが呼び出されないようにイベントリスナーをデバウンスすることを検討してください。また、メディアクエリの <code>(max-width: 25em)</code>, <code>not all and (min-width: 25em)</code>, <code>(max-width: 24.99em)</code> の間には大きな違いがあることにも注意してください。 <code>(max-width: 25em)</code> は <code>(max-width: 25em)</code> を除外し、 <code>not all and (min-width: 25em)</code> は <code>(max-width: 25em)</code> を含みます。 <code>(max-width: 24.99em)</code> は、単に <code>not all and (min-width: 25em)</code> の哀れな人のバージョンです。 <code>(max-width: 24.99em)</code> を使用しないでください。適切なメディアクエリを選択し、対応する JavaScript の中で適切な >=, <=, >, < を選択すると、これらが混ざってしまいやすく、結果として、レイアウトが変更された画面サイズでウェブサイトを見てしまうことになるからです。そのため、レイアウト変更が適切に行われているかどうかを確認するために、レイアウト変更が行われている正確な幅/高さでウェブサイトを徹底的にテストしてください。</dd> + </dd> + <dd>画面のサイズについては、 <em>window.innerWidth</em> と window.addEventListener("resize", function(){ /*refresh screen size dependent things*/ }) を使用してください。画面サイズの対策としてやりたいことは、小さな画面の時に情報を削らないことです。デスクトップバージョンを使用するようになるので、人々を悩ますだけです。むしろ、小さい画面で長いページでは情報の列数を少なくし、画面サイズが大きいほど短いページで多くの列を持つようにしてください。この効果は、 CSS <a href="/ja/docs/Learn/CSS/CSS_layout/Flexbox">フレックスボックス</a>を使用し、時には部分的な代替手段として<a href="/ja/docs/Learn/CSS/CSS_layout/Floats">浮動レイアウト</a>を用いることで簡単に達成できます。</dd> + <dd>また、関連性や重要性の低い情報を下に移動させ、ページのコンテンツを有意義にまとめてみてください。トピック外ではありますが、以下の詳細な例を見れば、ユーザーエージェントのスニッフィングを避けるための洞察力やアイデアが得られるかもしれません。複数の情報のボックスで構成されたページを想像してみましょう。それぞれのボックスは様々な猫や犬の品種についてのものであるとします。各ボックスには、画像、概要、経緯があるとします。画像は、大画面でも適切な最大の大きさが維持されるとします。意味のあるグループ分けをするために、すべての猫のボックスとすべての犬のボックスを分離し、猫と犬の箱が混在しないようにしています。大きな画面では、段組みをして画像の左右の無駄な空間を縮小することで、空間を節約します。このボックスは2つの等価な方法により、段組みに分割することができます。ここで、犬のボックスはすべてソースコードの上の方にあり、猫のボックスはすべてソースコードの下の方にあり、これらの箱の親要素はすべて共通であると仮定します。もちろん、猫ボックスのすぐ上に犬ボックスの単一のインスタンスがあります。最初の方法では、水平方向の<a href="/ja/docs/Learn/CSS/CSS_layout/Flexbox">フレックスボックス</a>を使用してコンテンツをグループ化し、ページがエンドユーザーに表示されたときに、すべての犬のボックスをページの上部に配置し、すべての猫のボックスをページの下部に配置するようにします。2つ目の方法は<a href="/ja/docs/Web/CSS/Layout_cookbook/Column_layouts">段組み</a>レイアウトを使用し、すべての犬を左に、すべての猫を右に配置します。この特定のシナリオでのみ、フレックスボックス/段組みのフォールバックを提供しないことが適切であり、その結果、古いブラウザー上では非常に幅の広いボックスの単一の列になります。また、以下のことも考慮してください。より多くの人がウェブページに猫を見に来るのであれば、ソースコード上で犬よりも猫をすべて先に書くと、コンテンツが一段になるような小さな画面でも、より多くの人が探しているものをより早く見つけることができるようになるので、良い考えかもしれません。</dd> + <dd>次に、コードを常に動的にしましょう。ユーザーは携帯端末の向きを回転させて、ページの幅と高さを変更することがあります。または、将来は広げると画面が拡張できるような、折り畳み式電話のような奇妙な端末が現れるかもしれません。折り畳み式電話のような端末をどのように扱うかということに頭を悩ませないでください。開発者ツールのサイドパネルを開いて画面のサイズを変更してみて、ウェブページが滑らかに、流動的に、動的にサイズ変更されるようになるまで満足しないようにしてください。これを行う最も単純な方法は、画面の大きさに基づいてコンテンツを移動させるすべてのコードを、ページが読み込まれたときと、その後の <a href="/ja/docs/Web/API/Window/resize_event">resize</a> イベントのたびに呼び出される単一の関数に分離することです。もし、このレイアウト関数がページの新しいレイアウトを決定する前に多くの計算がある場合は、イベントリスナーが呼び出されないようにイベントリスナーをデバウンスすることを検討してください。また、メディアクエリの <code>(max-width: 25em)</code>, <code>not all and (min-width: 25em)</code>, <code>(max-width: 24.99em)</code> の間には大きな違いがあることにも注意してください。 <code>(max-width: 25em)</code> は <code>(max-width: 25em)</code> を除外し、 <code>not all and (min-width: 25em)</code> は <code>(max-width: 25em)</code> を含みます。 <code>(max-width: 24.99em)</code> は、 <code>not all and (min-width: 25em)</code> の哀れな人のバージョンです。 <code>(max-width: 24.99em)</code> を使用しないでください。適切なメディアクエリを選択し、対応する JavaScript の中で適切な >=, <=, >, < を選択すると、これらが混ざってしまいやすく、結果として、レイアウトが変更された画面サイズでウェブサイトを見てしまうことになるからです。そのため、レイアウト変更が適切に行われているかどうかを確認するために、レイアウト変更が行われている正確な幅/高さでウェブサイトを徹底的にテストしてください。</dd> </dl> -<h2 id="Making_the_best_of_user_agent_sniffing" name="Making_the_best_of_user_agent_sniffing">最適なユーザーエージェントの判定</h2> +<h2 id="Making_the_best_of_user_agent_sniffing">最適なユーザーエージェントの判定</h2> <p>ユーザーエージェントの判定のよりよい代替案をすべて検討したうえで、ユーザーエージェントの判定が適切で正当化される可能性のある場合がまだいくつかあります。</p> -<p>そのような場合のひとつに、端末にタッチパネルがあるかどうかを検出する際に、ユーザーエージェントの判定をフォールバックとして使用するというものがあります。詳細は <a href="#Mobile_Device_Detection">モバイル端末の検出</a>の節を参照してください。</p> +<p>そのような場合のひとつに、端末にタッチパネルがあるかどうかを検出する際に、ユーザーエージェントの判定をフォールバックとして使用するというものがあります。詳細は <a href="#mobile_device_detection">モバイル端末の検出</a>の節を参照してください。</p> <p>もう一つの例として、自動更新されないブラウザーのバグを修正する場合があります。 Internet Explorer (Windows) と Webkit (iOS) がその好例です。バージョン 9 以前のInternet Explorer は、レンダリングのバグ、 CSS のバグ、 API のバグなど、信じられないほどの問題を抱えていました。しかし、バージョン 9 以前の Internet Explorer は特別な小さな <s>wasp</s> 例外だったため、利用可能なブラウザー固有の機能に基づいてブラウザーを検出するのは非常に簡単でした。 Webkit は、 Apple が iOS 上のすべてのブラウザーに内部的に Webkit を使用するように強制しているため、ユーザーは古い端末上でより良い、より更新されたブラウザーを取得する方法がありません。ほとんどのバグは検出できますが、バグによっては他よりも検出に手間がかかる場合があります。そのような場合は、ユーザーエージェント検出を使用してパフォーマンスを節約するのが有効です。たとえば、 Webkit 6 にはデバイスの向きが変わると、ブラウザーが {{domxref("MediaQueryList")}} リスナーを実行しない場合があるというバグがあります。このバグを回避するには、以下のコードを参照してください。</p> -<pre class="brush: js notranslate">var UA=navigator.userAgent, isWebkit=/\b(iPad|iPhone|iPod)\b/.test(UA) && +<pre class="brush: js">var UA=navigator.userAgent, isWebkit=/\b(iPad|iPhone|iPod)\b/.test(UA) && /WebKit/.test(UA) && !/Edge/.test(UA) && !window.MSStream; var mediaQueryUpdated = true, mqL = []; @@ -169,143 +166,143 @@ addEventListener("resize", setTimeout.bind(0,function(){ <p>ユーザーエージェント文字列のそれぞれの部分には統一性がないので、これは難しい部分です。</p> -<h3 id="Browser_Name" name="Browser_Name">ブラウザー名</h3> +<h3 id="Browser_Name">ブラウザー名</h3> -<p>開発者が「ブラウザーを判定したい」という場合、実際は「レンダリングエンジンを判定したい」場合であることがしばしばあります。実際に SeaMonkey と Firefox を、または Chromium と Chrome を区別したいのでしょうか。それとも、実際にはブラウザーがレンダリングエンジンに Gecko を使用しているか、 WebKit を使用しているかを確認したいだけでしょうか。これが必要なのであれば、ページのもっと下を見てください。</p> +<p>開発者が「ブラウザーを判定したい」という場合、実際は「レンダリングエンジンを判定したい」場合であることがしばしばあります。実際に SeaMonkey と Firefox を、または Chromium と Chrome を区別したいのでしょうか。それとも、実際にはブラウザーがレンダリングエンジンに Gecko を使用しているか、 WebKit を使用しているかを確認したいのしょうか。これが必要なのであれば、ページのもっと下を見てください。</p> <p>ほとんどのブラウザーは、 Internet Explorer の例外を除いて、名前とバージョンを <em>BrowserName/VersionNumber</em> の形式で設定します。しかし、ユーザーエージェント文字列はこのような形式の名前だけから成っている訳ではないので、ブラウザーの名前が分かるわけではなく、探している名前があるかどうかを確認することしかできません。しかし、ブラウザーによってはうそをつくこともあります。例えば Chrome は、 Chrome と Safari の両方の文字列を含みます。ですから Safari を判定するには、 Safari の文字列があって Chrome の文字列がないことを確認する必要がありますし、 Chromium は自分自身を Chrome と報告することがよくあり、 Seamonkey は自分自身を Firefox として報告することが時々あります。</p> <p>また、 BrowserName に単純な正規表現を使用しないように注意してください。ユーザーエージェント文字列には、 Keyword/Value 構文以外の文字列も含まれています。例えば、 Safari や Chrome では、 'like Gecko' のような文字列が含まれています。</p> <table class="standard-table"> - <thead> - <tr> - <th scope="col"></th> - <th scope="col">必ず含む</th> - <th scope="col">決して含まない</th> - <th scope="col"></th> - </tr> - </thead> - <tbody> - <tr> - <td>Firefox</td> - <td>Firefox/xyz</td> - <td>Seamonkey/xyz</td> - <td></td> - </tr> - <tr> - <td>Seamonkey</td> - <td>Seamonkey/xyz</td> - <td></td> - <td></td> - </tr> - <tr> - <td>Chrome</td> - <td>Chrome/xyz</td> - <td>Chromium/xyz</td> - <td></td> - </tr> - <tr> - <td>Chromium</td> - <td>Chromium/xyz</td> - <td></td> - <td></td> - </tr> - <tr> - <td>Safari</td> - <td>Safari/xyz</td> - <td>Chrome/xyz または Chromium/xyz</td> - <td>Safari はバージョン番号を2つ提供しており、一方は技術的な Safari/xyz のトークン、もう一方はユーザーに分かりやすい Version/xyz のトークンです</td> - </tr> - <tr> - <td>Opera</td> - <td> - <p>OPR/xyz <sup>[1]</sup></p> - - <p>Opera/xyz</p> - </td> - <td></td> - <td> - <p><sup>[1]</sup> Opera 15+ (Blink-based engine)</p> - - <p><sup>[2]</sup> Opera 12- (Presto-based engine)</p> - </td> - </tr> - <tr> - <td>Internet Explorer</td> - <td> - <p>; MSIE xyz; <sup>[1]</sup></p> - - <p>Trident/7.0; .*rv:xyz <sup>[2]</sup></p> - </td> - <td></td> - <td> - <p><sup>[1]</sup> Internet Explorer 10-</p> - - <p><sup>[2]</sup> Internet Explorer 11</p> - </td> - </tr> - </tbody> + <thead> + <tr> + <th scope="col"></th> + <th scope="col">必ず含む</th> + <th scope="col">決して含まない</th> + <th scope="col"></th> + </tr> + </thead> + <tbody> + <tr> + <td>Firefox</td> + <td>Firefox/xyz</td> + <td>Seamonkey/xyz</td> + <td></td> + </tr> + <tr> + <td>Seamonkey</td> + <td>Seamonkey/xyz</td> + <td></td> + <td></td> + </tr> + <tr> + <td>Chrome</td> + <td>Chrome/xyz</td> + <td>Chromium/xyz</td> + <td></td> + </tr> + <tr> + <td>Chromium</td> + <td>Chromium/xyz</td> + <td></td> + <td></td> + </tr> + <tr> + <td>Safari</td> + <td>Safari/xyz</td> + <td>Chrome/xyz または Chromium/xyz</td> + <td>Safari はバージョン番号を2つ提供しており、一方は技術的な Safari/xyz のトークン、もう一方はユーザーに分かりやすい Version/xyz のトークンです</td> + </tr> + <tr> + <td>Opera</td> + <td> + <p>OPR/xyz <sup>[1]</sup></p> + + <p>Opera/xyz</p> + </td> + <td></td> + <td> + <p><sup>[1]</sup> Opera 15+ (Blink ベースのエンジン)</p> + + <p><sup>[2]</sup> Opera 12- (Presto ベースのエンジン)</p> + </td> + </tr> + <tr> + <td>Internet Explorer</td> + <td> + <p>; MSIE xyz; <sup>[1]</sup></p> + + <p>Trident/7.0; .*rv:xyz <sup>[2]</sup></p> + </td> + <td></td> + <td> + <p><sup>[1]</sup> Internet Explorer 10-</p> + + <p><sup>[2]</sup> Internet Explorer 11</p> + </td> + </tr> + </tbody> </table> <p>もちろん、他のブラウザーがこれらの一部をハイジャックしないという絶対的な保証はありません (過去に Chrome が Safari の文字列をハイジャックしたように)。そのため、ユーザーエージェント文字列を使用したブラウザーの判定は信頼性が低いので、バージョン番号をチェックするのみにしてください (過去のバージョンをハイジャックすることはあまりありません)。</p> -<h3 id="Browser_version" name="Browser_version">ブラウザーのバージョン</h3> +<h3 id="Browser_version">ブラウザーのバージョン</h3> <p>ブラウザーのバージョンは、例外はあるものの、多くがユーザーエージェント文字列の <em>BrowserName/VersionNumber</em> トークンの値の部分に入れられます。もちろんこれは Internet Explorer の場合は当てはまらず (MSIE トークンの直後にバージョン番号を入れる)、 Opera のバージョン10以降では、 Version/<em>VersionNumber</em> トークンが追加されています。</p> <p>ここで再度、探しているブラウザーの正しいトークンを取得していることを確認してください。他には妥当な番号が含まれているという保証はありません。</p> -<h3 id="Rendering_engine" name="Rendering_engine">レンダリングエンジン</h3> +<h3 id="Rendering_engine">レンダリングエンジン</h3> <p>前述のように、多くの場合はレンダリングエンジンを探した方が良い方法になります。これは、あまり知られていないブラウザーを除外しないためにも役立つでしょう。共通のレンダリングエンジンを持つブラウザーはページを同じ方法で表示します。一方で動作するものはもう一方でも動作するということを想定することができます。</p> -<p>主なレンダリングエンジンには、 Trident, Gecko, Presto, Blink, WebKit の5つがあります。レンダリングエンジンの名前を探すのが一般的であるため、たくさんのレンダリングエンジンが他の連らリングエンジンの名前も追加して検出されるようにしています。したがって、レンダリングエンジンを判定する際には誤判定をしないように注意を払うことが重要です。</p> +<p>主なレンダリングエンジンには、 Trident, Gecko, Presto, Blink, WebKit の5つがあります。レンダリングエンジンの名前を探すのが一般的であるため、たくさんのレンダリングエンジンが他のレンダリングエンジンの名前も追加して検出されるようにしています。したがって、レンダリングエンジンを判定する際には誤判定をしないように注意を払うことが重要です。</p> <table class="standard-table"> - <thead> - <tr> - <th scope="col"></th> - <th scope="col">必ず含む</th> - <th scope="col"></th> - </tr> - </thead> - <tbody> - <tr> - <td>Gecko</td> - <td>Gecko/xyz</td> - <td></td> - </tr> - <tr> - <td>WebKit</td> - <td>AppleWebKit/xyz</td> - <td>注意: WebKit ブラウザーは 'like Gecko' の文字列を追加するので、判定時に注意しないと Gecko と誤認することがあります。</td> - </tr> - <tr> - <td>Presto</td> - <td>Opera/xyz</td> - <td><strong>Note:</strong> Presto is no longer used in Opera browser builds >= version 15 (see 'Blink')</td> - </tr> - <tr> - <td>Trident</td> - <td>Trident/xyz</td> - <td>Internet Explorer put this token in the <em>comment</em> part of the User Agent String</td> - </tr> - <tr> - <td>EdgeHTML</td> - <td>Edge/xyz</td> - <td>The non-Chromium Edge puts its engine version after the <em>Edge/</em> token, not the application version.<br> - <strong>Note:</strong> EdgeHTML is no longer used in Edge browser builds >= version 79 (see 'Blink').</td> - </tr> - <tr> - <td>Blink</td> - <td>Chrome/xyz</td> - <td></td> - </tr> - </tbody> + <thead> + <tr> + <th scope="col"></th> + <th scope="col">必ず含む</th> + <th scope="col"></th> + </tr> + </thead> + <tbody> + <tr> + <td>Gecko</td> + <td>Gecko/xyz</td> + <td></td> + </tr> + <tr> + <td>WebKit</td> + <td>AppleWebKit/xyz</td> + <td>注意: WebKit ブラウザーは 'like Gecko' の文字列を追加するので、判定時に注意しないと Gecko と誤認することがあります。</td> + </tr> + <tr> + <td>Presto</td> + <td>Opera/xyz</td> + <td><strong>注:</strong> Presto は Opera ブラウザーのバージョン 15 以降では使用されない ('Blink' を参照)</td> + </tr> + <tr> + <td>Trident</td> + <td>Trident/xyz</td> + <td>Internet Explorer はこのトークンをユーザーエージェント文字列の<em>コメント</em>部分に入れる</td> + </tr> + <tr> + <td>EdgeHTML</td> + <td>Edge/xyz</td> + <td>Chromium ではない Edge は、 <em>Edge/</em> のトークンの後にアプリケーションのバージョンではなく、エンジンのバージョンを入れる。<br> + <strong>注:</strong> EdgeHTML は Edge ブラウザーのバージョン 79 以降では使用されない ('Blink' を参照)。</td> + </tr> + <tr> + <td>Blink</td> + <td>Chrome/xyz</td> + <td></td> + </tr> + </tbody> </table> -<h2 id="Rendering_engine_version" name="Rendering_engine_version">レンダリングエンジンのバージョン</h2> +<h2 id="Rendering_engine_version">レンダリングエンジンのバージョン</h2> <p>ほとんどのレンダリングエンジンは、 Gecko を除いて <em>RenderingEngine/VersionNumber</em> のトークンにバージョン番号を入れています。 Gecko はユーザーエージェント文字列のコメント部分の中で、 <code>rv:</code> 文字列の後にバージョン番号を入れます。モバイル版の Gecko 14 とデスクトップ版の Gecko 17 から、この値を <code>Gecko/version</code> のトークン (以前のバージョンではビルド日付、その後は GeckoTrail と呼ばれる固定日付) に置きます。</p> @@ -315,62 +312,62 @@ addEventListener("resize", setTimeout.bind(0,function(){ <p>すべての場合と同様に、これらの文字列は将来変更される可能性があり、既にリリースされているブラウザーの判定と組み合わせて使用する必要があります。新しいバージョンのブラウザーが出現したときは、スクリプトを適合させるための技術調査が必要です。</p> -<h3 id="Mobile_Tablet_or_Desktop" name="Mobile_Tablet_or_Desktop">モバイルか、タブレットか、デスクトップか</h3> +<h3 id="Mobile_Tablet_or_Desktop">モバイルか、タブレットか、デスクトップか</h3> <p>ユーザーエージェントの判別を行う最も一般的な理由は、ブラウザーが実行されている端末の種類を判別することです。目的は、それぞれの種類の端末に別々な HTML を提供することです。</p> <ul> - <li>ブラウザーやレンダリングエンジンは、1種類の端末でしか動作しないと想定しないでください。ブラウザーやレンダリングエンジンごとに、異なる既定値を設定しないでください。</li> - <li>ブラウザーがモバイル、タブレット、デスクトップのいずれであるかを定義するために、 OS トークンを使用しないでください。 OS は複数の種類の端末 (Android はタブレットや携帯電話など) で動作します。</li> + <li>ブラウザーやレンダリングエンジンは、1種類の端末でしか動作しないと想定しないでください。ブラウザーやレンダリングエンジンごとに、異なる既定値を設定しないでください。</li> + <li>ブラウザーがモバイル、タブレット、デスクトップのいずれであるかを定義するために、 OS トークンを使用しないでください。 OS は複数の種類の端末 (Android はタブレットや携帯電話など) で動作します。</li> </ul> <p>次の表は主要なブラウザーのベンダーが、ブラウザーがモバイル端末上で動作していることを示す方法をまとめたものです。</p> <table> - <caption>各ブラウザーのユーザーエージェント文字列</caption> - <thead> - <tr> - <th scope="col">ブラウザー</th> - <th scope="col">ルール</th> - <th scope="col">例</th> - </tr> - </thead> - <tbody> - <tr> - <td>Mozilla (Gecko, Firefox)</td> - <td><a href="/ja/docs/Gecko_user_agent_string_reference"><strong>Mobile</strong> または <strong>Tablet</strong> のトークン</a>がコメントの中にある。</td> - <td>Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0</td> - </tr> - <tr> - <td>WebKit ベースのもの (Android, Safari)</td> - <td><a href="https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/OptimizingforSafarioniPhone/OptimizingforSafarioniPhone.html#//apple_ref/doc/uid/TP40006517-SW3"><strong>Mobile Safari</strong> のトークン</a>がコメントの外にある。</td> - <td>Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30</td> - </tr> - <tr> - <td>Blink ベースのもの (Chromium, Google Chrome, Opera 15 以降)</td> - <td><a href="https://developers.google.com/chrome/mobile/docs/user-agent"><strong>Mobile Safari</strong> のトークン</a>がコメントの外にある。</td> - <td>Mozilla/5.0 (Linux; Android 4.4.2); Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Mobile Safari/537.36 OPR/20.0.1396.72047</td> - </tr> - <tr> - <td>Presto ベースのもの (Opera 12 まで)</td> - <td> - <p><a href="http://my.opera.com/community/openweb/idopera/"><strong>Opera Mobi/xyz</strong> のトークン</a>がコメントの中にある。 (Opera 12 まで)</p> - </td> - <td> - <p>Opera/9.80 (Android 2.3.3; Linux; Opera Mobi/ADR-1111101157; U; es-ES) Presto/2.9.201 Version/11.50</p> - </td> - </tr> - <tr> - <td>Internet Explorer</td> - <td><strong>IEMobile/xyz</strong> のトークンがコメントの中にある。</td> - <td>Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0)</td> - </tr> - <tr> - <td>Edge on Windows 10 Mobile</td> - <td><strong>Mobile/xyz</strong> & <strong>Edge/</strong> tokens outside the comment.</td> - <td>Mozilla/5.0 (Windows Phone 10.0; Android 6.0.1; Xbox; Xbox One) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Mobile Safari/537.36 Edge/16.16299</td> - </tr> - </tbody> + <caption>各ブラウザーのユーザーエージェント文字列</caption> + <thead> + <tr> + <th scope="col">ブラウザー</th> + <th scope="col">ルール</th> + <th scope="col">例</th> + </tr> + </thead> + <tbody> + <tr> + <td>Mozilla (Gecko, Firefox)</td> + <td><a href="/ja/docs/Gecko_user_agent_string_reference"><strong>Mobile</strong> または <strong>Tablet</strong> のトークン</a>がコメントの中にある。</td> + <td>Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0</td> + </tr> + <tr> + <td>WebKit ベースのもの (Android, Safari)</td> + <td><a href="https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/OptimizingforSafarioniPhone/OptimizingforSafarioniPhone.html#//apple_ref/doc/uid/TP40006517-SW3"><strong>Mobile Safari</strong> のトークン</a>がコメントの外にある。</td> + <td>Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30</td> + </tr> + <tr> + <td>Blink ベースのもの (Chromium, Google Chrome, Opera 15 以降)</td> + <td><a href="https://developers.google.com/chrome/mobile/docs/user-agent"><strong>Mobile Safari</strong> のトークン</a>がコメントの外にある。</td> + <td>Mozilla/5.0 (Linux; Android 4.4.2); Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Mobile Safari/537.36 OPR/20.0.1396.72047</td> + </tr> + <tr> + <td>Presto ベースのもの (Opera 12 まで)</td> + <td> + <p><a href="http://my.opera.com/community/openweb/idopera/"><strong>Opera Mobi/xyz</strong> のトークン</a>がコメントの中にある。 (Opera 12 まで)</p> + </td> + <td> + <p>Opera/9.80 (Android 2.3.3; Linux; Opera Mobi/ADR-1111101157; U; es-ES) Presto/2.9.201 Version/11.50</p> + </td> + </tr> + <tr> + <td>Internet Explorer</td> + <td><strong>IEMobile/xyz</strong> のトークンがコメントの中にある。</td> + <td>Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0)</td> + </tr> + <tr> + <td>Edge on Windows 10 Mobile</td> + <td><strong>Mobile/xyz</strong> & <strong>Edge/</strong> tokens outside the comment.</td> + <td>Mozilla/5.0 (Windows Phone 10.0; Android 6.0.1; Xbox; Xbox One) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Mobile Safari/537.36 Edge/16.16299</td> + </tr> + </tbody> </table> <p>要するに、モバイル端末を検出するには、ユーザーエージェント文字列のどこかに文字列 “Mobi” があるかどうかを探すことをお勧めします。</p> diff --git a/files/ja/web/http/headers/host/index.html b/files/ja/web/http/headers/host/index.html index e26c8e5c7d..3775f38d25 100644 --- a/files/ja/web/http/headers/host/index.html +++ b/files/ja/web/http/headers/host/index.html @@ -45,7 +45,7 @@ translation_of: Web/HTTP/Headers/Host <h2 id="Examples" name="Examples">例</h2> -<pre class="notranslate">Host: developer.cdn.mozilla.net</pre> +<pre class="notranslate">Host: developer.mozilla.org</pre> <h2 id="Specifications" name="Specifications">仕様書</h2> |