From 96f39ebd20f99279e0c6766cb4eadb64e84d6bf8 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sun, 6 Feb 2022 18:25:00 +0900 Subject: CSS Generated Content の記事とプロパティを移行 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/css_generated_content/index.html | 62 ---------- files/ja/web/css/css_generated_content/index.md | 62 ++++++++++ files/ja/web/css/quotes/index.html | 139 ---------------------- files/ja/web/css/quotes/index.md | 139 ++++++++++++++++++++++ 4 files changed, 201 insertions(+), 201 deletions(-) delete mode 100644 files/ja/web/css/css_generated_content/index.html create mode 100644 files/ja/web/css/css_generated_content/index.md delete mode 100644 files/ja/web/css/quotes/index.html create mode 100644 files/ja/web/css/quotes/index.md (limited to 'files/ja') diff --git a/files/ja/web/css/css_generated_content/index.html b/files/ja/web/css/css_generated_content/index.html deleted file mode 100644 index a3b5e37910..0000000000 --- a/files/ja/web/css/css_generated_content/index.html +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: CSS 生成コンテンツ -slug: Web/CSS/CSS_Generated_Content -tags: - - CSS - - CSS Generated Content - - Guide - - Overview - - Reference -translation_of: Web/CSS/CSS_Generated_Content ---- -

{{CSSRef}}

- -

CSS 生成コンテンツ (CSS Generated Content) は CSS のモジュールの一つで、要素にコンテンツを追加する方法を定義します。生成されたコンテンツは、無名で置換された要素にコンテンツを追加したり、非常に限られた状況で DOM ノードのコンテンツを生成された値で置き換えたりするために使用することができます。

- -

詳しくは生成コンテンツのハウツーガイドや、実装情報については {{cssxref("content")}} および {{cssxref("quotes")}} プロパティをご覧ください。

- -

リファレンス

- -

プロパティ

- -
- -
- -

仕様書

- - - - - - - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName("CSS3 Content")}}{{Spec2("CSS3 Content")}}
{{SpecName('CSS2.1')}}{{Spec2('CSS2.1')}}初回定義
- -

関連情報

- - diff --git a/files/ja/web/css/css_generated_content/index.md b/files/ja/web/css/css_generated_content/index.md new file mode 100644 index 0000000000..a3b5e37910 --- /dev/null +++ b/files/ja/web/css/css_generated_content/index.md @@ -0,0 +1,62 @@ +--- +title: CSS 生成コンテンツ +slug: Web/CSS/CSS_Generated_Content +tags: + - CSS + - CSS Generated Content + - Guide + - Overview + - Reference +translation_of: Web/CSS/CSS_Generated_Content +--- +

{{CSSRef}}

+ +

CSS 生成コンテンツ (CSS Generated Content) は CSS のモジュールの一つで、要素にコンテンツを追加する方法を定義します。生成されたコンテンツは、無名で置換された要素にコンテンツを追加したり、非常に限られた状況で DOM ノードのコンテンツを生成された値で置き換えたりするために使用することができます。

+ +

詳しくは生成コンテンツのハウツーガイドや、実装情報については {{cssxref("content")}} および {{cssxref("quotes")}} プロパティをご覧ください。

+ +

リファレンス

+ +

プロパティ

+ +
+ +
+ +

仕様書

+ + + + + + + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("CSS3 Content")}}{{Spec2("CSS3 Content")}}
{{SpecName('CSS2.1')}}{{Spec2('CSS2.1')}}初回定義
+ +

関連情報

+ + diff --git a/files/ja/web/css/quotes/index.html b/files/ja/web/css/quotes/index.html deleted file mode 100644 index 4138ffcf98..0000000000 --- a/files/ja/web/css/quotes/index.html +++ /dev/null @@ -1,139 +0,0 @@ ---- -title: quotes -slug: Web/CSS/quotes -tags: - - CSS - - CSS プロパティ - - CSS 生成コンテンツ - - Reference - - ウェブ - - レイアウト - - 生成コンテンツ -translation_of: Web/CSS/quotes ---- -
{{CSSRef}}
- -

quotesCSS のプロパティで、引用符がどのように表示されるかを設定します。

- -
{{EmbedInteractiveExample("pages/css/quotes.html")}}
- - - -

構文

- -
/* キーワード値 */
-quotes: none;
-quotes: auto;
-
-/* <string> 値 */
-quotes: "«" "»";           /* open-quote および close-quote をフランス語の引用符に設定 */
-quotes: "«" "»" "‹" "›";   /* 2レベルの引用符を設定 */
-
-/* グローバル値 */
-quotes: inherit;
-quotes: initial;
-quotes: unset;
-
- -

- -
-
none
-
{{cssxref("content")}} プロパティの open-quote および close-quote の値が引用符を生成しません。
-
auto
-
選択された用途に設定された言語の値 (すなわち、 {{htmlattrxref("lang")}} 属性) で使用される適切な引用符が使用されます。
-
[<string> <string>]+
-
open-quote および close-quote を表す {{cssxref("<string>")}} の1つ以上の組。最初の組は、引用符を表示する要素が入れ子になった際の、最上層のものの引用符を表す。以下、順次下位レベルの引用符に対応する。
-
- -

形式文法

- -{{csssyntax}} - -

- -

基本的な引用符

- -
<q>To be or not to be. That's the question!</q>
-
- -
q {
-  quotes: '"' '"' "'" "'";
-}
-q::before {
-  content: open-quote;
-}
-q::after {
-  content: close-quote;
-}
- -

{{EmbedLiveSample('Basic_quote_marks', "100%", 60)}}

- -

自動引用符

- -
<div lang="fr">
-  <q>Ceci est une citation française.</q>
-<div>
-<hr>
-<div lang="ru">
-  <q>Это русская цитата</q>
-<div>
-<hr>
-<div lang="ja">
-  <q>これは日本語の引用符です。</q>
-<div>
-<hr>
-<div lang="en">
-  <q>This is an English quote.</q>
-<div>
-
- -
/*q {
-  quotes: auto;
-}*/
-
- -

{{EmbedLiveSample('Auto_quotes', "100%", 200)}}

- -

メモ

- - - -

仕様書

- - - - - - - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName("CSS3 Content", "#quotes", "quotes")}}{{Spec2("CSS3 Content")}}
{{ SpecName('CSS2.1', 'generate.html#quotes', 'quotes') }}{{ Spec2('CSS2.1') }}初回定義
- -

{{cssinfo}}

- -

ブラウザーの互換性

- -

{{Compat("css.properties.quotes")}}

- -

関連情報

- - diff --git a/files/ja/web/css/quotes/index.md b/files/ja/web/css/quotes/index.md new file mode 100644 index 0000000000..4138ffcf98 --- /dev/null +++ b/files/ja/web/css/quotes/index.md @@ -0,0 +1,139 @@ +--- +title: quotes +slug: Web/CSS/quotes +tags: + - CSS + - CSS プロパティ + - CSS 生成コンテンツ + - Reference + - ウェブ + - レイアウト + - 生成コンテンツ +translation_of: Web/CSS/quotes +--- +
{{CSSRef}}
+ +

quotesCSS のプロパティで、引用符がどのように表示されるかを設定します。

+ +
{{EmbedInteractiveExample("pages/css/quotes.html")}}
+ + + +

構文

+ +
/* キーワード値 */
+quotes: none;
+quotes: auto;
+
+/* <string> 値 */
+quotes: "«" "»";           /* open-quote および close-quote をフランス語の引用符に設定 */
+quotes: "«" "»" "‹" "›";   /* 2レベルの引用符を設定 */
+
+/* グローバル値 */
+quotes: inherit;
+quotes: initial;
+quotes: unset;
+
+ +

+ +
+
none
+
{{cssxref("content")}} プロパティの open-quote および close-quote の値が引用符を生成しません。
+
auto
+
選択された用途に設定された言語の値 (すなわち、 {{htmlattrxref("lang")}} 属性) で使用される適切な引用符が使用されます。
+
[<string> <string>]+
+
open-quote および close-quote を表す {{cssxref("<string>")}} の1つ以上の組。最初の組は、引用符を表示する要素が入れ子になった際の、最上層のものの引用符を表す。以下、順次下位レベルの引用符に対応する。
+
+ +

形式文法

+ +{{csssyntax}} + +

+ +

基本的な引用符

+ +
<q>To be or not to be. That's the question!</q>
+
+ +
q {
+  quotes: '"' '"' "'" "'";
+}
+q::before {
+  content: open-quote;
+}
+q::after {
+  content: close-quote;
+}
+ +

{{EmbedLiveSample('Basic_quote_marks', "100%", 60)}}

+ +

自動引用符

+ +
<div lang="fr">
+  <q>Ceci est une citation française.</q>
+<div>
+<hr>
+<div lang="ru">
+  <q>Это русская цитата</q>
+<div>
+<hr>
+<div lang="ja">
+  <q>これは日本語の引用符です。</q>
+<div>
+<hr>
+<div lang="en">
+  <q>This is an English quote.</q>
+<div>
+
+ +
/*q {
+  quotes: auto;
+}*/
+
+ +

{{EmbedLiveSample('Auto_quotes', "100%", 200)}}

+ +

メモ

+ + + +

仕様書

+ + + + + + + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("CSS3 Content", "#quotes", "quotes")}}{{Spec2("CSS3 Content")}}
{{ SpecName('CSS2.1', 'generate.html#quotes', 'quotes') }}{{ Spec2('CSS2.1') }}初回定義
+ +

{{cssinfo}}

+ +

ブラウザーの互換性

+ +

{{Compat("css.properties.quotes")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf