Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b39467

Browse files
committed
Make page headers match ISO's example document.
1 parentdd1b6ad commit2b39467

File tree

4 files changed

+17
-30
lines changed

4 files changed

+17
-30
lines changed

‎base.css‎

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,23 @@ limitations under the License.
1515

1616
@page {
1717
margin:10%;
18-
@top-left {content:"© ISO/IEC";font-size:10pt; }
19-
@top-right {content:string(docnum);font-weight: bold;font-size:10pt; }
20-
@bottom-left {content:string(current-section, last);font-size:10pt; }
18+
}
19+
@page:left {
20+
@top-left {content:string(docname);font-weight: bold;font-size:10pt; }
21+
@top-right {content: normal; }
22+
@bottom-left {content:counter(page);font-size:10pt; }
23+
@bottom-right {content:"© ISO/IEC "string(pubyear)" — All rights reserved";
24+
font-size:10pt; }
25+
}
26+
@page:right {
27+
@top-left {content: normal; }
28+
@top-right {content:string(docname);font-weight: bold;font-size:10pt; }
29+
@bottom-left {content:"© ISO/IEC "string(pubyear)" — All rights reserved";
30+
font-size:10pt; }
2131
@bottom-right {content:counter(page);font-size:10pt; }
2232
}
2333
@page:first {
24-
/*@top-leftis defined by base.js. */
34+
@top-left{content: normal; }
2535
@top-right {content: normal; }
2636
@bottom-left {content: normal; }
2737
@bottom-right {content: normal; }
@@ -49,6 +59,8 @@ body { margin: 0; }
4959
}
5060

5161
cxx-docnum {string-set: docnumcontent(); }
62+
*/deep/ .docname {string-set: docnamecontent(); }
63+
*/deep/ .pubyear {string-set: pubyearcontent(); }
5264

5365
cxx-clause {page-break-before: always; }
5466
@media screen {

‎base.js‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎framework.html‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@
4141
<linkrel="import"href="codeblock.html"/>
4242
<linkrel="import"href="grammar.html"/>
4343
<linkrel="import"href="weak-break.html"/>
44-
<scriptsrc="base.js"></script>

‎titlepage.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h1>Working Draft, {{title}}</h1>
102102
</template>
103103
</template>
104104
<templateif="{{stage == 'ts'}}">
105-
<strong>ISO/IEC<contentselect="cxx-project-number"></content>:{{pubyear}}</strong><br/>
105+
<strongclass="docname">ISO/IEC<contentselect="cxx-project-number"></content>:<spanclass="pubyear">{{pubyear}}</span></strong><br/>
106106
</template>
107107
ISO/IEC JTC1 SC22 WG21<br/>
108108
Secretariat: ANSI

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp