1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 11:19:46 +01:00
tldr/scripts/pdf/basic.css
K.B.Dharun Krishna e35b482300
scripts: build and deploy PDF pages for translations (#10969)
* scripts: build and deploy PDF pages for translations

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* render.py: fix typo in filename description

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-10-22 02:34:22 +05:30

46 lines
710 B
CSS

/* SPDX-License-Identifier: MIT */
@font-face {
font-family: "sans-serif";
src: url("NotoSans-Regular.ttf") format("truetype");
}
p {
margin-left: 2.5em;
}
code {
color: darkslategrey;
}
h1, h2, h4, ul {
font-family: "sans-serif";
}
.title-main {
text-align: center;
margin-top: 6em;
font-size: 350%;
}
.title-sub {
text-align: center;
font-size: 120%;
color: darkslategrey;
}
.title-dir {
text-align: center;
margin-top: 8.2em;
font-size: 300%;
}
/*
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;
}