mirror of
https://github.com/Fluffy-Bean/website.git
synced 2025-01-14 10:35:14 +00:00
Yeet goog fonts (smelly)
Nicer accent colour
This commit is contained in:
parent
ec80ed92a4
commit
ab8e07651a
|
@ -19,7 +19,7 @@ import leg from "../assets/leg.webp";
|
||||||
const data = await request.json();
|
const data = await request.json();
|
||||||
|
|
||||||
( document.querySelector("#music-image") as HTMLImageElement ).src = data["track"]["image"][1]["#text"];
|
( document.querySelector("#music-image") as HTMLImageElement ).src = data["track"]["image"][1]["#text"];
|
||||||
( document.querySelector("#music-title") as HTMLParagraphElement ).innerText = `Listening to ${data["track"]["name"]}`;
|
( document.querySelector("#music-title") as HTMLParagraphElement ).innerText = `${data["track"]["name"]}`;
|
||||||
( document.querySelector("#music-artist") as HTMLParagraphElement ).innerText = `by ${data["track"]["artist"]["#text"]}`;
|
( document.querySelector("#music-artist") as HTMLParagraphElement ).innerText = `by ${data["track"]["artist"]["#text"]}`;
|
||||||
( document.querySelector("#music-album") as HTMLParagraphElement ).innerText = `on ${data["track"]["album"]["#text"]}`;
|
( document.querySelector("#music-album") as HTMLParagraphElement ).innerText = `on ${data["track"]["album"]["#text"]}`;
|
||||||
});
|
});
|
||||||
|
@ -68,6 +68,6 @@ import leg from "../assets/leg.webp";
|
||||||
}
|
}
|
||||||
|
|
||||||
#music-title {
|
#music-title {
|
||||||
font-weight: bold;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -18,9 +18,7 @@ const { title} = Astro.props;
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
|
|
||||||
<link rel="icon" type="image/webp" href="/src/assets/leg.webp" />
|
<link rel="icon" type="image/webp" href="/src/assets/leg.webp" />
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="stylesheet" href="https://api.fontshare.com/v2/css?f[]=jet-brains-mono@400&f[]=general-sans@1&display=swap">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
||||||
<link href="https://fonts.googleapis.com/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&display=swap" rel="stylesheet">
|
|
||||||
|
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -103,7 +103,7 @@ const date = new Date(post.data.pubDate);
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: $orange;
|
color: $accent;
|
||||||
transition: all 0.1s ease-in-out;
|
transition: all 0.1s ease-in-out;
|
||||||
|
|
||||||
&:hover, &:focus-visible {
|
&:hover, &:focus-visible {
|
||||||
|
@ -144,7 +144,7 @@ const date = new Date(post.data.pubDate);
|
||||||
|
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
||||||
border-left: 2px solid $orange;
|
border-left: 2px solid $accent;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
|
|
@ -34,10 +34,9 @@ const posts = await getPosts("posts");
|
||||||
My favorite language currently is Go, but I also know a few other languages that are listed below!
|
My favorite language currently is Go, but I also know a few other languages that are listed below!
|
||||||
<br><br>
|
<br><br>
|
||||||
I use Arch btw.
|
I use Arch btw.
|
||||||
|
<br><br>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section">
|
|
||||||
<ul class="pill-list" role="list">
|
<ul class="pill-list" role="list">
|
||||||
<li><a class="button" href="https://www.twitter.com/fluffybeanUwU" target="_blank">Twitter</a></li>
|
<li><a class="button" href="https://www.twitter.com/fluffybeanUwU" target="_blank">Twitter</a></li>
|
||||||
<li><a class="button" href="https://bsky.app/profile/leggy.dev" target="_blank">BlueSky</a></li>
|
<li><a class="button" href="https://bsky.app/profile/leggy.dev" target="_blank">BlueSky</a></li>
|
||||||
|
|
|
@ -4,12 +4,16 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-family: "IBM Plex Mono", monospace;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
|
font-family: $font-regular;
|
||||||
|
font-weight: 420;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
text-size-adjust: none;
|
text-size-adjust: none;
|
||||||
-webkit-text-size-adjust: none;
|
-webkit-text-size-adjust: none;
|
||||||
-moz-text-size-adjust: none;
|
-moz-text-size-adjust: none;
|
||||||
|
@ -27,11 +31,20 @@ body {
|
||||||
color: $light;
|
color: $light;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
ul[role="list"],
|
ul[role="list"],
|
||||||
ol[role="list"] {
|
ol[role="list"] {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code *, pre * {
|
||||||
|
font-family: $font-mono !important;
|
||||||
|
}
|
||||||
|
|
||||||
img,
|
img,
|
||||||
picture {
|
picture {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
$dark: #312620;
|
$dark: #312620;
|
||||||
$gray: #382e28;
|
$gray: #382e28;
|
||||||
$light: #f0e7e4;
|
$light: #f0e7e4;
|
||||||
$orange: #f2672c;
|
$accent: #b7a997;
|
||||||
$green: #1f2d23;
|
|
||||||
|
|
||||||
$radius: 4px;
|
$radius: 4px;
|
||||||
|
|
||||||
|
$font-regular: 'General Sans', sans-serif;
|
||||||
|
$font-mono: 'JetBrains Mono', sans-serif;
|
||||||
|
|
Loading…
Reference in a new issue