edited fonts
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
|
||||
let {
|
||||
title,
|
||||
date = "",
|
||||
subtitle = "",
|
||||
banner = "",
|
||||
}: {
|
||||
title: string;
|
||||
date?: string;
|
||||
subtitle?: string;
|
||||
banner?: string;
|
||||
} = $props();
|
||||
@@ -20,6 +22,9 @@
|
||||
</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>
|
||||
{/if}
|
||||
@@ -50,9 +55,7 @@
|
||||
|
||||
.text-container {
|
||||
width: 48%;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
padding-left: 24px;
|
||||
margin: auto 24px;
|
||||
}
|
||||
|
||||
.container img {
|
||||
@@ -68,12 +71,15 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0px;
|
||||
font-style: italic;
|
||||
font-weight: 900;
|
||||
/* font-style: italic; */
|
||||
}
|
||||
|
||||
.date {
|
||||
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.6rem;
|
||||
font-style: italic;
|
||||
/* font-style: italic; */
|
||||
}
|
||||
</style>
|
||||
@@ -39,6 +39,9 @@
|
||||
}
|
||||
|
||||
.title {
|
||||
font-family: var(--font-title);
|
||||
font-size: 2.4rem;
|
||||
line-height: 2.7rem;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
@@ -47,6 +50,7 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0px;
|
||||
font-weight: 900;
|
||||
background-image: linear-gradient(to right, #00000088, #000000AA);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,11 +13,38 @@
|
||||
<Footer />
|
||||
|
||||
<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 {
|
||||
: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-dark: #1e1e1e;
|
||||
--color-highlight: #72b175;
|
||||
@@ -35,8 +62,9 @@
|
||||
--color-link-visited: #ffd7f0;
|
||||
--color-link-hovered: #ffdad5;
|
||||
|
||||
--font-sans-serif: 'Reddit Sans', 'Lato', sans-serif;
|
||||
--font-mono: 'Reddit Mono', monospace;
|
||||
--font-title: 'Monument';
|
||||
--font-sans-serif: 'Manrope', 'Lato', sans-serif;
|
||||
--font-mono: 'IBM Plex Mono', monospace;
|
||||
}
|
||||
|
||||
html {
|
||||
@@ -46,7 +74,6 @@
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
font-family: var(--font-sans-serif);
|
||||
font-size: 1.1rem;
|
||||
color: var(--color-text); /* text colour */
|
||||
@@ -70,12 +97,13 @@
|
||||
|
||||
p, span, li, pre, a {
|
||||
color: var(--color-text);
|
||||
line-height: 1.6rem;
|
||||
line-height: 1.7rem;
|
||||
font-weight: 550;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
line-height: 3.5rem;
|
||||
font-size: 3.5rem;
|
||||
line-height: 4rem;
|
||||
}
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
@@ -91,7 +119,8 @@
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: 900;
|
||||
font-weight: 500;
|
||||
font-family: var(--font-title);
|
||||
color: var(--color-highlight);
|
||||
margin-top: 12px;
|
||||
margin-bottom: 8px;
|
||||
@@ -100,7 +129,8 @@
|
||||
|
||||
code, .code-block {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.9em;
|
||||
font-size: 1.0em;
|
||||
font-weight: 500;
|
||||
background-color: var(--color-background-highlight);
|
||||
/* color: var(--color-background); */
|
||||
border-radius: 8px;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<BannerTitleAlt
|
||||
title="My Disordered Projects"
|
||||
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>
|
||||
@@ -65,10 +65,6 @@
|
||||
{/snippet}
|
||||
|
||||
<style>
|
||||
.asdf {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.subtitle {
|
||||
color: var(--color-highlight);
|
||||
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