From b080492aa283798f17dd1826f3e6fc6f6e18b9aa Mon Sep 17 00:00:00 2001 From: Mike Rockwell Date: Thu, 31 Jul 2025 12:32:18 -0400 Subject: [PATCH] Fix a font loading error when testing locally and a first draft at a print.css file --- css/print.css | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ css/style.css | 2 +- index.html | 2 +- 3 files changed, 67 insertions(+), 2 deletions(-) diff --git a/css/print.css b/css/print.css index e69de29..ce7f8cb 100644 --- a/css/print.css +++ b/css/print.css @@ -0,0 +1,65 @@ +body { + color: #f8f9f2; +} + +a { + color: #00eb39; +} + +.callout a { + color: #f8f9f2; +} + +footer p { + color: #838c95; +} + +header { + display: none; +} + +.bio:before { + content: 'Mike Rockwell'; + font-weight: 400; + display: block; + font-size: 1.17em; + margin-block-start: 1em; + margin-block-end: 1em; + margin-inline-start: 0px; + margin-inline-end: 0px; + font-weight: bold; + unicode-bidi: isolate; +} + +#contact-button { + display: none; +} + +.divider { + display: none; +} + +#portfolio:before { + content: 'Projects'; + font-weight: 400; + display: block; + font-size: 1.17em; + margin-block-start: 1em; + margin-block-end: 1em; + margin-inline-start: 0px; + margin-inline-end: 0px; + font-weight: bold; + unicode-bidi: isolate; +} + +#portfolio img { + display: none; +} + +#contact p:after { + content: ' mike@rockwell.mx'; +} + +#contact form { + display: none; +} \ No newline at end of file diff --git a/css/style.css b/css/style.css index 032fc85..5a18f68 100644 --- a/css/style.css +++ b/css/style.css @@ -1,6 +1,6 @@ @font-face { font-family: "IBM Plex Mono"; - src: url(fonts/IBMPlexMono.ttf); + src: url(../fonts/IBMPlexMono.ttf); } /* Colors: diff --git a/index.html b/index.html index 5c72aa6..1cfec11 100644 --- a/index.html +++ b/index.html @@ -91,6 +91,6 @@

View source on Gitea

- +