From 99622088d4e469e92fcf1d02ef563cf7e5dd4046 Mon Sep 17 00:00:00 2001 From: bochard Date: Mon, 8 Dec 2025 21:16:37 +0800 Subject: [PATCH] new look and layout for journals --- journal/.template | 3 ++- journal/20250712.php | 5 +++-- journal/20250714.php | 5 +++-- journal/20250803.php | 3 ++- journal/20250805.php | 3 ++- journal/20250809.php | 3 ++- journal/index.php | 4 ++-- stylesheet/journal.css | 9 +++++++++ stylesheet/root.css | 3 ++- 9 files changed, 27 insertions(+), 11 deletions(-) create mode 100644 stylesheet/journal.css diff --git a/journal/.template b/journal/.template index 63ac332..d413dc6 100644 --- a/journal/.template +++ b/journal/.template @@ -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 @@ + < back

Written in YYYY, DDst/rd/th of m


diff --git a/journal/20250712.php b/journal/20250712.php index 6b49bc1..4d24f97 100644 --- a/journal/20250712.php +++ b/journal/20250712.php @@ -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); ?> - +
+ < back

A dream.

Written in 2025, 12th of July.


diff --git a/journal/20250714.php b/journal/20250714.php index e80d451..afbc239 100644 --- a/journal/20250714.php +++ b/journal/20250714.php @@ -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); ?> - +
+ < back

The rain.

Written in 2025, 14th of July.


diff --git a/journal/20250803.php b/journal/20250803.php index 5e39724..9fcc0d8 100644 --- a/journal/20250803.php +++ b/journal/20250803.php @@ -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 @@
+ < back

New haircut

Written in 2025, 3rd day of August


diff --git a/journal/20250805.php b/journal/20250805.php index a06d5b3..079a793 100644 --- a/journal/20250805.php +++ b/journal/20250805.php @@ -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 @@
+ < back

University orientation

Written in 2025, 5th of August


diff --git a/journal/20250809.php b/journal/20250809.php index 1415eca..8e278be 100644 --- a/journal/20250809.php +++ b/journal/20250809.php @@ -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 @@
+ < back

Our kitten died

Written in 2025, 9th of August


diff --git a/journal/index.php b/journal/index.php index b262f5b..befa630 100644 --- a/journal/index.php +++ b/journal/index.php @@ -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); ?> - +
diff --git a/stylesheet/journal.css b/stylesheet/journal.css new file mode 100644 index 0000000..06e06a6 --- /dev/null +++ b/stylesheet/journal.css @@ -0,0 +1,9 @@ +body { + background: white; + font-family: Times New Roman; + font-size: 16px; + line-height: unset; +} +#theholderofthings { + width: 600px; +} diff --git a/stylesheet/root.css b/stylesheet/root.css index 5556fc9..35ef59f 100644 --- a/stylesheet/root.css +++ b/stylesheet/root.css @@ -10,7 +10,8 @@ body { line-height: 24px; } #theholderofthings { - width: 100%; + width: 80%; + margin: 0 auto; } a { color: darkblue; -- 2.39.5