edited fonts
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user