Switch font to CMU Typewriter.

This commit is contained in:
Oleksandr Kozachuk 2023-09-14 20:25:26 +02:00
parent 106eb428f7
commit 259dbd5bee
3 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
34 35

View File

@ -28,7 +28,7 @@ def markdown_to_html(filename):
} }
body { body {
font-family: 'Space Mono', monospace; font-family: 'CMUTypewriterTextRegular';
background-color: var(--solarized-base03); background-color: var(--solarized-base03);
color: var(--solarized-base1); color: var(--solarized-base1);
margin: 0; margin: 0;
@ -91,7 +91,7 @@ def markdown_to_html(filename):
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://fontlibrary.org//face/cmu-typewriter" type="text/css"/>
<style> <style>
{solarized_dark_css} {solarized_dark_css}
</style> </style>

View File

@ -11,7 +11,7 @@ Sure, here's a simple responsive HTML page layout with a dark solarized color sc
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://fontlibrary.org//face/cmu-typewriter" type="text/css"/>
<style> <style>
/* Solarized Dark Theme Colors */ /* Solarized Dark Theme Colors */
:root { :root {
@ -26,7 +26,7 @@ Sure, here's a simple responsive HTML page layout with a dark solarized color sc
} }
body { body {
font-family: 'Space Mono', monospace; font-family: 'CMUTypewriterTextRegular';
background-color: var(--solarized-base03); background-color: var(--solarized-base03);
color: var(--solarized-base1); color: var(--solarized-base1);
margin: 0; margin: 0;