Improve margins
Change-Id: I0ad246a5001b047bdce69ab02f7bedb9971bd085
diff --git a/inst/rmarkdown/templates/posterdown_ids/resources/template.html b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
index 3242096..78bec88 100644
--- a/inst/rmarkdown/templates/posterdown_ids/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
@@ -53,16 +53,16 @@
}
body {
margin: 0;
-margin-right: 2cm;
+margin-right: 1.5cm;
font-size: $if(body_textsize)$$body_textsize$$else$28pt$endif$;
-width: $if(poster_width)$$poster_width$$else$801mm$endif$;
+width: $if(poster_width)$$poster_width$$else$827mm$endif$;
height: $if(poster_height)$$poster_height$$else$1189mm$endif$;
padding: 0;
text-align: justify;
font-family: $if(font_family)$$font_family$$else$Fira Sans$endif$;
}
.poster_wrap {
-width: $if(poster_width)$$poster_width$$else$801mm$endif$;
+width: $if(poster_width)$$poster_width$$else$827mm$endif$;
height: $if(poster_height)$$poster_height$$else$1189mm$endif$;
padding: 0cm;
}
@@ -75,7 +75,7 @@
}
.orange_bar {
float: left;
-width: 13.5%;
+width: 15%;
height: 90%;
background-color: $if(primary_colour)$$primary_colour$$else$#f18700$endif$;
display: flex;
@@ -94,17 +94,20 @@
}
.logo_right {
float: right;
-width: 35%;
+width: 27.5%;
height: 100%;
+margin-right: 14mm;
display: flex;
align-items: center;
-justify-content: center;
+justify-content: right;
}
.poster_title {
text-align: left;
position: relative;
float: left;
-width: 86.5%;
+margin-left: 2.5%;
+margin-right: 2.5%;
+width: 75%;
height: 100%;
color: $if(title_textcol)$$title_textcol$$else$#000000$endif$;
top: 50%;
@@ -157,10 +160,10 @@
-moz-column-rule-color: $if(columnline_col)$$columnline_col$$else$$if(primary_colour)$$primary_colour$$else$#f18700$endif$$endif$;
column-rule-color: $if(columnline_col)$$columnline_col$$else$$if(primary_colour)$$primary_colour$$else$#f18700$endif$$endif$;
column-gap: 1em;
-margin-left: 16.5%;
+margin-left: 17.5%;
/*width=82.4%*/
-margin-right: 2cm;
-padding-right: 0.5em;
+margin-right: 0.5cm;
+padding-right: 0.25em;
height: 100%;
height: -moz-available; /* WebKit-based browsers will ignore this. */
height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
@@ -176,19 +179,19 @@
.poster_title h1 {
font-size: $if(title_textsize)$$title_textsize$$else$64pt$endif$;
margin: inherit;
-margin-left: 3.5%;
+margin-left: 0;
border: 0;
font-weight: bold;
}
.poster_title h2 {
font-size: 36pt;
margin: inherit;
-margin-left: 3.5%;
+margin-left: 0;
border: 0;
font-weight: bold;
}
.poster_body_wrap{
-width: $if(poster_width)$$poster_width$$else$801mm$endif$;
+width: $if(poster_width)$$poster_width$$else$827mm$endif$;
height: calc(100% - $if(titlebox_height)$$titlebox_height$$else$17%$endif$);
padding-top: calc($if(poster_height)$$poster_height$$else$841mm$endif$ * 0.01);
padding-bottom: calc($if(poster_height)$$poster_height$$else$841mm$endif$ * 0.01);
@@ -198,7 +201,6 @@
color: $if(author_textcol)$$author_textcol$$else$$if(secondaryX_colour)$$secondary_colour$$else$#000000$endif$$endif$;
font-size: $if(author_textsize)$$author_textsize$$else$36pt$endif$;
margin-top: 20px;
-margin-left: 3.5%;
border: 0;
font-family: 'Fira Sans Light';
font-weight: normal;
@@ -215,7 +217,6 @@
color: $if(affiliation_textcol)$$affiliation_textcol$$else$#000000$endif$;
font-size: $if(affiliation_textsize)$$affiliation_texsize$$else$24pt$endif$;
margin: 0;
-margin-left: 3.5%;
border: 0;
font-weight: normal;
margin-block-start: 0.2em;
@@ -411,7 +412,7 @@
$if(logoleft_name)$
<img src=$logoleft_name$ style="margin-top: auto;
margin-bottom: auto;
- height: 60%;">
+ height: 50%;">
$endif$
</div>
<!-- Right Logo -->
diff --git a/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd
index 83feeb4..62ce713 100644
--- a/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd
@@ -18,14 +18,16 @@
department: Digital Linguistics
email: kupietz@ids-mannheim.de
website: "http://korap.ids-mannheim.de/instance/icc"
-column_numbers: 3
+column_numbers: 2
# logoright_name: https://raw.githubusercontent.com/brentthorne/posterdown/master/images/betterhexlogo.png
logoleft_name: https://raw.githubusercontent.com/brentthorne/posterdown/master/images/betterhexlogo.png
output:
posterdown::posterdown_ids:
self_contained: false
+ keep_md: true
bibliography: packages.bib
csl: "https://raw.githubusercontent.com/ICLC-10/Zotero/master/styles/ICLC-10.csl"
+keep_md: true
---
```{r setup, include=FALSE}