filmov
tv
How to Publish to PDF
Показать описание
Learn how to publish your DITA content to a PDF with easyDITA.
Code referenced in the video:
/* Edit header font, color, and lettercase */
h1{
font-family: open sans;
color: #09AFD6;
text-transform: uppercase;
}
/* Edit body font*/
body {
font-family: open sans;
}
/* Make note titles bold*/
.note__title{
font-weight: bold ;
}
/* Remove bullets from TOC*/
nav li {
list-style-type: none;
padding: 10px 0px;
font-size: 1.2rem;
}
/* Add some margins on the top and left for entries */
nav li:first-child{margin-top: 20px;}
nav ul {
margin-left: 20px;
}
/* Add ... between the TOC entry text and the page number */
nav a::after {
content: leader(".")
target-counter(attr(href), page);
}
/* Contents" title above the TOC */
nav::before {
content: "Contents";
font-size: 2rem;
color: #09AFD6;
}
Code referenced in the video:
/* Edit header font, color, and lettercase */
h1{
font-family: open sans;
color: #09AFD6;
text-transform: uppercase;
}
/* Edit body font*/
body {
font-family: open sans;
}
/* Make note titles bold*/
.note__title{
font-weight: bold ;
}
/* Remove bullets from TOC*/
nav li {
list-style-type: none;
padding: 10px 0px;
font-size: 1.2rem;
}
/* Add some margins on the top and left for entries */
nav li:first-child{margin-top: 20px;}
nav ul {
margin-left: 20px;
}
/* Add ... between the TOC entry text and the page number */
nav a::after {
content: leader(".")
target-counter(attr(href), page);
}
/* Contents" title above the TOC */
nav::before {
content: "Contents";
font-size: 2rem;
color: #09AFD6;
}