edited fonts
This commit is contained in:
@@ -3,10 +3,12 @@
|
|||||||
|
|
||||||
let {
|
let {
|
||||||
title,
|
title,
|
||||||
|
date = "",
|
||||||
subtitle = "",
|
subtitle = "",
|
||||||
banner = "",
|
banner = "",
|
||||||
}: {
|
}: {
|
||||||
title: string;
|
title: string;
|
||||||
|
date?: string;
|
||||||
subtitle?: string;
|
subtitle?: string;
|
||||||
banner?: string;
|
banner?: string;
|
||||||
} = $props();
|
} = $props();
|
||||||
@@ -20,6 +22,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="text-container">
|
<div class="text-container">
|
||||||
<h1 class="title">{title}</h1>
|
<h1 class="title">{title}</h1>
|
||||||
|
{#if date}
|
||||||
|
<p class="date">{date}</p>
|
||||||
|
{/if}
|
||||||
{#if subtitle}
|
{#if subtitle}
|
||||||
<p class="subtitle">{subtitle}</p>
|
<p class="subtitle">{subtitle}</p>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -50,9 +55,7 @@
|
|||||||
|
|
||||||
.text-container {
|
.text-container {
|
||||||
width: 48%;
|
width: 48%;
|
||||||
margin-top: auto;
|
margin: auto 24px;
|
||||||
margin-bottom: auto;
|
|
||||||
padding-left: 24px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.container img {
|
.container img {
|
||||||
@@ -68,12 +71,15 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
font-style: italic;
|
font-weight: 900;
|
||||||
|
/* font-style: italic; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.date {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.subtitle {
|
.subtitle {
|
||||||
font-size: 1.2rem;
|
/* font-style: italic; */
|
||||||
line-height: 1.6rem;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -39,6 +39,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
font-family: var(--font-title);
|
||||||
|
font-size: 2.4rem;
|
||||||
|
line-height: 2.7rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@@ -47,6 +50,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
|
font-weight: 900;
|
||||||
background-image: linear-gradient(to right, #00000088, #000000AA);
|
background-image: linear-gradient(to right, #00000088, #000000AA);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,11 +13,38 @@
|
|||||||
<Footer />
|
<Footer />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@import url('https://fonts.upset.dev/css2?family=Reddit+Mono:wght@200..900&family=Reddit+Sans+Condensed:wght@200..900&family=Reddit+Sans:ital,wght@0,200..900;1,200..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
|
/* @import url('https://fonts.upset.dev/css2?family=Reddit+Mono:wght@200..900&family=Reddit+Sans+Condensed:wght@200..900&family=Reddit+Sans:ital,wght@0,200..900;1,200..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap'); */
|
||||||
|
|
||||||
|
@import url('https://fonts.upset.dev/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Michroma&family=Space+Grotesk:wght@300..700&display=swap');
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Monument';
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: normal;
|
||||||
|
src: url('/fonts/ppmonument/regular.otf');
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Monument';
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: italic;
|
||||||
|
src: url('/fonts/ppmonument/regularitalic.otf');
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Monument';
|
||||||
|
font-weight: 900;
|
||||||
|
font-style: normal;
|
||||||
|
src: url('/fonts/ppmonument/black.otf');
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Monument';
|
||||||
|
font-weight: 900;
|
||||||
|
font-style: italic;
|
||||||
|
src: url('/fonts/ppmonument/blackitalic.otf');
|
||||||
|
}
|
||||||
|
|
||||||
:global {
|
:global {
|
||||||
:root {
|
:root {
|
||||||
--color-text: #e0e0e0;
|
--color-text: #d0d0d0;
|
||||||
--color-text-img: invert(98%) sepia(1%) saturate(4643%) hue-rotate(297deg) brightness(115%) contrast(76%);
|
--color-text-img: invert(98%) sepia(1%) saturate(4643%) hue-rotate(297deg) brightness(115%) contrast(76%);
|
||||||
--color-text-dark: #1e1e1e;
|
--color-text-dark: #1e1e1e;
|
||||||
--color-highlight: #72b175;
|
--color-highlight: #72b175;
|
||||||
@@ -35,8 +62,9 @@
|
|||||||
--color-link-visited: #ffd7f0;
|
--color-link-visited: #ffd7f0;
|
||||||
--color-link-hovered: #ffdad5;
|
--color-link-hovered: #ffdad5;
|
||||||
|
|
||||||
--font-sans-serif: 'Reddit Sans', 'Lato', sans-serif;
|
--font-title: 'Monument';
|
||||||
--font-mono: 'Reddit Mono', monospace;
|
--font-sans-serif: 'Manrope', 'Lato', sans-serif;
|
||||||
|
--font-mono: 'IBM Plex Mono', monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@@ -46,7 +74,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
||||||
font-family: var(--font-sans-serif);
|
font-family: var(--font-sans-serif);
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
color: var(--color-text); /* text colour */
|
color: var(--color-text); /* text colour */
|
||||||
@@ -70,12 +97,13 @@
|
|||||||
|
|
||||||
p, span, li, pre, a {
|
p, span, li, pre, a {
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
line-height: 1.6rem;
|
line-height: 1.7rem;
|
||||||
|
font-weight: 550;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 3rem;
|
font-size: 3.5rem;
|
||||||
line-height: 3.5rem;
|
line-height: 4rem;
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
@@ -91,7 +119,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-weight: 900;
|
font-weight: 500;
|
||||||
|
font-family: var(--font-title);
|
||||||
color: var(--color-highlight);
|
color: var(--color-highlight);
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
@@ -100,7 +129,8 @@
|
|||||||
|
|
||||||
code, .code-block {
|
code, .code-block {
|
||||||
font-family: var(--font-mono);
|
font-family: var(--font-mono);
|
||||||
font-size: 0.9em;
|
font-size: 1.0em;
|
||||||
|
font-weight: 500;
|
||||||
background-color: var(--color-background-highlight);
|
background-color: var(--color-background-highlight);
|
||||||
/* color: var(--color-background); */
|
/* color: var(--color-background); */
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|||||||
@@ -24,12 +24,12 @@
|
|||||||
<BannerTitleAlt
|
<BannerTitleAlt
|
||||||
title="My Disordered Projects"
|
title="My Disordered Projects"
|
||||||
banner="/projects/banner.webp"
|
banner="/projects/banner.webp"
|
||||||
subtitle="Here's a listing of some of my more noteworthy projects that can be found on the web."
|
subtitle="Here's a collection of my more noteworthy projects that can be found on the web in some way: projects in programming, 3D modelling, and music production."
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Content>
|
<Content>
|
||||||
<TableOfContents />
|
<TableOfContents />
|
||||||
|
|
||||||
<h2>Active Projects</h2>
|
<h2>Active Projects</h2>
|
||||||
{#each getActiveProjects(projects, true) as activeProject}
|
{#each getActiveProjects(projects, true) as activeProject}
|
||||||
{@render projectSummary({ project: activeProject })}
|
{@render projectSummary({ project: activeProject })}
|
||||||
@@ -65,10 +65,6 @@
|
|||||||
{/snippet}
|
{/snippet}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.asdf {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
.subtitle {
|
.subtitle {
|
||||||
color: var(--color-highlight);
|
color: var(--color-highlight);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|||||||
BIN
static/fonts/ppmonument/black.otf
Normal file
BIN
static/fonts/ppmonument/black.otf
Normal file
Binary file not shown.
BIN
static/fonts/ppmonument/blackitalic.otf
Normal file
BIN
static/fonts/ppmonument/blackitalic.otf
Normal file
Binary file not shown.
BIN
static/fonts/ppmonument/light.otf
Normal file
BIN
static/fonts/ppmonument/light.otf
Normal file
Binary file not shown.
BIN
static/fonts/ppmonument/lightitalic.otf
Normal file
BIN
static/fonts/ppmonument/lightitalic.otf
Normal file
Binary file not shown.
BIN
static/fonts/ppmonument/regular.otf
Normal file
BIN
static/fonts/ppmonument/regular.otf
Normal file
Binary file not shown.
BIN
static/fonts/ppmonument/regularitalic.otf
Normal file
BIN
static/fonts/ppmonument/regularitalic.otf
Normal file
Binary file not shown.
Reference in New Issue
Block a user