-
Notifications
You must be signed in to change notification settings - Fork 45
Unicode Book style sheet
r12a edited this page Apr 8, 2022
·
1 revision
The following styles are to be discussed, where needed, and added to the main stylesheet used for The Unicode Standard pages. What follows is work in progress, and some styles are linked to elements, class names or ids in the data extracted from FrameMaker that are likely to change over time.
<style>
body {
font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
line-height: 1.2;
padding: 10%;
font-size: 1.1rem;
}
.leadin { font-weight: bold; font-style: italic; }
.xref { font-style: italic; }
.uname { text-transform: uppercase; font-weight: normal; font-size: 70%; }
.charName { font-style: italic; }
.caption_num { font-weight: bold; }
#toc {
columns: 3;
margin-inline: 20%;
}
#toc li {
list-style-type: none;
font-style: italic;
font-weight: bold;
}
h1 {
font-size: 2.5rem;
font-style: italic;
}
h2 {
font-style: normal;
margin-block-start: 8rem;
}
h3 {
font-style: italic;
margin-block-start: 2rem;
}
.ChapterNumber {
font-size: 1.4rem;
font-weight: normal;
}
.ChapterSubtitle {
font-size: 1.4rem;
font-weight: bold;
}
.SubheadingnoTOC, .Subheading, .SubheadingNoTOC {
font-size: 1.2rem;
font-style: italic;
}
</style>