diff options
Diffstat (limited to 'files/zh-tw')
28 files changed, 33 insertions, 39 deletions
diff --git a/files/zh-tw/conflicting/web/css/@viewport/index.html b/files/zh-tw/conflicting/web/css/@viewport/index.html index 02dd2cafa4..0780c9e252 100644 --- a/files/zh-tw/conflicting/web/css/@viewport/index.html +++ b/files/zh-tw/conflicting/web/css/@viewport/index.html @@ -37,8 +37,7 @@ height: 320px 200px; <h3 id="正式語法">正式語法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="舉例">舉例</h2> diff --git a/files/zh-tw/learn/html/introduction_to_html/the_head_metadata_in_html/index.html b/files/zh-tw/learn/html/introduction_to_html/the_head_metadata_in_html/index.html index db41ab4ec4..d10c631c4c 100644 --- a/files/zh-tw/learn/html/introduction_to_html/the_head_metadata_in_html/index.html +++ b/files/zh-tw/learn/html/introduction_to_html/the_head_metadata_in_html/index.html @@ -152,7 +152,7 @@ Web sites and HTML5 Apps. It also documents Mozilla products, like Firefox OS."& <p>For example, <a href="http://ogp.me/">Open Graph Data</a> is a metadata protocol that Facebook invented to provide richer metadata for websites. In the MDN sourcecode, you'll find this:</p> -<pre class="brush: html"><meta property="og:image" content="https://developer.cdn.mozilla.net/static/img/opengraph-logo.dc4e08e2f6af.png"> +<pre class="brush: html"><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."> @@ -186,15 +186,15 @@ and HTML5 Apps. It also documents Mozilla products, like Firefox OS."> <p>There are lots of other icon types to consider these days as well. For example, you'll find this in the source code of the MDN homepage:</p> <pre class="brush: html"><!-- 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>The comments explain what each icon is used for — these elements cover things like providing a nice high resolution icon to use when the website is saved to an iPad's home screen.</p> diff --git a/files/zh-tw/web/css/@media/index.html b/files/zh-tw/web/css/@media/index.html index 11f39d07b6..08ca289860 100644 --- a/files/zh-tw/web/css/@media/index.html +++ b/files/zh-tw/web/css/@media/index.html @@ -19,7 +19,7 @@ translation_of: Web/CSS/@media <h2 id="Syntax" name="Syntax">語法</h2> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <p>A <code><media-query></code> is composed of a optional media type and/or a number of media features.</p> diff --git a/files/zh-tw/web/css/@viewport/index.html b/files/zh-tw/web/css/@viewport/index.html index f03aaee77b..7e55775592 100644 --- a/files/zh-tw/web/css/@viewport/index.html +++ b/files/zh-tw/web/css/@viewport/index.html @@ -53,7 +53,7 @@ translation_of: Web/CSS/@viewport <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples">Examples</h2> diff --git a/files/zh-tw/web/css/_colon_first-child/index.html b/files/zh-tw/web/css/_colon_first-child/index.html index 195449ca3d..65abddd20b 100644 --- a/files/zh-tw/web/css/_colon_first-child/index.html +++ b/files/zh-tw/web/css/_colon_first-child/index.html @@ -15,8 +15,7 @@ translation_of: 'Web/CSS/:first-child' <h2 id="語法">語法</h2> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/_colon_first-of-type/index.html b/files/zh-tw/web/css/_colon_first-of-type/index.html index 93a524c4b7..fc44997bcc 100644 --- a/files/zh-tw/web/css/_colon_first-of-type/index.html +++ b/files/zh-tw/web/css/_colon_first-of-type/index.html @@ -24,8 +24,7 @@ p:first-of-type { <h2 id="語法">語法</h2> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/_colon_lang/index.html b/files/zh-tw/web/css/_colon_lang/index.html index f79d142f09..53655fed8e 100644 --- a/files/zh-tw/web/css/_colon_lang/index.html +++ b/files/zh-tw/web/css/_colon_lang/index.html @@ -20,7 +20,7 @@ p:lang(en) { <h3 id="語法格式_Formal_syntax">語法格式 Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h3 id="參數_Parameter">參數 Parameter</h3> diff --git a/files/zh-tw/web/css/attr()/index.html b/files/zh-tw/web/css/attr()/index.html index 7cce14ec01..92fac9c5ac 100644 --- a/files/zh-tw/web/css/attr()/index.html +++ b/files/zh-tw/web/css/attr()/index.html @@ -155,7 +155,7 @@ attr(data-something, 'default'); <h3 id="形式語法">形式語法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/background-attachment/index.html b/files/zh-tw/web/css/background-attachment/index.html index 138623a543..98ae416926 100644 --- a/files/zh-tw/web/css/background-attachment/index.html +++ b/files/zh-tw/web/css/background-attachment/index.html @@ -44,8 +44,7 @@ background-attachment: unset; <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples" name="Examples">例子</h2> diff --git a/files/zh-tw/web/css/background-color/index.html b/files/zh-tw/web/css/background-color/index.html index 3c5cea28b3..1d4f149230 100644 --- a/files/zh-tw/web/css/background-color/index.html +++ b/files/zh-tw/web/css/background-color/index.html @@ -28,7 +28,7 @@ background-color: inherit; <h3 id="正式語法">正式語法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/box-shadow/index.html b/files/zh-tw/web/css/box-shadow/index.html index 4d23dc2d13..7ec9fe5121 100644 --- a/files/zh-tw/web/css/box-shadow/index.html +++ b/files/zh-tw/web/css/box-shadow/index.html @@ -64,7 +64,7 @@ box-shadow: 3px 3px red, -1em 0 0.4em olive; <h3 id="語法">語法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/box-sizing/index.html b/files/zh-tw/web/css/box-sizing/index.html index 058f179918..83784cc2d1 100644 --- a/files/zh-tw/web/css/box-sizing/index.html +++ b/files/zh-tw/web/css/box-sizing/index.html @@ -53,7 +53,7 @@ box-sizing: unset; <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples">Examples</h2> diff --git a/files/zh-tw/web/css/clip/index.html b/files/zh-tw/web/css/clip/index.html index 900be65c41..914393a72a 100644 --- a/files/zh-tw/web/css/clip/index.html +++ b/files/zh-tw/web/css/clip/index.html @@ -42,8 +42,7 @@ clip: unset; <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="Examples">Examples</h2> diff --git a/files/zh-tw/web/css/cursor/index.html b/files/zh-tw/web/css/cursor/index.html index 6e20cbbb43..5ded20bef8 100644 --- a/files/zh-tw/web/css/cursor/index.html +++ b/files/zh-tw/web/css/cursor/index.html @@ -246,8 +246,7 @@ cursor: unset; <h3 id="公式語法">公式語法</h3> -<pre class="syntaxbox">{{csssyntax}} -</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/grid-row/index.html b/files/zh-tw/web/css/grid-row/index.html index d7c3ed1543..e3e6daca74 100644 --- a/files/zh-tw/web/css/grid-row/index.html +++ b/files/zh-tw/web/css/grid-row/index.html @@ -66,7 +66,7 @@ grid-row: unset; <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example">Example</h2> diff --git a/files/zh-tw/web/css/grid-template-columns/index.html b/files/zh-tw/web/css/grid-template-columns/index.html index 31ef2b30b3..ac327e5b4e 100644 --- a/files/zh-tw/web/css/grid-template-columns/index.html +++ b/files/zh-tw/web/css/grid-template-columns/index.html @@ -75,7 +75,7 @@ grid-template-columns: unset; <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples">Examples</h2> diff --git a/files/zh-tw/web/css/grid-template/index.html b/files/zh-tw/web/css/grid-template/index.html index 196c847b67..9682acb462 100644 --- a/files/zh-tw/web/css/grid-template/index.html +++ b/files/zh-tw/web/css/grid-template/index.html @@ -55,7 +55,7 @@ grid-template: unset; <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples">Examples</h2> diff --git a/files/zh-tw/web/css/height/index.html b/files/zh-tw/web/css/height/index.html index 139ec496b6..4fd044b518 100644 --- a/files/zh-tw/web/css/height/index.html +++ b/files/zh-tw/web/css/height/index.html @@ -63,7 +63,7 @@ height: unset; <h3 id="正式語法">正式語法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/line-break/index.html b/files/zh-tw/web/css/line-break/index.html index f7e073e100..d30a098abd 100644 --- a/files/zh-tw/web/css/line-break/index.html +++ b/files/zh-tw/web/css/line-break/index.html @@ -43,7 +43,7 @@ line-break: unset; <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Specifications">Specifications</h2> diff --git a/files/zh-tw/web/css/object-fit/index.html b/files/zh-tw/web/css/object-fit/index.html index e6b73dc0b9..b2708e1a09 100644 --- a/files/zh-tw/web/css/object-fit/index.html +++ b/files/zh-tw/web/css/object-fit/index.html @@ -47,7 +47,7 @@ object-fit: unset; <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Example" name="Example">Example</h2> diff --git a/files/zh-tw/web/css/ruby-position/index.html b/files/zh-tw/web/css/ruby-position/index.html index 6caff70d64..3477b7d3bd 100644 --- a/files/zh-tw/web/css/ruby-position/index.html +++ b/files/zh-tw/web/css/ruby-position/index.html @@ -35,7 +35,7 @@ ruby-position: unset; <h3 id="正式語法">正式語法</h3> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="示例">示例</h2> diff --git a/files/zh-tw/web/css/transform-origin/index.html b/files/zh-tw/web/css/transform-origin/index.html index 2cfccb1716..f673fa334c 100644 --- a/files/zh-tw/web/css/transform-origin/index.html +++ b/files/zh-tw/web/css/transform-origin/index.html @@ -127,7 +127,7 @@ transform-origin: unset; <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples">Examples</h2> diff --git a/files/zh-tw/web/css/transform/index.html b/files/zh-tw/web/css/transform/index.html index 7b1f9ee11b..1d93410517 100644 --- a/files/zh-tw/web/css/transform/index.html +++ b/files/zh-tw/web/css/transform/index.html @@ -88,7 +88,7 @@ transform: unset;</pre> <h2 id="標準語法">標準語法</h2> -<pre class="syntaxbox notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/transition-duration/index.html b/files/zh-tw/web/css/transition-duration/index.html index d03125128e..7c7d07d141 100644 --- a/files/zh-tw/web/css/transition-duration/index.html +++ b/files/zh-tw/web/css/transition-duration/index.html @@ -41,7 +41,7 @@ transition-duration: unset; <h3 id="正式語法">正式語法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/transition-timing-function/index.html b/files/zh-tw/web/css/transition-timing-function/index.html index 467fcf51b5..440f3f082c 100644 --- a/files/zh-tw/web/css/transition-timing-function/index.html +++ b/files/zh-tw/web/css/transition-timing-function/index.html @@ -60,7 +60,7 @@ transition-timing-function: ease-in, ease-out; // ease-in to width and ease-out <h3 id="公式語法">公式語法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/transition/index.html b/files/zh-tw/web/css/transition/index.html index 3e5b3c042c..405f75b759 100644 --- a/files/zh-tw/web/css/transition/index.html +++ b/files/zh-tw/web/css/transition/index.html @@ -65,7 +65,7 @@ transition: unset; <h3 id="標準語法">標準語法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="範例">範例</h2> diff --git a/files/zh-tw/web/css/white-space/index.html b/files/zh-tw/web/css/white-space/index.html index eef166cc0e..ec061e754b 100644 --- a/files/zh-tw/web/css/white-space/index.html +++ b/files/zh-tw/web/css/white-space/index.html @@ -219,7 +219,7 @@ p { <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples">Examples</h2> diff --git a/files/zh-tw/web/css/width/index.html b/files/zh-tw/web/css/width/index.html index 9459dd32e9..11336859c4 100644 --- a/files/zh-tw/web/css/width/index.html +++ b/files/zh-tw/web/css/width/index.html @@ -169,7 +169,7 @@ p { <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="範例">範例</h2> |