mirror of
https://github.com/szdytom/LADRSolutions.git
synced 2025-10-20 08:50:17 +00:00
tweak styles
Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
parent
4537beaf6c
commit
ae202bf5f2
10
styles.typ
10
styles.typ
@ -123,9 +123,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#let fancy_term_box(title, value) = {
|
#let fancy_term_box(title, value) = {
|
||||||
box(baseline: 3pt,{
|
box(baseline: 3pt, {
|
||||||
box(fill: theme_color_set.at("20"), inset: 3pt, text([#title], fill: theme_color_set.at("100"), font: zhfont_sans, weight: "medium"))
|
box(fill: theme_color_set.at("30"), inset: 3pt, text([#title], fill: text_color_set.at("100"), font: zhfont_sans, weight: "medium"))
|
||||||
box(fill: theme_color_set.at("60"), inset: 3pt, text([#value], fill: white, font: zhfont_sans, weight: "medium"))},
|
box(fill: theme_color_set.at("80"), inset: 3pt, text([#value], fill: white, font: zhfont_sans, weight: "medium"))},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -242,12 +242,12 @@
|
|||||||
"explain": "解释",
|
"explain": "解释",
|
||||||
)
|
)
|
||||||
tab
|
tab
|
||||||
text(splt.at(type), font: zhfont_sans, weight: "medium", fill: theme_color_set.at("100"))
|
text(splt.at(type), font: zhfont_sans, weight: "medium", fill: text_color_set.at("100"))
|
||||||
h(0.5em)
|
h(0.5em)
|
||||||
s
|
s
|
||||||
if type == "proof" {
|
if type == "proof" {
|
||||||
h(1fr)
|
h(1fr)
|
||||||
text(sym.square.filled, fill: theme_color_set.at("60"))
|
text(sym.square.filled, fill: theme_color_set.at("80"))
|
||||||
}
|
}
|
||||||
place.flush()
|
place.flush()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user