commit c64c74f91ee612acd16bffd65a63d8b28172efd9
parent 691f65258757ddd0e53c8f2ea03ccb7ffd4eb98d
Author: mjkloeckner <martinjkloeckner@gmail.com>
Date: Sat, 17 Feb 2024 21:12:18 -0300
Change main font to inconsolata
Diffstat:
6 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/about.html b/about.html
@@ -5,11 +5,10 @@
<title>About | Martin Klöckner's Webpage</title>
<!-- <link rel="preload" href="/fonts/Futura/FuturaBT-Medium.woff" as="font" type="font/woff" crossorigin="anonymous"> -->
- <link rel="preload" href="/fonts/Futura/FuturaBT-Medium.woff2" as="font" type="font/woff2" crossorigin="anonymous">
+ <!-- <link rel="preload" href="/fonts/Futura/FuturaBT-Medium.woff2" as="font" type="font/woff2" crossorigin="anonymous"> -->
<!-- <link rel="preload" href="/fonts/Futura/FuturaBT-Medium.ttf" as="font" type="font/ttf" crossorigin="anonymous"> -->
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <!--#include virtual="/common/head.shtml" -->
<link rel='stylesheet' type='text/css' href="/css/style.css">
<link rel='stylesheet' type='text/css' href="/css/about_style.css">
@@ -29,7 +28,7 @@
<p>I made this webpage because I wanted to write down and share random stuff that I've stumbled across, also because I wanted to know about all the web development fuss ngl.</p>
<p>Keep in mind that English is not my native language so if you encounter any orthographic mistakes (spoiler: you will) please, have patience (you can also notify me via mail, which I will be very grateful!)</p>
- <h4 style="color: tomato;"><u>Contact me!</u></h4>
+ <h2 style="color: tomato;" class="contact_me"><u>Contact me!</u></h2>
<ul>
<li>mail: <a href="mailto:mjkloeckner@gmail.com">mjkloeckner@gmail.com</a> </li>
<li>github: <a href="https://github.com/mjkloeckner">github.com/mjkloeckner</a></li>
diff --git a/blog.html b/blog.html
@@ -10,6 +10,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap" rel="stylesheet">
<link rel='stylesheet' type='text/css' href="/css/style.css">
<link rel="icon" href="/favicon.png">
diff --git a/common/head.shtml b/common/head.shtml
@@ -0,0 +1,4 @@
+<!-- <link rel="preload" href="/fonts/Futura/FuturaBT-Medium.woff2" as="font" type="font/woff2" crossorigin="anonymous"> -->
+<link rel="preconnect" href="https://fonts.googleapis.com">
+<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap" rel="stylesheet">
diff --git a/css/style.css b/css/style.css
@@ -61,7 +61,7 @@ body {
margin-left: .5em;
margin-right: .5em;
font-size: 16px;
- font-family: "DejaVu Sans", sans, "Verdana", sans-serif, "Georgia", serif;
+ font-family: inconsolata, "DejaVu Sans", sans, "Verdana", sans-serif, "Georgia", serif;
}
header {
@@ -112,7 +112,7 @@ header {
color: inherit;
transition: .75;
- font-family: "Futura Medium";
+ font-family: inconsolata, "Futura Medium";
}
#header_link:hover {
diff --git a/index.html b/index.html
@@ -13,11 +13,10 @@
<title>Martin Klöckner's Webpage</title>
<!-- <link rel="preload" href="/fonts/Futura/FuturaBT-Medium.woff" as="font" type="font/woff" crossorigin="anonymous"> -->
- <link rel="preload" href="/fonts/Futura/FuturaBT-Medium.woff2" as="font" type="font/woff2" crossorigin="anonymous">
<!-- <link rel="preload" href="/fonts/Futura/FuturaBT-Medium.ttf" as="font" type="font/ttf" crossorigin="anonymous"> -->
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <!--#include virtual="/common/head.shtml" -->
+
<!-- <link href="https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap" rel="stylesheet"> -->
<link rel='stylesheet' type='text/css' href="/css/style.css">
diff --git a/scripts/template.html b/scripts/template.html
@@ -10,6 +10,9 @@
<meta name="article-title" content="$article-title$">
<title>$article-title$ | $pagetitle$</title>
+
+ <!--#include virtual="/common/head.shtml" -->
+
<link rel='stylesheet' type='text/css' href="/css/style.css">
<link rel="icon" href="/favicon.png">
</head>