feat: write template
This commit is contained in:
commit
a0a6d2cf84
98 files changed
+6609
No files matched your search
@@ -0,0 +1,32 @@
|
||||
#import "@preview/shadowed:0.3.0": shadow
|
||||
#import "../pallete.typ": palette
|
||||
|
||||
#let cover(img: bytes, part: content, description: content) = {
|
||||
page(
|
||||
background: image(
|
||||
img,
|
||||
height: 100%,
|
||||
),
|
||||
margin: 0pt,
|
||||
)[
|
||||
#align(
|
||||
bottom,
|
||||
shadow(blur: 140pt, fill: rgb(0, 0, 0, 50%), radius: -50pt, rect(
|
||||
width: 100%,
|
||||
fill: palette.secondary.at("900"),
|
||||
inset: 2.25cm,
|
||||
{
|
||||
show heading: set text(26pt, font: "Arial", fill: white)
|
||||
heading(bookmarked: true, numbering: none, strong(part))
|
||||
par(text(size: 26pt, font: "Arial", fill: palette.gray.at("50"), weight: "bold", description))
|
||||
par(
|
||||
text(
|
||||
size: 12pt,
|
||||
fill: palette.gray.at("300"),
|
||||
)[Individuelle praktische Arbeit],
|
||||
)
|
||||
},
|
||||
)),
|
||||
)
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user