6 changed files with 155 additions and 68 deletions
@ -1,7 +1,25 @@ |
|||
extends /layouts/empty.pug |
|||
extends /layouts/root.pug |
|||
|
|||
block pageHead |
|||
block $$head |
|||
style |
|||
include ./style.css |
|||
|
|||
block pageContent |
|||
.container.my-5 |
|||
include /htmx/markdown/index.pug |
|||
block $$content |
|||
.page-layout.bg-gray-50 |
|||
navbar |
|||
//- .placeholder(class="h-[75px] w-full opacity-0") |
|||
.fixed.top-0.left-0.right-0.z-10(class="h-[75px]") |
|||
.container.h-full |
|||
a.h-full.flex.items-center.float-left.text-2xl.font-bold(href="/") 烟霞渡 |
|||
canvas#background.absolute.block.top-0.left-0.z-0 |
|||
.container.relative(class="mt-[75px] pt-10") |
|||
include /htmx/markdown/index.pug |
|||
|
|||
|
|||
block $$scripts |
|||
+js("https://cdnjs.cloudflare.com/ajax/libs/particlesjs/2.2.2/particles.min.js") |
|||
script. |
|||
Particles.init({ |
|||
selector: '#background', |
|||
maxParticles: 350, |
|||
}); |
|||
|
|||
@ -0,0 +1,22 @@ |
|||
.page-layout { |
|||
flex: 1; |
|||
display: flex; |
|||
flex-direction: column; |
|||
width: 100%; |
|||
position: relative; |
|||
} |
|||
|
|||
.container { |
|||
max-width: 1226px; |
|||
margin-right: auto; |
|||
margin-left: auto; |
|||
/* padding-left: 20px; |
|||
padding-right: 20px; */ |
|||
} |
|||
|
|||
@media (max-width: 640px) { |
|||
.container { |
|||
padding-left: 10px; |
|||
padding-right: 10px; |
|||
} |
|||
} |
|||
@ -0,0 +1,22 @@ |
|||
.page-layout { |
|||
flex: 1; |
|||
display: flex; |
|||
flex-direction: column; |
|||
width: 100%; |
|||
position: relative; |
|||
} |
|||
|
|||
.container { |
|||
max-width: 1226px; |
|||
margin-right: auto; |
|||
margin-left: auto; |
|||
/* padding-left: 20px; |
|||
padding-right: 20px; */ |
|||
} |
|||
|
|||
@media (max-width: 640px) { |
|||
.container { |
|||
padding-left: 10px; |
|||
padding-right: 10px; |
|||
} |
|||
} |
|||
Loading…
Reference in new issue