logo

Grimgrains

[mirror] Plant-based cooking website <https://grimgrains.com/>
commit: fd8a69abd58e036fa3bf59c72f68eb70762b01cf
parent 6fbfb5b0140b7ca93fb8add1a3d089db45471f06
Author: microlith57 <microlith57@gmail.com>
Date:   Thu, 12 Dec 2019 15:16:22 +1300

Merge branch 'master' into feature/accessibility

Diffstat:

Mindex.html2+-
Mlinks/main.css5-----
Mscripts/helpers.js3++-
3 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/index.html b/index.html @@ -18,7 +18,7 @@ <meta property="og:image" content="https://grimgrains.com/media/services/icon.jpg" /> <meta property="og:description" content="An illustrated food blog." /> <meta property="og:site_name" content="Grimgrains" /> - + <script type="text/javascript" src="scripts/helpers.js"></script> <script type="text/javascript" src="scripts/lib/riven.js"></script> <script type="text/javascript" src="scripts/graph.js"></script> diff --git a/links/main.css b/links/main.css @@ -37,11 +37,6 @@ h1,h2,h3,h4 { font-weight: normal; font-family: 'alte_haas_grotesk_bold'; margin #view #core #content h2.serving { float:right; font-size:32px; line-height: 40px } #view #core #content h3 { text-transform: capitalize; font-size:24px; border-bottom:2px solid black; line-height: 45px } #view #core #content h4 { text-transform: capitalize; font-size:20px; line-height: 45px } -#view #core #content .jump { padding: 5px 0; text-transform: lowercase; font-size: initial; position: absolute; right: 0; } -#view #core #content .jump:before { content: '(jump to '; } -#view #core #content .jump::after { content: ')'; } -#view #core #content .jump:hover { text-decoration: 2px solid black underline;} -#view #core #content .jump:focus { text-decoration: 2px solid black underline;} #view #core #content hr.stroke { border-bottom:2px solid black; max-width: 600px; margin-bottom:30px; } #view #core #content p { font-size:18px; margin-bottom: 30px; max-width:600px; line-height: 26px } #view #core #content p.bref { font-size:28px; margin-bottom: 45px; line-height: 34px } diff --git a/scripts/helpers.js b/scripts/helpers.js @@ -36,4 +36,4 @@ function Š (target) { if (!elem) { console.error('Undefined jump target', target); return } elem.scrollIntoView() elem.focus() -} +} +\ No newline at end of file