this is actually the first commit - theme made on the base CSS/HTML of the already existing (but handmade) mind-overflow.net website.

This commit is contained in:
Lorenzo Dellacà
2020-08-12 00:30:29 +02:00
parent 1b10a2e2a7
commit c64c2985ad
58 changed files with 2580 additions and 8288 deletions

View File

@@ -1,15 +1,31 @@
{{!< default}}
<div class="main" id="vantajs">
<h1>{{@site.title}}</h1>
<div class="gh-page">
<div class="gh-container">
<div class="navbar">
{{navigation}}
</div>
</div>
<div class="gh-postfeed">
{{#foreach posts visibility="all"}}
{{> "card"}} {{!-- partials/card.hbs --}}
{{/foreach}}
</div>
</div>
</div>
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
<script>
if(window.screen.width > 800)
{
document.write('<script src="{{asset "js/three.r95.min.js"}}"><\/script>' +
'<script src="{{asset "js/vanta.net.min.js"}}"><\/script>' +
'<script>' +
'VANTA.NET({'+
'el: "#vantajs",'+
'color: 0x3fd5ff,'+
'backgroundColor: 0x190f2b,'+
'mouseControls: true,'+
'touchControls: true,'+
'minHeight: 200.00,'+
'minWidth: 200.00,'+
'scale: 1.00,'+
'scaleMobile: 1.00'+
'})'+
'<\/script>');
}
</script>