From c793963c9be25c5a1750cde4b06b5c531fdd8a57 Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 17 Dec 2022 18:14:30 -0400 Subject: [PATCH] v1 of the recipe card is ready. needs mobile work --- static/css-include/recipecard.css | 6 +++--- templates/article.html | 2 +- test/pelicanconf.py | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/static/css-include/recipecard.css b/static/css-include/recipecard.css index fc338de..731e91e 100644 --- a/static/css-include/recipecard.css +++ b/static/css-include/recipecard.css @@ -9,11 +9,11 @@ height: 500px; width: 800px; padding: 0; - margin-top: 50px; + margin: 1em; border-style:solid; border-width: 2px; border-color: #555; - margin-right: 15px; + } .card header { background: linear-gradient(white, white 33px, pink 35px, pink 36px); @@ -22,7 +22,7 @@ .card-title { position: relative; left: 1em; - top: 8px; + top: 6px; font-size: 1.5em; font-weight: bold; } diff --git a/templates/article.html b/templates/article.html index cc2084d..589adf3 100644 --- a/templates/article.html +++ b/templates/article.html @@ -60,7 +60,7 @@ {% block somemorehead %} {% if article.specialcss %} - + {% endif %} {% endblock somemorehead %} diff --git a/test/pelicanconf.py b/test/pelicanconf.py index 56e5aa2..22254f1 100644 --- a/test/pelicanconf.py +++ b/test/pelicanconf.py @@ -118,7 +118,8 @@ COMMENT_EMBED ='' # This is the emdbed code that you need for the comments. # Setting up the pelican-photos plugin "stuff" -PHOTO_LIBRARY = "A:/Drive/Pictures/publichomepage" +#PHOTO_LIBRARY = "A:/Drive/Pictures/publichomepage" +PHOTO_LIBRARY = "/home/jeff/DriveAragorn/Pictures/publichomepage" PHOTO_GALLERY = (4096, 4096, 90) # This is the maximum length, height and jpg quality PHOTO_ARTICLE = (1920, 1920, 80) PHOTO_SQUARE_THUMB = True