]> git.bochard.net Git - mysite.git/commitdiff
new look and layout for journals
authorbochard <git@bochard.net>
Mon, 8 Dec 2025 13:16:37 +0000 (21:16 +0800)
committerbochard <git@bochard.net>
Mon, 8 Dec 2025 13:25:09 +0000 (21:25 +0800)
journal/.template
journal/20250712.php
journal/20250714.php
journal/20250803.php
journal/20250805.php
journal/20250809.php
journal/index.php
stylesheet/journal.css [new file with mode: 0644]
stylesheet/root.css

index 63ac33234151ebac1ad364d65f7ee9e86bb911d0..d413dc668e1eef638fccf638d23595b45cd79fd5 100644 (file)
@@ -2,7 +2,7 @@
        require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
        $pgtitle = "";
        $pgdescription = "";
-       $pgcss = [];
+       $pgcss = ['journal.css'];
        $pgjs = [];
        head($pgtitle, $pgdescription, $pgcss, $pgjs);
 ?>
@@ -11,6 +11,7 @@
                <tbody>
                        <tr>
                                <td>
+                                       <a href="/journal/">&lt; back</a>
                                        <h1 class="entry-title"></h1>
                                        <p class="written-date">Written in YYYY, DDst/rd/th of m</p>
                                        <hr>
index 6b49bc1c0eb8c20698498fca42d455966dcadcde..4d24f978a3ad251b1055a3892eb503f5a090d022 100644 (file)
@@ -2,15 +2,16 @@
        require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
        $pgtitle = "A dream.";
        $pgdescription = "";
-       $pgcss = [];
+       $pgcss = ['journal.css'];
        $pgjs = [];
        head($pgtitle, $pgdescription, $pgcss, $pgjs);
 ?>
 <body>    
-  <table id="tablewrapper" cellspacing="10">
+  <table id="theholderofthings" cellspacing="10">
                <tbody>
                        <tr>
                                <td>
+                                       <a href="/journal/">&lt; back</a>
                                        <h1 class="entry-title">A dream.</h1>
                                        <p class="written-date">Written in 2025, 12th of July.</p>
                                        <hr>
index e80d45170a9db28bbf54878ad49a29f5b2884aa2..afbc239b94373dc268adbe5366ffcd48dfd3170a 100644 (file)
@@ -2,15 +2,16 @@
        require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
        $pgtitle = "The rain.";
        $pgdescription = "";
-       $pgcss = [];
+       $pgcss = ['journal.css'];
        $pgjs = [];
        head($pgtitle, $pgdescription, $pgcss, $pgjs);
 ?>
 <body>    
-  <table id="tablewrapper" cellspacing="10">
+  <table id="theholderofthings" cellspacing="10">
                <tbody>
                        <tr>
                                <td>
+                                       <a href="/journal/">&lt; back</a>
                                        <h1 class="entry-title">The rain.</h1>
                                        <p class="written-date">Written in 2025, 14th of July.</p>
                                        <hr>
index 5e39724589be4f1026526c9796514afc9cf2ceff..9fcc0d81783785179b79da4c1997061375076e4f 100644 (file)
@@ -2,7 +2,7 @@
        require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
        $pgtitle = "New haircut";
        $pgdescription = "";
-       $pgcss = [];
+       $pgcss = ['journal.css'];
        $pgjs = [];
        head($pgtitle, $pgdescription, $pgcss, $pgjs);
 ?>
@@ -11,6 +11,7 @@
                <tbody>
                        <tr>
                                <td>
+                                       <a href="/journal/">&lt; back</a>
                                        <h1 class="entry-title">New haircut</h1>
                                        <p class="written-date">Written in 2025, 3rd day of August</p>
                                        <hr>
index a06d5b3ed11686447b3eb8918da15ac6eab66715..079a793ac948d60fd8848f1b801ce6155448f200 100644 (file)
@@ -2,7 +2,7 @@
        require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
        $pgtitle = "University orientation";
        $pgdescription = "";
-       $pgcss = [];
+       $pgcss = ['journal.css'];
        $pgjs = [];
        head($pgtitle, $pgdescription, $pgcss, $pgjs);
 ?>
@@ -11,6 +11,7 @@
                <tbody>
                        <tr>
                                <td>
+                                       <a href="/journal/">&lt; back</a>
                                        <h1 class="entry-title">University orientation</h1>
                                        <p class="written-date">Written in 2025, 5th of August</p>
                                        <hr>
index 1415eca3a3cbad449f999e22ea44e7d8262041e7..8e278bef1e5ed2f8d80f67dc0bb72476e0ff640d 100644 (file)
@@ -2,7 +2,7 @@
        require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
        $pgtitle = "Our kitten died";
        $pgdescription = "";
-       $pgcss = [];
+       $pgcss = ['journal.css'];
        $pgjs = [];
        head($pgtitle, $pgdescription, $pgcss, $pgjs);
 ?>
@@ -11,6 +11,7 @@
                <tbody>
                        <tr>
                                <td>
+                                       <a href="/journal/">&lt; back</a>
                                        <h1 class="entry-title">Our kitten died</h1>
                                        <p class="written-date">Written in 2025, 9th of August</p>
                                        <hr>
index b262f5bc7914ff4f3ed101f4d6029c51b8df8ca2..befa63075e7251be3cdd839989fee1e6f0155528 100644 (file)
@@ -2,12 +2,12 @@
        require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
        $pgtitle = "my journal";
        $pgdescription = "";
-       $pgcss = [];
+       $pgcss = ['journal.css'];
        $pgjs = [];
        head($pgtitle, $pgdescription, $pgcss, $pgjs);
 ?>
 <body>    
-       <table id="theholderofthings">
+       <table id="theholderofthings" align="center">
                <tbody>
                        <tr>
                                <td>
diff --git a/stylesheet/journal.css b/stylesheet/journal.css
new file mode 100644 (file)
index 0000000..06e06a6
--- /dev/null
@@ -0,0 +1,9 @@
+body {
+       background: white;
+       font-family: Times New Roman;
+       font-size: 16px;
+       line-height: unset;
+}
+#theholderofthings {
+       width: 600px;
+}
index 5556fc9e61dd3053f33c25cb5ca2534a6f5deab7..35ef59ff986fbd7a4bb038907486c0fd798b7461 100644 (file)
@@ -10,7 +10,8 @@ body {
        line-height: 24px;
 }
 #theholderofthings {
-       width: 100%;
+       width: 80%;
+       margin: 0 auto;
 }
 a {
        color: darkblue;