diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-01-27 21:08:42 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-01-27 21:08:42 +0100 |
commit | 0315095d2fb04f4cdf12c7484d8a0a89dff5329d (patch) | |
tree | f83af1444be295d6fb78793a09f5da5e5e37422a /src | |
parent | 3fc5126e5e89d4d125495d646bb2dfc407ba1f07 (diff) |
Clean up default style sheet
Diffstat (limited to 'src')
-rw-r--r-- | src/stylesheet.c | 51 |
1 files changed, 28 insertions, 23 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c index e8907dd..a70df5b 100644 --- a/src/stylesheet.c +++ b/src/stylesheet.c @@ -103,33 +103,38 @@ void default_stylesheet(StyleSheet *ss) acknowledgements = new_template(ss, "Acknowledgements"); sty = new_style(ss, "Presentation title"); - sty->lop.margin_l = 20.0; - sty->lop.margin_r = 20.0; - sty->lop.margin_t = 20.0; - sty->lop.margin_b = 20.0; + sty->lop.margin_l = 0.0; + sty->lop.margin_r = 0.0; + sty->lop.margin_t = 0.0; + sty->lop.margin_b = 0.0; + sty->lop.pad_l = 0.0; + sty->lop.pad_r = 0.0; + sty->lop.pad_t = 0.0; + sty->lop.pad_b = 0.0; + sty->lop.w = 1.0; + sty->lop.w_units = UNITS_FRAC; + sty->lop.h = 100.0; + sty->lop.h_units = UNITS_SLIDE; + sty->lop.x = 0.0; + sty->lop.y = 300.0; add_to_template(titlepage, sty); - sty = new_style(ss, "Content"); - sty->lop.margin_l = 20.0; - sty->lop.margin_r = 20.0; - sty->lop.margin_t = 20.0; - sty->lop.margin_b = 20.0; - add_to_template(slide, sty); - sty = new_style(ss, "Slide title"); - sty->lop.margin_l = 20.0; - sty->lop.margin_r = 20.0; - sty->lop.margin_t = 20.0; - sty->lop.margin_b = 20.0; + sty->lop.margin_l = 0.0; + sty->lop.margin_r = 0.0; + sty->lop.margin_t = 0.0; + sty->lop.margin_b = 0.0; + sty->lop.pad_l = 20.0; + sty->lop.pad_r = 20.0; + sty->lop.pad_t = 20.0; + sty->lop.pad_b = 20.0; + sty->lop.w = 1.0; + sty->lop.w_units = UNITS_FRAC; + sty->lop.h = 100.0; + sty->lop.h_units = UNITS_SLIDE; + sty->lop.x = 0.0; + sty->lop.y = 0.0; add_to_template(slide, sty); - - sty = new_style(ss, "Content"); - sty->lop.margin_l = 20.0; - sty->lop.margin_r = 20.0; - sty->lop.margin_t = 20.0; - sty->lop.margin_b = 20.0; - add_to_template(acknowledgements, sty); - } |