finished app

This commit is contained in:
2025-06-10 20:53:52 +02:00
parent 63576e8cd4
commit c3315dbf6d
3 changed files with 29 additions and 3 deletions

View File

@@ -1,5 +1,3 @@
# Pizza
## Zutaten ## Zutaten
### Teig für 3 Pizzen ### Teig für 3 Pizzen

View File

@@ -0,0 +1 @@
## 124

View File

@@ -27,7 +27,7 @@
<section id="recipes" class="recipes-list"> <section id="recipes" class="recipes-list">
<% recipes.forEach(recipe => { %> <% recipes.forEach(recipe => { %>
<div class="recipe-card"> <div class="recipe-card">
<h2><%= recipe.title %></h2> <h1><%= recipe.title %></h1>
<div class="markdown"><%- recipe.content %></div> <div class="markdown"><%- recipe.content %></div>
</div> </div>
<% }) %> <% }) %>
@@ -37,6 +37,33 @@
</html> </html>
<style> <style>
.markdown ul {
padding-left: 1.5rem;
list-style-type: disc;
margin: 0.5em 0;
}
.markdown ol {
padding-left: 1.5rem;
list-style-type: decimal;
margin: 0.5em 0;
}
.markdown li {
margin-bottom: 0.25em;
}
/*Markdown style*/
.markdown h1 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.markdown pre {
background: #f4f4f4;
padding: 10px;
border-radius: 5px;
}
/* System Font */ /* System Font */
html { html {
font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI",