From: bochard Date: Fri, 5 Dec 2025 11:20:25 +0000 (+0800) Subject: new font and icon X-Git-Url: https://git.bochard.net/?a=commitdiff_plain;h=a2f9fafc65e047b4a5201146ed01729e9b397f9a;p=mysite.git new font and icon --- diff --git a/audio/background/childhood2.mp3 b/audio/background/childhood2.mp3 deleted file mode 100644 index 068a74e..0000000 Binary files a/audio/background/childhood2.mp3 and /dev/null differ diff --git a/audio/background/rejectedworld.mp3 b/audio/background/rejectedworld.mp3 deleted file mode 100644 index 4c624ef..0000000 Binary files a/audio/background/rejectedworld.mp3 and /dev/null differ diff --git a/audio/childhood2.mp3 b/audio/childhood2.mp3 new file mode 100644 index 0000000..068a74e Binary files /dev/null and b/audio/childhood2.mp3 differ diff --git a/audio/rejectedworld.mp3 b/audio/rejectedworld.mp3 new file mode 100644 index 0000000..4c624ef Binary files /dev/null and b/audio/rejectedworld.mp3 differ diff --git a/audio/staying-alive.mp3 b/audio/staying-alive.mp3 new file mode 100644 index 0000000..7c932b6 Binary files /dev/null and b/audio/staying-alive.mp3 differ diff --git a/font/EBGaramond08-Regular.ttf b/font/EBGaramond08-Regular.ttf new file mode 100644 index 0000000..ec558aa Binary files /dev/null and b/font/EBGaramond08-Regular.ttf differ diff --git a/font/EBGaramond12-Regular.ttf b/font/EBGaramond12-Regular.ttf new file mode 100644 index 0000000..d00050e Binary files /dev/null and b/font/EBGaramond12-Regular.ttf differ diff --git a/image/icon/favicon.ico b/image/icon/favicon.ico deleted file mode 100644 index e892591..0000000 Binary files a/image/icon/favicon.ico and /dev/null differ diff --git a/image/icon/pink-chair.png b/image/icon/pink-chair.png new file mode 100644 index 0000000..cfe0f60 Binary files /dev/null and b/image/icon/pink-chair.png differ diff --git a/index.php b/index.php index 39b9fe3..42c0e86 100644 --- a/index.php +++ b/index.php @@ -2,8 +2,8 @@ require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php"); $pgtitle = "bochard's net home"; $pgdescription = ""; - $pgcss = ['index.css']; - $pgjs = ['index.js']; + $pgcss = []; + $pgjs = []; head($pgtitle, $pgdescription, $pgcss, $pgjs); ?> @@ -11,10 +11,9 @@ - - Play staying-alive.mid +
diff --git a/part/head.php b/part/head.php index aa2beee..2b607b7 100644 --- a/part/head.php +++ b/part/head.php @@ -4,10 +4,10 @@ function head($pgtitle, $pgdescription = null, $pgcss = [], $pgjs = []){?> - + - - + + <?= htmlspecialchars($pgtitle, ENT_COMPAT);?> diff --git a/stylesheet/root.css b/stylesheet/root.css index cf8f9cb..5556fc9 100644 --- a/stylesheet/root.css +++ b/stylesheet/root.css @@ -1,10 +1,17 @@ +@font-face { + font-family: EBGaramond; + src: url(/font/EBGaramond08-Regular.ttf); +} + body { background-image: url('/image/background/bg1.gif'); - font-size: 16px; + font-family: EBGaramond; + font-size: 18px; + line-height: 24px; } #theholderofthings { width: 100%; } a { - color: blue; + color: darkblue; }