logo

Grimgrains

[mirror] Plant-based cooking website <https://grimgrains.com/>
commit: 1e1268c29428995993ed9532c4d1aa90784db50e
parent 4473f9a6d178aff23702a6e1aff7174785a84377
Author: microlith57 <microlith57@gmail.com>
Date:   Tue,  8 Oct 2019 09:08:24 +1300

Merge remote-tracking branch 'hundredrabbits/master'


Diffstat:

Mindex.html4++--
Mlinks/main.css9+++++++--
Mscripts/database/pages.ndtl3+--
3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/index.html b/index.html @@ -2,8 +2,8 @@ <html lang="en"> <head> <meta charset="utf-8"> - <meta name="viewport" content="width=800, initial-scale=1.0"> - <meta name="description" content="Grimgrains is an illustrated food blog, it features plant-based (vegan) recipes with a strong attention to colour and form."> + <meta name="description" content="Grim Grains is an illustrated food blog, it features plant-based (vegan) recipes with a strong attention to colour and form."> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Twitter --> <meta name="twitter:card" content="summary"> <meta name="twitter:site" content="@RekkaBell"> diff --git a/links/main.css b/links/main.css @@ -17,7 +17,7 @@ h1,h2,h3,h4 { font-weight: normal; font-family: 'alte_haas_grotesk_bold'; margin #view #header #logo a { cursor: pointer; transition: all 250ms; } #view #header #logo a:hover { opacity: 0.7 } #view #header #logo a img { max-width: 240px; display: block; margin:0px auto; margin-bottom:30px; } -#view #header ul { display: block;line-height: 40px; border-bottom: 2px solid black; margin-bottom:30px } +#view #header ul { display: block;line-height: 40px; border-bottom: 2px solid black; margin-bottom:30px; overflow: hidden;height: 40px; } #view #header ul li { display: inline-block;border-top-left-radius: 3px;border-top-right-radius: 3px; margin-right:10px; margin-bottom: -2px; line-height: 40px} #view #header ul li:hover { } #view #header ul li a { display: inline-block; font-family: 'alte_haas_grotesk_bold'; font-size:14px; line-height: 40px; border-bottom:2px solid transparent } @@ -70,7 +70,7 @@ h1,h2,h3,h4 { font-weight: normal; font-family: 'alte_haas_grotesk_bold'; margin #view #core #content ul.ingredients li.ingredient { width: 100px;margin-left:-20px;min-height: 210px;display: inline-block;text-align: center;vertical-align: top;border: 2px dashed transparent;border-radius: 10px; } #view #core #content ul.ingredients li.ingredient:hover t.name { text-decoration: underline; } #view #core #content ul.ingredients li.ingredient.missing t.name { font-style: italic } -#view #core #content ul.ingredients li.ingredient img { max-width: 100% } +#view #core #content ul.ingredients li.ingredient img { max-width: 100%; display: block } #view #core #content ul.ingredients li.ingredient t.name { display: block; font-family: 'alte_haas_grotesk_bold'; font-size:14px; margin-bottom: 5px;padding:0px 10px } #view #core #content ul.ingredients li.ingredient t.quantity { display: block; font-size:12px; } @@ -97,3 +97,8 @@ h1,h2,h3,h4 { font-weight: normal; font-family: 'alte_haas_grotesk_bold'; margin #view #core #related li { width:100%; clear:both; float:none; height:330px; } #view #core #related li a.photo { height:200px; } } + +@media (max-width: 500px) { + #view { padding:30px 15px; } + #view #header ul li.right { display: none } +} diff --git a/scripts/database/pages.ndtl b/scripts/database/pages.ndtl @@ -6,8 +6,7 @@ ABOUT & This website showcases our favourite creations, along with hand-drawn illustrations for {{each ingredient|ingredients-list}}. You can contact us on our twitter {{@grimgrains|http://twitter.com/grimgrains}}, or by email at rekkabell at gmail dot com. * Copyright policy & You may adapt our recipes, but a link back or mention would be nice :). - * Disclaimer - & The content of grimgrains.com, unless stated otherwise, is © hundredrabbits. All rights reserved. Photographs, drawings or text should not be used, published, reprinted or modified without our permission. + & The assets of grimgrains.com, unless stated otherwise, are {{©hundredrabbits|http://100r.co/}}. Photographs, drawings or text should not be used, published, reprinted or modified without our permission. The source code of the website is under the {{MIT License|https://github.com/hundredrabbits/Grimgrains/blob/master/LICENSE}}. & All recipes featured on grimgrains.com are our own, unless stated otherwise. The information is for food enthusiasts like ourselves, we do not claim to be all-knowing. Nor are we health professionals. Our views are our own, we encourage openness and curiosity whenever possible. * Privacy statement & We reserve the right to alter the blog at our own discretion. Words addressed to us in private will not be shared, nor will we use any of it in future publications.