aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/@media/prefers-contrast/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/css/@media/prefers-contrast/index.html')
-rw-r--r--files/ja/web/css/@media/prefers-contrast/index.html88
1 files changed, 0 insertions, 88 deletions
diff --git a/files/ja/web/css/@media/prefers-contrast/index.html b/files/ja/web/css/@media/prefers-contrast/index.html
deleted file mode 100644
index 6360347281..0000000000
--- a/files/ja/web/css/@media/prefers-contrast/index.html
+++ /dev/null
@@ -1,88 +0,0 @@
----
-title: prefers-contrast
-slug: Web/CSS/@media/prefers-contrast
-tags:
- - CSS
- - Reference
- - media feature
- - メディア特性
-translation_of: Web/CSS/@media/prefers-contrast
----
-<div>{{CSSRef}}{{SeeCompatTable}}</div>
-
-<p><strong><code>prefers-contrast</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> の<a href="/ja/docs/Web/CSS/Media_Queries/Using_media_queries#Media_features">メディア特性</a>で、ユーザーがウェブコンテンツをより高い (またはより低い) コントラストで表示するように要求したかどうかを検出するために使用します。</p>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-<dl>
- <dt><code><dfn>no-preference</dfn></code></dt>
- <dd>ユーザーが設定をシステムに通知していないことを示します。このキーワード値は、boolean のコンテキストでは false と評価されます。</dd>
- <dt><code>more</code></dt>
- <dd>ユーザーが、より高いコントラストをもつインターフェイスを好むことをシステムに通知したことを示します。</dd>
- <dt><code><dfn>less</dfn></code></dt>
- <dd>ユーザーが、より低いコントラストを持つインタフェース好むことをシステムに通知したことを示します。</dd>
-</dl>
-
-<h2 id="User_preferences" name="User_preferences">ユーザー設定</h2>
-
-<p>様々なオペレーティングシステムがこのような設定をサポートしており、ユーザエージェントはオペレーティングシステムによって提供される設定に依存することになるでしょう。</p>
-
-<h2 id="Examples" name="Examples">例</h2>
-
-<p>この例では、既定でいまいましい低いコントラストが与えられています。</p>
-
-<h3 id="HTML">HTML</h3>
-
-<pre class="brush: html notranslate">&lt;div class="contrast"&gt;low contrast box&lt;/div&gt;
-</pre>
-
-<h3 id="CSS">CSS</h3>
-
-<pre class="brush: css notranslate">.contrast {
- width: 100px;
- height: 100px;
- outline: 2px dashed black;
-}
-
-@media (prefers-contrast: more) {
- .contrast {
- outline: 2px solid black;
- }
-}
-</pre>
-
-<h3 id="Result" name="Result">結果</h3>
-
-<p>{{EmbedLiveSample("Examples")}}</p>
-
-<h2 id="Specifications" name="Specifications">仕様書</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">状態</th>
- <th scope="col">備考</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('CSS5 Media Queries', '#descdef-media-prefers-contrast', 'prefers-contrast')}}</td>
- <td>{{Spec2('CSS5 Media Queries')}}</td>
- <td>初回定義</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
-
-<p>{{Compat("css.at-rules.media.prefers-contrast")}}</p>
-
-<h2 id="See_also" name="See_also">関連情報</h2>
-
-<ul>
- <li>Microsoft <a href="https://msdn.microsoft.com/library/Hh771830">-ms-high-contrast</a> media feature</li>
- <li>CSS <a href="/en-US/docs/Web/CSS/@media/forced-colors">forced-colors</a> media query
-</ul>
-
-<p>{{QuickLinksWithSubpages("/en-US/docs/Web/CSS/@media/")}}</p>