tldr/scripts/pdf/basic.css

47 lines
710 B
CSS
Raw Normal View History

/* SPDX-License-Identifier: MIT */
@font-face {
font-family: "PT Serif";
src: url("pt-serif-web-regular.ttf") format("truetype");
}
p {
margin-left: 2.5em;
}
code {
color: darkslategrey;
}
2019-12-17 20:25:52 +00:00
h1, h2, h4, ul {
font-family: "PT Serif";
}
2019-12-17 20:25:52 +00:00
.title-main {
text-align: center;
margin-top: 6em;
font-size: 350%;
}
2019-12-17 20:25:52 +00:00
.title-sub {
text-align: center;
font-size: 120%;
color: darkslategrey;
}
2019-12-17 20:25:52 +00:00
.title-dir {
text-align: center;
margin-top: 8.2em;
font-size: 300%;
2019-12-17 20:25:52 +00:00
}
/*
The same is to have this look like a H1 tag, but we want the H2 tag so the
bookmarks list makes sense.
*/
h2.title-page {
font-size: 2em;
margin-top: 0.67em;
margin-bottom: 0.67em;
}