]> git.bochard.net Git - mysite.git/commitdiff
new font and icon
authorbochard <git@bochard.net>
Fri, 5 Dec 2025 11:20:25 +0000 (19:20 +0800)
committerbochard <git@bochard.net>
Sun, 7 Dec 2025 04:15:04 +0000 (12:15 +0800)
13 files changed:
audio/background/childhood2.mp3 [deleted file]
audio/background/rejectedworld.mp3 [deleted file]
audio/childhood2.mp3 [new file with mode: 0644]
audio/rejectedworld.mp3 [new file with mode: 0644]
audio/staying-alive.mp3 [new file with mode: 0644]
font/EBGaramond08-Regular.ttf [new file with mode: 0644]
font/EBGaramond12-Regular.ttf [new file with mode: 0644]
image/icon/favicon.ico [deleted file]
image/icon/pink-chair.png [new file with mode: 0644]
index.php
part/head.php
script/index.js [deleted file]
stylesheet/root.css

diff --git a/audio/background/childhood2.mp3 b/audio/background/childhood2.mp3
deleted file mode 100644 (file)
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 (file)
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 (file)
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 (file)
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 (file)
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 (file)
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 (file)
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 (file)
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 (file)
index 0000000..cfe0f60
Binary files /dev/null and b/image/icon/pink-chair.png differ
index 39b9fe3351e5ea25f0350ad7020baca2f63e6ac0..42c0e86e7eb5746fbe6e6664fc907aafabde4e96 100644 (file)
--- a/index.php
+++ b/index.php
@@ -2,8 +2,8 @@
        require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");\r
        $pgtitle = "bochard's net home";\r
        $pgdescription = "";\r
-       $pgcss = ['index.css'];\r
-       $pgjs = ['index.js'];\r
+       $pgcss = [];\r
+       $pgjs = [];\r
        head($pgtitle, $pgdescription, $pgcss, $pgjs);\r
 ?>\r
 <body>\r
                <tbody>\r
                        <tr>\r
                                <td>\r
-<!--\r
-                                       <audio src="/audio/background/staying-alive.mid" controls loop autoplay></audio>\r
--->\r
-                                       <a href="#" onClick="MIDIjs.play('audio/staying-alive.mid');">Play staying-alive.mid</a>\r
+                                       <audio controls loop autoplay>\r
+                                               <source src="/audio/staying-alive.mp3" type="audio/mpeg">\r
+                                       </audio>\r
                                        <center><img src="/image/home-banner2.png"></center>\r
                                        <table cellpadding="0" cellspacing="0">\r
                                                <tbody>\r
index aa2beee12c48c2a6ce23a67de750188039f6e415..2b607b75150d7dbeaed54ff72c9301cea7fb1805 100644 (file)
@@ -4,10 +4,10 @@ function head($pgtitle, $pgdescription = null, $pgcss = [], $pgjs = []){?>
   <!doctype html>
   <html lang="en">
   <head>
-      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+      <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
       <meta name="robots" content="index,follow">
-      <link rel="shortcut icon" href="">
-      <meta name="viewport" content="width=960, initial-scale=1.0">
+      <link rel="shortcut icon" href="/image/icon/pink-chair.png">
+      <meta name="viewport" content="width=960,initial-scale=1.0,shrink-to-fit=no">
 
     <title><?= htmlspecialchars($pgtitle, ENT_COMPAT);?></title>
     <?php
diff --git a/script/index.js b/script/index.js
deleted file mode 100644 (file)
index cf7639f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<script type='text/javascript' src='//www.midijs.net/lib/midi.js'></script>
index cf8f9cbbed076258a086c80244ec0a7361c54eb6..5556fc9e61dd3053f33c25cb5ca2534a6f5deab7 100644 (file)
@@ -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;
 }