more minor css changes
-posterdown_html
- added `sectitle_textsize:` option
- changed come css to ensure normal font weights rather than bold
diff --git a/inst/rmarkdown/templates/posterdown_betterport/resources/template.html b/inst/rmarkdown/templates/posterdown_betterport/resources/template.html
index ce3fbee..57f0b95 100644
--- a/inst/rmarkdown/templates/posterdown_betterport/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_betterport/resources/template.html
@@ -201,7 +201,7 @@
line-height: 85%;
font-size: $authorextra_textsize$;
}
-.outer h1 {
+.outer h1, h2, h3, h4, h5, h6 {
text-align: center;
margin-top: 0.5in;
margin-bottom: 0.5in;
diff --git a/inst/rmarkdown/templates/posterdown_html/resources/template.html b/inst/rmarkdown/templates/posterdown_html/resources/template.html
index 3d14952..fad4770 100644
--- a/inst/rmarkdown/templates/posterdown_html/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_html/resources/template.html
@@ -141,10 +141,8 @@
.poster_title h1 {
font-size: $title_textsize$;
margin: 0;
-padding: 0;
border: 0;
-padding-top: 1cm;
-padding-bottom: 0;
+font-weight: normal;
}
.poster_body_wrap{
width: $poster_width$;
@@ -156,42 +154,39 @@
color: $author_textcol$;
font-size: $author_textsize$;
margin: 0;
-padding: 0;
-padding-top: 1cm;
-padding-bottom: 0.5cm;
border: 0;
+font-weight: normal;
}
.poster_title h5 {
color: $affiliation_textcol$;
font-size: $affiliation_texsize$;
margin: 0;
-padding: 0;
border: 0;
-padding-top: 1cm;
+font-weight: normal;
}
img {
margin-top: 2cm;
margin-bottom: 0;
}
.section {
- padding: 1cm;
+ padding: 0.2em;
}
.poster_body h1 {
text-align: center;
color: $sectitle_textcol$;
-font-size: 50pt;
+font-size: $sectitle_textsize$;
border: $sectitle_borderwidth$ solid $sectitle_bordercol$;
background-color: $sectitle_bgcol$;
border-radius: $sectitle_boxshape$;
margin-top: 2mm;
margin-bottom: 2mm;
-padding-top: 5mm;
-padding-bottom: 5mm;
+font-weight: normal;
}
.poster_body h2 {
color: $sectitle2_textcol$;
font-size: 40pt;
padding-left: 4mm;
+font-weight: normal;
}
.span h1 {
text-align: center;
diff --git a/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd
index dc6ad37..a51d690 100644
--- a/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_html/skeleton/skeleton.Rmd
@@ -43,6 +43,7 @@
columnline_style: dashed #style of the column line seperator.
#SECTION TITLE STYLING
sectitle_textcol: "#ffffff" # Colour of the poster section titles
+sectitle_textsize: "65pt"
sectitle_bgcol: "#0b4545" # Colour of the section title box
sectitle_bordercol: "#0b4545" # Colour of the border around the section title box.
sectitle_borderwidth: "2mm" # Thicknes of the section title box border