some style adjustments

master
Jing 4 years ago
parent 33d6eca6a1
commit 491e66c2fd

@ -37,4 +37,4 @@ cook_time: 20
1. Mit Hilfe von Backpapier aufrollen
## Quellen
* [Chefkoch](https://www.chefkoch.de/rezepte/867341192176282/Pfannkuchen-Rolle-vom-Blech.html)
https://www.chefkoch.de/rezepte/867341192176282/Pfannkuchen-Rolle-vom-Blech.html

@ -2,23 +2,28 @@
<html>
{{- partial "printhead.html" . -}}
<body>
<style>
@font-face {
font-family: 'Nunito';
src: url('../../Nunito.woff2') format('woff2');
}
body {
font-family: 'Nunito';
}
h1 {
font-size: 1.7em;
}
h2 {
font-size: 1.5em;
}
</style>
<div class="section">
<div class="columns is-centered">
<div class="column is-full-mobile is-half-desktop" style="border-radius: 1%; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)">
<div>
<div class="container">
<div class="columns">
<div class="column is-half">
<h1 id="mainTitle" class="title is-bold"> {{ .Title }} </h1>
<p class="subtitle is-italic" style="margin-bottom: .5em;"> {{ .Params.Author }}</p>
{{ partial "printmetadata.html" . }}
<p class="subtitle is-italic" style="margin-top: .5em;"> {{ .Params.Tagline }}</p>
</div>
<div class="column is-half">
<div class="is-pulled-right">
<!-- <figure class="image">
<img style="border-radius: 3%; width: 128px; height: 128px" src={{ printf "%s%s" .Site.BaseURL .Params.Recipe_image }} alt="Placeholder image">
</figure> -->
</div>
<div class="column">
<h1> {{ .Title }} </h1>
</div>
</div>
</div>

@ -25,10 +25,4 @@
{{ .Params.Cook_time | default "---"}} Minutes
{{ end }}
</div>
<div class="column" style="padding: 0px;">
<div></div>
<p class="has-text-weight-bold">Calories</p>
<div></div>
{{ .Params.Calories | default "---" }} Kcal
</div>
</div>

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save