Render PDF copies of tldr pages (#1964)
This commit is contained in:

committed by
Agniva De Sarker

parent
930cfe7f89
commit
490da5763d
34
scripts/pdf/basic.css
Normal file
34
scripts/pdf/basic.css
Normal file
@@ -0,0 +1,34 @@
|
||||
@font-face {
|
||||
font-family: 'PT_Serif-Web-Regular';
|
||||
src: url('PT_Serif-Web-Regular.ttf') format('truetype');
|
||||
}
|
||||
|
||||
p {
|
||||
margin-left: 2.5em;
|
||||
}
|
||||
|
||||
code {
|
||||
color: darkslategrey;
|
||||
}
|
||||
|
||||
h1, h4, h2, ul {
|
||||
font-family: "PT_Serif-Web-Regular";
|
||||
}
|
||||
|
||||
h1.titlemain {
|
||||
text-align: center;
|
||||
margin-top: 6em;
|
||||
font-size: 350%;
|
||||
}
|
||||
|
||||
h4.titlesub {
|
||||
text-align: center;
|
||||
font-size: 120%;
|
||||
color: darkslategrey;
|
||||
}
|
||||
|
||||
h2.titledir {
|
||||
text-align: center;
|
||||
margin-top: 8.2em;
|
||||
font-size: 300%;
|
||||
}
|
Reference in New Issue
Block a user