mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
update themes
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
<<main_column_second_row_template>>
|
||||
],
|
||||
inset: (
|
||||
left: design-entry-types-education-entry-degree-column-width + design-entries-horizontal-space-between-columns + design-entries-left-and-right-margin,
|
||||
left: design-entries-left-and-right-margin,
|
||||
right: design-entries-left-and-right-margin,
|
||||
),
|
||||
)
|
||||
|
||||
@@ -233,7 +233,6 @@
|
||||
left-column-width: design-entries-date-and-location-width,
|
||||
right-column-width: 1fr,
|
||||
left-content: [
|
||||
#v(design-text-leading)
|
||||
#align(horizon, box(width: 1fr, height: design-section-titles-line-thickness, fill: design-colors-section-titles))
|
||||
],
|
||||
right-content: [
|
||||
@@ -276,10 +275,16 @@
|
||||
|
||||
// Last updated date text:
|
||||
#if design-page-show-last-updated-date {
|
||||
let dx
|
||||
if design-section-titles-type == "moderncv" {
|
||||
dx = 0
|
||||
} else {
|
||||
dx = -design-entries-left-and-right-margin
|
||||
}
|
||||
place(
|
||||
top + right,
|
||||
dy: -design-page-top-margin / 2,
|
||||
dx: -design-entries-left-and-right-margin,
|
||||
dx: dx,
|
||||
text(
|
||||
[_#locale-catalog-last-updated-date-style _],
|
||||
fill: design-colors-last-updated-date-and-page-numbering,
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
],
|
||||
)
|
||||
((* if not (design.entries.short_second_row or date_and_location_column_template.count("\n\n") > main_column_first_row_template.count("\n\n") or design.section_titles.type=="moderncv") *))
|
||||
#v(design-highlights-vertical-space-between-highlights)
|
||||
#one-col-entry(content:[
|
||||
#v(-design-text-leading)
|
||||
((* if not (entry.doi or entry.url)*))
|
||||
<<main_column_second_row_without_url_template|replace("\n\n", "\n\n#v(design-highlights-top-margin - design-text-leading)")>>
|
||||
((*- elif not entry.journal -*))
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<<main_column_second_row_template>>
|
||||
],
|
||||
inset: (
|
||||
left: design-entry-types-education-entry-degree-column-width + design-entries-horizontal-space-between-columns + design-entries-left-and-right-margin,
|
||||
left: design-entries-left-and-right-margin,
|
||||
right: design-entries-left-and-right-margin,
|
||||
),
|
||||
)
|
||||
|
||||
@@ -233,7 +233,6 @@
|
||||
left-column-width: design-entries-date-and-location-width,
|
||||
right-column-width: 1fr,
|
||||
left-content: [
|
||||
#v(design-text-leading)
|
||||
#align(horizon, box(width: 1fr, height: design-section-titles-line-thickness, fill: design-colors-section-titles))
|
||||
],
|
||||
right-content: [
|
||||
@@ -276,10 +275,16 @@
|
||||
|
||||
// Last updated date text:
|
||||
#if design-page-show-last-updated-date {
|
||||
let dx
|
||||
if design-section-titles-type == "moderncv" {
|
||||
dx = 0
|
||||
} else {
|
||||
dx = -design-entries-left-and-right-margin
|
||||
}
|
||||
place(
|
||||
top + right,
|
||||
dy: -design-page-top-margin / 2,
|
||||
dx: -design-entries-left-and-right-margin,
|
||||
dx: dx,
|
||||
text(
|
||||
[_#locale-catalog-last-updated-date-style _],
|
||||
fill: design-colors-last-updated-date-and-page-numbering,
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
],
|
||||
)
|
||||
((* if not (design.entries.short_second_row or date_and_location_column_template.count("\n\n") > main_column_first_row_template.count("\n\n") or design.section_titles.type=="moderncv") *))
|
||||
#v(design-highlights-vertical-space-between-highlights)
|
||||
#one-col-entry(content:[
|
||||
#v(-design-text-leading)
|
||||
((* if not (entry.doi or entry.url)*))
|
||||
<<main_column_second_row_without_url_template|replace("\n\n", "\n\n#v(design-highlights-top-margin - design-text-leading)")>>
|
||||
((*- elif not entry.journal -*))
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<<main_column_second_row_template>>
|
||||
],
|
||||
inset: (
|
||||
left: design-entry-types-education-entry-degree-column-width + design-entries-horizontal-space-between-columns + design-entries-left-and-right-margin,
|
||||
left: design-entries-left-and-right-margin,
|
||||
right: design-entries-left-and-right-margin,
|
||||
),
|
||||
)
|
||||
|
||||
@@ -233,7 +233,6 @@
|
||||
left-column-width: design-entries-date-and-location-width,
|
||||
right-column-width: 1fr,
|
||||
left-content: [
|
||||
#v(design-text-leading)
|
||||
#align(horizon, box(width: 1fr, height: design-section-titles-line-thickness, fill: design-colors-section-titles))
|
||||
],
|
||||
right-content: [
|
||||
@@ -276,10 +275,16 @@
|
||||
|
||||
// Last updated date text:
|
||||
#if design-page-show-last-updated-date {
|
||||
let dx
|
||||
if design-section-titles-type == "moderncv" {
|
||||
dx = 0
|
||||
} else {
|
||||
dx = -design-entries-left-and-right-margin
|
||||
}
|
||||
place(
|
||||
top + right,
|
||||
dy: -design-page-top-margin / 2,
|
||||
dx: -design-entries-left-and-right-margin,
|
||||
dx: dx,
|
||||
text(
|
||||
[_#locale-catalog-last-updated-date-style _],
|
||||
fill: design-colors-last-updated-date-and-page-numbering,
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
],
|
||||
)
|
||||
((* if not (design.entries.short_second_row or date_and_location_column_template.count("\n\n") > main_column_first_row_template.count("\n\n") or design.section_titles.type=="moderncv") *))
|
||||
#v(design-highlights-vertical-space-between-highlights)
|
||||
#one-col-entry(content:[
|
||||
#v(-design-text-leading)
|
||||
((* if not (entry.doi or entry.url)*))
|
||||
<<main_column_second_row_without_url_template|replace("\n\n", "\n\n#v(design-highlights-top-margin - design-text-leading)")>>
|
||||
((*- elif not entry.journal -*))
|
||||
|
||||
@@ -49,7 +49,7 @@ class Links(o.Links):
|
||||
|
||||
|
||||
o.text_font_family_field_info.default = "XCharter"
|
||||
o.text_leading_field_info.default = "0.2em"
|
||||
o.text_leading_field_info.default = "0.6em"
|
||||
|
||||
|
||||
class Text(o.Text):
|
||||
@@ -58,8 +58,8 @@ class Text(o.Text):
|
||||
|
||||
|
||||
o.section_titles_type_field_info.default = "with-full-line"
|
||||
o.section_titles_vertical_space_above_field_info.default = "0.3cm"
|
||||
o.section_titles_vertical_space_below_field_info.default = "0.1cm"
|
||||
o.section_titles_vertical_space_above_field_info.default = "0.55cm"
|
||||
o.section_titles_vertical_space_below_field_info.default = "0.3cm"
|
||||
o.section_titles_font_size_field_info.default = "1.2em"
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ class SectionTitles(o.SectionTitles):
|
||||
font_size: o.TypstDimension = o.section_titles_font_size_field_info
|
||||
|
||||
|
||||
o.entries_vertical_space_between_entries_field_info.default = "0.30cm"
|
||||
o.entries_vertical_space_between_entries_field_info.default = "0.4cm"
|
||||
o.entries_left_and_right_margin_field_info.default = "0cm"
|
||||
|
||||
|
||||
@@ -86,8 +86,8 @@ class Entries(o.Entries):
|
||||
|
||||
|
||||
o.highlights_left_margin_field_info.default = "0cm"
|
||||
o.highlights_top_margin_field_info.default = "0.1cm"
|
||||
o.highlights_vertical_space_between_highlights_field_info.default = "0.13cm"
|
||||
o.highlights_top_margin_field_info.default = "0.25cm"
|
||||
o.highlights_vertical_space_between_highlights_field_info.default = "0.19cm"
|
||||
o.highlights_horizontal_space_between_bullet_and_highlight_field_info.default = "0.3em"
|
||||
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<<main_column_second_row_template>>
|
||||
],
|
||||
inset: (
|
||||
left: design-entry-types-education-entry-degree-column-width + design-entries-horizontal-space-between-columns + design-entries-left-and-right-margin,
|
||||
left: design-entries-left-and-right-margin,
|
||||
right: design-entries-left-and-right-margin,
|
||||
),
|
||||
)
|
||||
|
||||
@@ -233,7 +233,6 @@
|
||||
left-column-width: design-entries-date-and-location-width,
|
||||
right-column-width: 1fr,
|
||||
left-content: [
|
||||
#v(design-text-leading)
|
||||
#align(horizon, box(width: 1fr, height: design-section-titles-line-thickness, fill: design-colors-section-titles))
|
||||
],
|
||||
right-content: [
|
||||
@@ -276,10 +275,16 @@
|
||||
|
||||
// Last updated date text:
|
||||
#if design-page-show-last-updated-date {
|
||||
let dx
|
||||
if design-section-titles-type == "moderncv" {
|
||||
dx = 0
|
||||
} else {
|
||||
dx = -design-entries-left-and-right-margin
|
||||
}
|
||||
place(
|
||||
top + right,
|
||||
dy: -design-page-top-margin / 2,
|
||||
dx: -design-entries-left-and-right-margin,
|
||||
dx: dx,
|
||||
text(
|
||||
[_#locale-catalog-last-updated-date-style _],
|
||||
fill: design-colors-last-updated-date-and-page-numbering,
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
],
|
||||
)
|
||||
((* if not (design.entries.short_second_row or date_and_location_column_template.count("\n\n") > main_column_first_row_template.count("\n\n") or design.section_titles.type=="moderncv") *))
|
||||
#v(design-highlights-vertical-space-between-highlights)
|
||||
#one-col-entry(content:[
|
||||
#v(-design-text-leading)
|
||||
((* if not (entry.doi or entry.url)*))
|
||||
<<main_column_second_row_without_url_template|replace("\n\n", "\n\n#v(design-highlights-top-margin - design-text-leading)")>>
|
||||
((*- elif not entry.journal -*))
|
||||
|
||||
@@ -23,7 +23,7 @@ class Links(o.Links):
|
||||
|
||||
|
||||
o.text_font_family_field_info.default = "XCharter"
|
||||
o.text_leading_field_info.default = "0.2em"
|
||||
o.text_leading_field_info.default = "0.6em"
|
||||
|
||||
|
||||
class Text(o.Text):
|
||||
@@ -33,8 +33,8 @@ class Text(o.Text):
|
||||
|
||||
o.section_titles_type_field_info.default = "moderncv"
|
||||
o.section_titles_bold_field_info.default = False
|
||||
o.section_titles_vertical_space_above_field_info.default = "0.3cm"
|
||||
o.section_titles_vertical_space_below_field_info.default = "0.1cm"
|
||||
o.section_titles_vertical_space_above_field_info.default = "0.55cm"
|
||||
o.section_titles_vertical_space_below_field_info.default = "0.3cm"
|
||||
o.section_titles_font_size_field_info.default = "1.4em"
|
||||
o.section_titles_line_thickness_field_info.default = "0.15cm"
|
||||
|
||||
@@ -52,7 +52,7 @@ class SectionTitles(o.SectionTitles):
|
||||
line_thickness: o.TypstDimension = o.section_titles_line_thickness_field_info
|
||||
|
||||
|
||||
o.entries_vertical_space_between_entries_field_info.default = "0.30cm"
|
||||
o.entries_vertical_space_between_entries_field_info.default = "0.4cm"
|
||||
o.entries_left_and_right_margin_field_info.default = "0cm"
|
||||
o.entries_horizontal_space_between_columns_field_info.default = "0.4cm"
|
||||
|
||||
@@ -68,8 +68,8 @@ class Entries(o.Entries):
|
||||
|
||||
|
||||
o.highlights_left_margin_field_info.default = "0cm"
|
||||
o.highlights_top_margin_field_info.default = "0.1cm"
|
||||
o.highlights_vertical_space_between_highlights_field_info.default = "0.13cm"
|
||||
o.highlights_top_margin_field_info.default = "0.25cm"
|
||||
o.highlights_vertical_space_between_highlights_field_info.default = "0.19cm"
|
||||
o.highlights_horizontal_space_between_bullet_and_highlight_field_info.default = "0.3em"
|
||||
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<<main_column_second_row_template>>
|
||||
],
|
||||
inset: (
|
||||
left: design-entry-types-education-entry-degree-column-width + design-entries-horizontal-space-between-columns + design-entries-left-and-right-margin,
|
||||
left: design-entries-left-and-right-margin,
|
||||
right: design-entries-left-and-right-margin,
|
||||
),
|
||||
)
|
||||
|
||||
@@ -233,7 +233,6 @@
|
||||
left-column-width: design-entries-date-and-location-width,
|
||||
right-column-width: 1fr,
|
||||
left-content: [
|
||||
#v(design-text-leading)
|
||||
#align(horizon, box(width: 1fr, height: design-section-titles-line-thickness, fill: design-colors-section-titles))
|
||||
],
|
||||
right-content: [
|
||||
@@ -276,10 +275,16 @@
|
||||
|
||||
// Last updated date text:
|
||||
#if design-page-show-last-updated-date {
|
||||
let dx
|
||||
if design-section-titles-type == "moderncv" {
|
||||
dx = 0
|
||||
} else {
|
||||
dx = -design-entries-left-and-right-margin
|
||||
}
|
||||
place(
|
||||
top + right,
|
||||
dy: -design-page-top-margin / 2,
|
||||
dx: -design-entries-left-and-right-margin,
|
||||
dx: dx,
|
||||
text(
|
||||
[_#locale-catalog-last-updated-date-style _],
|
||||
fill: design-colors-last-updated-date-and-page-numbering,
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
],
|
||||
)
|
||||
((* if not (design.entries.short_second_row or date_and_location_column_template.count("\n\n") > main_column_first_row_template.count("\n\n") or design.section_titles.type=="moderncv") *))
|
||||
#v(design-highlights-vertical-space-between-highlights)
|
||||
#one-col-entry(content:[
|
||||
#v(-design-text-leading)
|
||||
((* if not (entry.doi or entry.url)*))
|
||||
<<main_column_second_row_without_url_template|replace("\n\n", "\n\n#v(design-highlights-top-margin - design-text-leading)")>>
|
||||
((*- elif not entry.journal -*))
|
||||
|
||||
Reference in New Issue
Block a user