changed fonts; changed colour for project n5 devlogs to red; added page for next devlog with new banner

This commit is contained in:
2025-04-27 16:51:48 +02:00
parent c8e3fa3f70
commit 972efca6af
23 changed files with 155 additions and 26 deletions

View File

@@ -22,11 +22,11 @@
</div>
<div class="text-container">
<h1 class="title">{title}</h1>
{#if date}
<p class="date">{date}</p>
{/if}
{#if subtitle}
<p class="subtitle">{subtitle}</p>
<p class="subtitle">[ {subtitle} ]</p>
{/if}
{#if date}
<p class="date">» {date}</p>
{/if}
</div>
</div>
@@ -51,6 +51,7 @@
.img-container {
flex-grow: 1;
width: 50%;
}
.text-container {
@@ -76,10 +77,18 @@
}
.date {
font-family: var(--font-title);
font-weight: 800;
font-size: 1.3rem;
margin-top: 0;
color: var(--color-highlight);
}
.subtitle {
/* font-style: italic; */
font-style: italic;
font-family: var(--font-mono);
font-weight: 800;
font-size: 1.3rem;
margin-top: 0;
}
</style>

View File

@@ -51,7 +51,7 @@
right: 0;
bottom: 0px;
font-weight: 900;
background-image: linear-gradient(to right, #00000088, #000000AA);
background-image: linear-gradient(to right, #1b1b1bFF, #1b1b1bBF);
}
.subtitle {

View File

@@ -0,0 +1,21 @@
<div class="content">
<div class="side">
<slot name="side" />
</div>
<div class="main">
<slot name="main" />
</div>
<div class="side"></div>
</div>
<style>
.content {
max-width: 2000px;
margin: 0 auto 228px;
display: flex;
flex-direction: row;
}
.side {
min-width: 400px;
}
</style>

View File

@@ -75,6 +75,8 @@
.entry p:nth-child(2) {
font-size: 20px;
margin-top: 12px;
font-family: var(--font-title);
font-size: 1.1rem;
font-weight: 800;
font-style: italic;
}

View File

@@ -88,7 +88,8 @@
}
.toc-level-0 a {
padding-left: 44px;
font-weight: 800;
padding-left: 44px;
}
.toc-level-1 a {
padding-left: 68px;