summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2026-01-13 21:59:46 +0800
committerSadeep Madurange <sadeep@asciimx.com>2026-01-13 22:10:24 +0800
commit1fc1dbcb34bfb0a7f99bbc068edff93ae97c4662 (patch)
tree2e993ce906ed557ca1910810adac3da5d393da5e
parent864d12f042eb4f2cc228781e3dd889f05907d47a (diff)
downloadwww-1fc1dbcb34bfb0a7f99bbc068edff93ae97c4662.tar.gz
Change to fatter font.
-rw-r--r--assets/css/main.css10
-rw-r--r--assets/css/skeleton.css20
-rw-r--r--assets/fonts/Nouveau_IBM.ttfbin0 -> 69540 bytes
-rw-r--r--assets/fonts/Nouveau_IBM_Stretch.ttfbin72180 -> 0 bytes
4 files changed, 15 insertions, 15 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index c46729c..7f6c84a 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -1,12 +1,12 @@
@font-face {
- font-family: 'Nouveau IBM Stretch';
- src: url('/assets/fonts/Nouveau_IBM_Stretch.ttf') format('truetype');
+ font-family: 'Nouveau IBM';
+ src: url('/assets/fonts/Nouveau_IBM.ttf') format('truetype');
}
:root {
--main-bg-color: #202020;
--main-fg-color: #00B140;
- --font-family: 'Nouveau IBM Stretch', 'Roboto Mono', monospace;
+ --font-family: 'Nouveau IBM', monospace;
--text-shadow: 0 0 1px var(--main-fg-color), 0 0 6px var(--main-fg-color);
}
@@ -125,7 +125,7 @@ td {
}
.cursor::after {
- height: 2.5rem;
+ height: 2.2rem;
}
.center {
@@ -241,7 +241,7 @@ input {
content: '';
display: inline-block;
width: 0.9rem;
- height: 1.45rem;
+ height: 1.3rem;
margin-left: -6px;
animation: cursor-blink 1s steps(1, start) infinite;
animation-delay: 3.5s;
diff --git a/assets/css/skeleton.css b/assets/css/skeleton.css
index 0354b60..9d3415b 100644
--- a/assets/css/skeleton.css
+++ b/assets/css/skeleton.css
@@ -120,8 +120,8 @@ are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
font-size: 62.5%; }
body {
- font-size: 2.0em; /* currently ems cause chrome bug misinterpreting rems on body element */
- line-height: 1.2;
+ font-size: 1.8em; /* currently ems cause chrome bug misinterpreting rems on body element */
+ line-height: 1.4;
}
h1, h2, h3, h4, h5, h6 {
@@ -130,12 +130,12 @@ h1, h2, h3, h4, h5, h6 {
font-weight: 300;
}
-h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
-h2 { font-size: 3.6rem; line-height: 1.2; letter-spacing: -.1rem; }
-h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
-h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
-h5 { font-size: 2.0rem; line-height: 1.5; letter-spacing: -.05rem; }
-h6 { font-size: 1.8rem; line-height: 1.6; letter-spacing: 0; }
+h1 { font-size: 3.4rem; line-height: 1.2; letter-spacing: -.1rem;}
+h2 { font-size: 3.0rem; line-height: 1.25; letter-spacing: -.1rem; }
+h3 { font-size: 2.6rem; line-height: 1.3; letter-spacing: -.1rem; }
+h4 { font-size: 2.2rem; line-height: 1.35; letter-spacing: -.08rem; }
+h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
+h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
p {
margin-top: 0; }
@@ -279,7 +279,7 @@ ol ul {
margin: 1.5rem 0 1.5rem 3rem;
font-size: 90%; }
li {
- margin-bottom: 0.1rem; }
+ margin-bottom: 0.6rem; }
ol {
margin-left: 1.8em; }
@@ -289,7 +289,7 @@ ol {
code {
padding: .2rem .5rem;
margin: 0 .2rem;
- /* font-size: 95%; */
+ font-size: 95%;
white-space: nowrap;
border-radius: 4px; }
diff --git a/assets/fonts/Nouveau_IBM.ttf b/assets/fonts/Nouveau_IBM.ttf
new file mode 100644
index 0000000..5e621f0
--- /dev/null
+++ b/assets/fonts/Nouveau_IBM.ttf
Binary files differ
diff --git a/assets/fonts/Nouveau_IBM_Stretch.ttf b/assets/fonts/Nouveau_IBM_Stretch.ttf
deleted file mode 100644
index 71279ba..0000000
--- a/assets/fonts/Nouveau_IBM_Stretch.ttf
+++ /dev/null
Binary files differ