Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 40 additions & 1 deletion css/impactmojo-kit.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
link it BEFORE the site's own stylesheet, then reference the --imx-*
tokens (or use the .imx-* components) instead of hard-coding brand values.

Version: 1.0.0
Version: 1.1.0
========================================================================== */

/* ---------- Canonical brand tokens (light) ---------- */
Expand Down Expand Up @@ -97,3 +97,42 @@

/* Focus ring */
.imx-focusable:focus-visible { outline: 2px solid var(--imx-accent); outline-offset: 2px; border-radius: 4px; }

/* ==========================================================================
Shared shell — canonical footer (identical across every ImpactMojo app)
========================================================================== */
.imx-footer {
background: #12161c;
color: rgba(255,255,255,0.72);
border-top: 3px solid transparent;
border-image: var(--imx-brand-grad) 1;
padding: 28px 0;
margin-top: auto;
}
.imx-footer-inner {
max-width: 1120px; margin: 0 auto; padding: 0 24px;
display: flex; flex-direction: column; gap: 14px;
}
.imx-footer-brandrow {
display: flex; align-items: center; justify-content: space-between;
gap: 16px; flex-wrap: wrap;
}
.imx-footer-brand {
display: inline-flex; align-items: center; gap: 9px;
color: #fff; font-weight: 700; font-family: var(--imx-font-serif);
text-decoration: none; font-size: 1rem;
}
.imx-footer-brand:hover { color: #fff; text-decoration: none; }
.imx-footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.imx-footer-nav a {
color: rgba(255,255,255,0.72); font-size: 0.85rem; font-weight: 600;
text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 1px;
}
.imx-footer-nav a:hover { color: #fff; border-bottom-color: var(--imx-accent-2); }
.imx-footer-nav a.current { color: #fff; border-bottom-color: var(--imx-accent-2); }
.imx-footer-tagline {
font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.55); max-width: 660px; margin: 0;
}
.imx-footer-tagline strong { color: rgba(255,255,255,0.85); }
.imx-footer-tagline a { color: rgba(255,255,255,0.78); text-decoration: underline; }
@media (max-width: 600px) { .imx-footer-brandrow { flex-direction: column; align-items: flex-start; } }
20 changes: 9 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,17 +286,15 @@ <h3>Suggest a Resource</h3>
</section>
</main>

<footer class="site-footer">
<div class="container">
<div class="footer-content">
<p>&copy; 2026 <a href="https://www.impactmojo.in" target="_blank" rel="noopener">ImpactMojo</a>. Development Discourses is open-source.</p>
<div class="footer-links">
<a href="https://github.com/Varnasr/development-discourses" target="_blank" rel="noopener">GitHub</a>
<a href="https://www.impactmojo.in" target="_blank" rel="noopener">ImpactMojo</a>
</div>
</div>
</div>
</footer>
<footer class="imx-footer" role="contentinfo">
<div class="imx-footer-inner">
<div class="imx-footer-brandrow">
<a class="imx-footer-brand" href="https://www.impactmojo.in" target="_blank" rel="noopener"><span class="imx-brand-mark"><svg viewBox="0 0 24 24" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg></span><span>ImpactMojo</span></a>
<nav class="imx-footer-nav" aria-label="ImpactMojo libraries"><a href="https://varnasr.github.io/dev-case-studies/">Case Studies</a><a href="https://www.impactmojo.in/devdiscourses" class="current">Discourses</a><a href="https://impactlex.netlify.app/">ImpactLex</a><a href="https://varnasr.github.io/PolicyDhara/">PolicyDhara</a></nav>
</div>
<p class="imx-footer-tagline"><strong>Development Discourses</strong> — a curated open-access library for development practitioners in South Asia. &copy; 2026 <a href="https://www.impactmojo.in" target="_blank" rel="noopener">ImpactMojo</a> · content CC BY-NC-SA 4.0 · <a href="https://github.com/Varnasr/development-discourses" target="_blank" rel="noopener">open source</a>.</p>
</div>
</footer>

<button class="back-to-top" id="backToTop" title="Back to top" aria-label="Back to top">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="18 15 12 9 6 15"></polyline></svg>
Expand Down
20 changes: 9 additions & 11 deletions resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,17 +207,15 @@ <h3>Recently Viewed</h3>
</section>
</main>

<footer class="site-footer">
<div class="container">
<div class="footer-content">
<p>&copy; 2026 <a href="https://www.impactmojo.in" target="_blank" rel="noopener">ImpactMojo</a>. Development Discourses is open-source.</p>
<div class="footer-links">
<a href="https://github.com/Varnasr/development-discourses" target="_blank" rel="noopener">GitHub</a>
<a href="https://www.impactmojo.in" target="_blank" rel="noopener">ImpactMojo</a>
</div>
</div>
</div>
</footer>
<footer class="imx-footer" role="contentinfo">
<div class="imx-footer-inner">
<div class="imx-footer-brandrow">
<a class="imx-footer-brand" href="https://www.impactmojo.in" target="_blank" rel="noopener"><span class="imx-brand-mark"><svg viewBox="0 0 24 24" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg></span><span>ImpactMojo</span></a>
<nav class="imx-footer-nav" aria-label="ImpactMojo libraries"><a href="https://varnasr.github.io/dev-case-studies/">Case Studies</a><a href="https://www.impactmojo.in/devdiscourses" class="current">Discourses</a><a href="https://impactlex.netlify.app/">ImpactLex</a><a href="https://varnasr.github.io/PolicyDhara/">PolicyDhara</a></nav>
</div>
<p class="imx-footer-tagline"><strong>Development Discourses</strong> — a curated open-access library for development practitioners in South Asia. &copy; 2026 <a href="https://www.impactmojo.in" target="_blank" rel="noopener">ImpactMojo</a> · content CC BY-NC-SA 4.0 · <a href="https://github.com/Varnasr/development-discourses" target="_blank" rel="noopener">open source</a>.</p>
</div>
</footer>

<script src="js/litmap.js"></script>
<script src="js/resource.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Bump CACHE_VERSION to invalidate old caches on the next visit.
*/

const CACHE_VERSION = 'dd-v2';
const CACHE_VERSION = 'dd-v3';
const SHELL_CACHE = CACHE_VERSION + '-shell';
const DATA_CACHE = CACHE_VERSION + '-data';

Expand Down
Loading