Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace standard-table with macros for zh-CN (Part 28) #6873

Merged
merged 1 commit into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 2 additions & 30 deletions files/zh-cn/web/css/align-items/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,41 +243,13 @@ <h3 id="Result">Result</h3>

<h2 id="规范">规范</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("CSS3 Box Alignment", "#propdef-align-items", "align-items")}}</td>
<td>{{Spec2("CSS3 Box Alignment")}}</td>
<td>Update to latest syntax definitions.</td>
</tr>
<tr>
<td>{{SpecName('CSS3 Flexbox', '#propdef-align-items', 'align-items')}}</td>
<td>{{Spec2('CSS3 Flexbox')}}</td>
<td>Initial definition</td>
</tr>
</tbody>
</table>
{{Specifications}}

<p>{{cssinfo}}</p>

<h2 id="浏览器兼容性">浏览器兼容性</h2>



<h3 id="在弹性盒子布局中的兼容性">在弹性盒子布局中的兼容性</h3>

<p>{{Compat("css.properties.align-items.flex_context")}}</p>

<h3 id="在网格布局中的兼容性">在网格布局中的兼容性</h3>

<p>{{Compat("css.properties.align-items.grid_context")}}</p>
<p>{{Compat}}</p>

<h2 id="相关链接">相关链接</h2>

Expand Down
27 changes: 2 additions & 25 deletions files/zh-cn/web/css/align-self/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,34 +131,11 @@ <h3 id="结果">结果</h3>

<h2 id="规范">规范</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('CSS3 Box Alignment', '#align-self-property', 'align-self') }}</td>
<td>{{ Spec2('CSS3 Box Alignment') }}</td>
<td></td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>



<h3 id="在_Flex_布局中的兼容性">在 Flex 布局中的兼容性</h3>

<p>{{Compat("css.properties.align-self.flex_context")}}</p>

<h3 id="在_Grid_布局中的兼容性">在 Grid 布局中的兼容性</h3>

<p>{{Compat("css.properties.align-self.grid_context")}}</p>
<p>{{Compat}}</p>

<h2 id="参考">参考</h2>

Expand Down
22 changes: 1 addition & 21 deletions files/zh-cn/web/css/all/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,27 +138,7 @@ <h4 id="allinherit"><code>all:inherit</code></h4>

<h2 id="规范">规范</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('CSS4 Cascade', '#all-shorthand', 'all') }}</td>
<td>{{ Spec2('CSS4 Cascade') }}</td>
<td>添加属性值 <code>revert</code>。</td>
</tr>
<tr>
<td>{{ SpecName('CSS3 Cascade', '#all-shorthand', 'all') }}</td>
<td>{{ Spec2('CSS3 Cascade') }}</td>
<td>初始定义。</td>
</tr>
</tbody>
</table>
{{Specifications}}

<p>{{cssinfo}}</p>

Expand Down
49 changes: 5 additions & 44 deletions files/zh-cn/web/css/alternative_style_sheets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,47 +64,8 @@ <h2 id="细节">细节</h2>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('HTML WHATWG', '#rel-alternate', 'link type "alternate"')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>{{SpecName('HTML WHATWG', '#link-type-stylesheet', 'link type "stylesheet"')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>{{SpecName('HTML WHATWG', '#attr-style-title', 'the "title" attribute for the style element')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>{{SpecName('HTML WHATWG', '#attr-meta-http-equiv-default-style', 'meta http-equiv="default-style")')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>{{SpecName('CSSOM', '#css-style-sheet-collections', 'CSS Style Sheet Collections')}}</td>
<td>{{Spec2('CSSOM')}}</td>
<td>The CSS OM specification defines the concepts of the <strong>style sheet set name</strong>, its <strong>disabled flag</strong>, and the <strong>preferred CSS style sheet set name</strong>.<br>
It defines how these are determined, and lets the HTML specification define the HTML-specific behaviors by requiring it to define when to <strong><dfn>create a CSS style sheet</dfn></strong>.</td>
</tr>
<tr>
<td>{{SpecName("HTML4.01", "present/styles.html#h-14.3", "Alternative style sheets")}}</td>
<td>{{Spec2("HTML4.01")}}</td>
<td>Earlier, the HTML specification itself defined the concept of preferred and alternate stylesheets.</td>
</tr>
</tbody>
</table>

<p>{{Compat("html.elements.link.rel.alternate_stylesheet")}}</p>
{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

<p>{{Compat}}</p>
22 changes: 1 addition & 21 deletions files/zh-cn/web/css/angle-percentage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,7 @@ <h2 id="在calc()中使用这个类型">在 calc() 中使用这个类型</h2>

<h2 id="规范">规范</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('CSS4 Values', '#mixed-percentages', '&lt;angle-percentage&gt;')}}</td>
<td>{{Spec2('CSS4 Values')}}</td>
<td> </td>
</tr>
<tr>
<td>{{SpecName('CSS3 Values', '#mixed-percentages', '&lt;angle-percentage&gt;')}}</td>
<td>{{Spec2('CSS3 Values')}}</td>
<td>Defines <code>&lt;angle-percentage&gt;</code>. Adds <code>calc()</code></td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

Expand Down
17 changes: 1 addition & 16 deletions files/zh-cn/web/css/angle/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,7 @@ <h2 id="Examples">示例</h2>

<h2 id="Specifications">规范</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ SpecName('CSS3 Values', '#angles', '&lt;angle&gt;') }}</td>
<td>{{ Spec2('CSS3 Values') }}</td>
<td>Initial definition</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

Expand Down
17 changes: 1 addition & 16 deletions files/zh-cn/web/css/animation-delay/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,7 @@ <h2 id="示例">示例</h2>

<h2 id="规范">规范</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('CSS3 Animations', '#animation-delay', 'animation-delay')}}</td>
<td>{{Spec2('CSS3 Animations')}}</td>
<td></td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

Expand Down
17 changes: 1 addition & 16 deletions files/zh-cn/web/css/animation-direction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,7 @@ <h2 id="例子">例子</h2>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('CSS3 Animations', '#animation-direction', 'animation-direction')}}</td>
<td>{{Spec2('CSS3 Animations')}}</td>
<td>For the two new values, see the <a href="http://lists.w3.org/Archives/Public/www-style/2011May/0090.html">W3C discussion</a>.</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

Expand Down
21 changes: 3 additions & 18 deletions files/zh-cn/web/css/animation-duration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,9 @@ <h2 id="示例">示例</h2>

<p>See <a href="/en/CSS/CSS_animations" title="en/CSS/CSS_animations">CSS animations</a> for examples.</p>

<h2 id="Specifications">标准</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ SpecName('CSS3 Animations', '#animation-duration', 'animation-duration') }}</td>
<td>{{ Spec2('CSS3 Animations') }}</td>
<td></td>
</tr>
</tbody>
</table>
<h2 id="Specifications">规范</h2>

{{Specifications}}

<h2 id="Browser_Compatibility">浏览器兼容</h2>

Expand Down
21 changes: 2 additions & 19 deletions files/zh-cn/web/css/animation-fill-mode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,30 +155,13 @@ <h3 id="CSS">CSS</h3>

<h2 id="Specifications">规范</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('CSS3 Animations', '#animation-fill-mode', 'animation-fill-mode')}}</td>
<td>{{Spec2('CSS3 Animations')}}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>
{{Specifications}}

<p>{{cssinfo}}</p>

<h2 id="Browser_Compatibility">浏览器兼容性</h2>



<p>{{Compat("css.properties.animation-fill-mode")}}</p>
<p>{{Compat}}</p>

<h2 id="另见">另见</h2>

Expand Down
39 changes: 12 additions & 27 deletions files/zh-cn/web/css/animation-iteration-count/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
---
<div>{{CSSRef}} {{ SeeCompatTable() }}</div>

<h2 id="Summary_概要">Summary 概要</h2>
<h2 id="Summary">概要</h2>

<p><strong><code>animation-iteration-count</code></strong> <a href="/en/CSS" title="CSS">CSS</a> 属性   定义动画在结束前运行的次数 可以是 1 次 无限循环。</p>

Expand All @@ -17,7 +17,7 @@ <h2 id="Summary_概要">Summary 概要</h2>



<h2 id="Syntax_语法">Syntax 语法</h2>
<h2 id="Syntax">语法</h2>

<pre class="brush:css">/* 值为关键字 */
animation-iteration-count: infinite;
Expand All @@ -32,7 +32,7 @@ <h2 id="Syntax_语法">Syntax 语法</h2>

<p><code>animation-iteration-count</code> 属性可以指定一个或多个以逗号分隔的值。</p>

<h3 id="Values_属性值">Values 属性值</h3>
<h3 id="Values">值</h3>

<dl>
<dt><code>infinite</code></dt>
Expand All @@ -41,36 +41,21 @@ <h3 id="Values_属性值">Values 属性值</h3>
<dd>动画播放的次数;默认值为<code>1</code>。可以用小数定义循环,来播放动画周期的一部分:例如,<code>0.5</code> 将播放到动画周期的一半。不可为负值。</dd>
</dl>

<h3 id="Formal_syntax">Formal syntax </h3>
<h3 id="Formal_syntax">Formal syntax</h3>

{{csssyntax}}

<h2 id="Examples_示例">Examples 示例</h2>
<h2 id="Examples">示例</h2>

<p>去看 <a href="/en-US/docs/Web/CSS/CSS_Animations/Using_CSS_animations">CSS animations</a> for examples. 点击链接去看栗(例)子</p>

<h2 id="Specifications">Specifications 说明 用法</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ SpecName('CSS3 Animations', '#animation-iteration-count', 'animation-iteration-count') }}</td>
<td>{{ Spec2('CSS3 Animations') }}</td>
<td>Initial definition</td>
</tr>
</tbody>
</table>

<h2 id="Browser_Compatibility">Browser compatibility 兼容性</h2>

{{Compat("css.properties.animation-iteration-count")}}
<h2 id="Specifications">规范</h2>

{{Specifications}}

<h2 id="Browser_Compatibility">浏览器兼容性</h2>

{{Compat}}

<h2 id="See_also">See also</h2>

Expand Down
Loading