jeffs-pelican-theme/templates/special/recipe.html

75 lines
No EOL
1.4 KiB
HTML

{% extends "article.html" %}
{% block head%}
{{ super() }}
<style>
/*Heavily influenced by Emily Gagne (https://codepen.io/ceg9498/) from their CodePen post here - https://codepen.io/ceg9498/post/creating-lined-paper
/* Styling specific to an index card */
.card{
font-family: Courier, monospace;
font-weight:bold;
background-color: white;
background: repeating-linear-gradient(white, white 25px, #9198e5 26px, #9198e5 27px);
background-position-y: 34px;
height: 592px;
width: 840px;
padding: 0;
margin: 1em;
border-style:solid;
border-width: 2px;
border-color: #555;
}
.card header {
background: linear-gradient(white, white 33px, pink 35px, pink 36px);
height: 36px;
}
.card header h2 {
position: relative;
font-size: 1.5em;
font-weight: bold;
margin-bottom: 0.2em;
margin-left:25px;
}
.card header p {
position: relative;
font-style: italic;
font-size: 1em;
margin: 1em;
line-height: 27px;
}
.ingredients {
padding-top:30px;
}
.ingredients ul, ol {
columns: 2;
-webkit-columns: 2;
-moz-columns: 2;
position: relative;
font-size: 1em;
margin: 27px 1em;
line-height: 27px;
list-style-type: bullet;
}
/*
.ingredients ul {
list-style-type: bullet;
}*/
.instructions p, ol, ul {
columns: 1;
position: relative;
font-size: 1em;
margin: 27px 1em;
line-height: 27px;
}
</style>
{% endblock head%}