From a8a5e46db4c0142ba78f6a597967835b8499ba5b Mon Sep 17 00:00:00 2001 From: BestUsernameEver Date: Sat, 13 Jan 2024 23:09:52 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20left=20and=20right=20bor?= =?UTF-8?q?ders=20detaching=20from=20top=20and=20bottom=20borders?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/linear/linear.typ | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/themes/linear/linear.typ b/themes/linear/linear.typ index a2d76ba..ee0a092 100644 --- a/themes/linear/linear.typ +++ b/themes/linear/linear.typ @@ -11,15 +11,15 @@ #let border(x, y) = { set line(stroke: 1.5pt) - let borderTL = 0% + 30% - let borderTR = 100% - 30% + let borderTL = 0% + 15% + let borderTR = 100% - 15% place( // Left border line - line(start: (0% + x, 5%), end: (0% + x, 90%)) + line(start: (0% + x, 5%), end: (0% + x, 100% - y)) ) place( // Right border line - line(start: (100% - x, 5%), end: (100% - x, 90%)) + line(start: (100% - x, 5%), end: (100% - x, 100% - y)) ) place( // Bottom border line @@ -70,7 +70,7 @@ = Frontmatter header ], footer: [ Frontmatter footer ], - background: border(5%, 10%) + background: border(8%, 8%) ) body } @@ -82,7 +82,7 @@ = Body header ], footer: [ Body footer ], - background: border(5%, 10%) + background: border(8%, 8%) ) body } @@ -92,7 +92,7 @@ = Appendix header ], footer: [ Appendix footer ], - background: border(5%, 10%) + background: border(8%, 8%) ) body }