Lorenzo Dellacà
67344effd0
CSS code was divided in multiple files, however this was not practical for organization since different pages needed different CSS classes one another, that were in most of those CSS files. This commit brings (mostly) everything in one file with a table of contents on top. An exception is made for fonts, that are now in a separate "fonts.css" file, since they contain fundamentally different things. Classes organization is not yet complete, however a great part was done. Next commits will finalize this organization and finish moving classes. Signed-off-by: Lorenzo Dellacà <lorenzo.dellaca@mind-overflow.net>
45 lines
1.2 KiB
Handlebars
Executable File
45 lines
1.2 KiB
Handlebars
Executable File
{{!< default}}
|
|
|
|
<div class="mind-index-title_main unselectable" id="vantajs">
|
|
<h1>{{@site.title}}</h1>
|
|
<i class="mind-global-title_arrow-down mind-global-title_arrow-down-big"></i>
|
|
</div>
|
|
|
|
|
|
<main>
|
|
<nav class="mind-global-navbar_secondary unselectable">
|
|
{{navigation type="secondary"}}
|
|
</nav>
|
|
<div class="mind-content_main">
|
|
<div class="mind-feed-content_main">
|
|
|
|
<!-- Looping through every post -->
|
|
{{#foreach posts}}
|
|
{{> "post-card-big"}}
|
|
{{/foreach}}
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- 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>
|