diff --git a/layout/anarsec_article.typ b/layout/anarsec_article.typ index c712d8e..49ba58f 100644 --- a/layout/anarsec_article.typ +++ b/layout/anarsec_article.typ @@ -18,16 +18,16 @@ page()[ #place( center + top, - dy: 150pt, + dy: 250pt, image(frontimage) ) #place( - center + horizon, - dy: 40pt, + center + top, + dy: 150pt, )[ #set text(font: "Jost") - #text(25pt, title) + #text(35pt, title) #{ if subtitle != "None" { @@ -37,7 +37,8 @@ ] #place( - center + bottom + center + bottom, + dy: -20pt, )[ #set text(font: "Jost") #text(18pt)[Series: #category] @@ -70,18 +71,18 @@ #v(10pt) ] show heading.where(level: 3): it => block(width: 100%)[ - #set text(size: 12pt, font: "Jost", style: "italic") + #set text(size: 14pt, font: "Jost", style: "italic") #text(it.body) #v(10pt) ] show heading.where(level: 4): it => block(width: 100%)[ #set text(size: 11pt, font: "Jost") - #text(it.body) + #text(underline(it.body)) #v(10pt) ] // table of contents - outline(indent: 20pt, depth: 3) + outline(indent: 20pt, depth: 2) // format links show link: it => { @@ -131,6 +132,7 @@ content set page(numbering: none) + set heading(outlined: false) // back cover inside page()[ diff --git a/layout/python/anarsec_article_to_pdf.py b/layout/python/anarsec_article_to_pdf.py index 9277548..efe6c17 100644 --- a/layout/python/anarsec_article_to_pdf.py +++ b/layout/python/anarsec_article_to_pdf.py @@ -128,7 +128,7 @@ class Converter: markdown_content += f"\n\n# Recommendations\n\n{recommendations}\n\n" # Make all images paths relative in the Markdown content - for extension in ["jpg", "png", "webp", "jpeg"]: + for extension in ["jpg", "png", "webp", "jpeg", "gif"]: markdown_content = re.sub(f'\\(\\/posts/{input_path.parent.name}/(.*?\.{extension})\\)', lambda match: f'({match.group(1)})', markdown_content) # Replace all .webp images to .png images in the Markdown content diff --git a/themes/DeepThought/sass/deep-thought.sass b/themes/DeepThought/sass/deep-thought.sass index c90a193..8666c64 100644 --- a/themes/DeepThought/sass/deep-thought.sass +++ b/themes/DeepThought/sass/deep-thought.sass @@ -567,7 +567,7 @@ h3 font-style: italic !important h4 - font-size: 1em !important + font-size: 1.1em !important text-decoration: underline !important a