From: bochard Date: Mon, 14 Jul 2025 12:02:42 +0000 (+0800) Subject: entry 2 X-Git-Url: https://git.bochard.net/?a=commitdiff_plain;h=ecafafeaf6390eec35e6c33886df2cc1302d60da;p=mysite.git entry 2 --- diff --git a/.gitignore b/.gitignore index fbf7e8b..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +0,0 @@ -robots.txt -works-tmp/ \ No newline at end of file diff --git a/.htaccess b/.htaccess index 0cfcad3..766344d 100644 --- a/.htaccess +++ b/.htaccess @@ -3,3 +3,8 @@ RewriteEngine On #Redirect root to www RewriteCond %{HTTP_HOST} ^bochard\.net [NC] RewriteRule ^(.*)$ http://www.bochard.net/$1 [R=301,L] + +#Forbidden access to works-tmp folder + + Require all denied + \ No newline at end of file diff --git a/index.php b/index.php index fb230c1..06e1b46 100755 --- a/index.php +++ b/index.php @@ -17,8 +17,7 @@

If you want to continue viewing my site. Please consider disabling your adblocker. some cool stuffs cannot be seen if you enable that thing. tnx. and...if you got lost for some reason. just go the homepage!

I am an avid book reader.

-

I have a few books on my desk, mostly about japanese novels like 'the setting sun', 'no longer human', 'schoolgirl', etc...if you know these books, yes, the author are all mostly from Osamu Dazai. well...i'm not a huge fan of Dazai, but I like his works though. Well he is really a great and respected author, indeed. It's just that...he ended his own life, for a reason which I don't have any idea yet.

-

anyways...I'd like to read more and more books but I don't have money, im poor, so...if you will....please consider donating :D.

+

I have a few books on my desk, mostly about japanese novels like 'the setting sun', 'no longer human', 'schoolgirl', etc...if you know these books, yes, the author are all mostly from Osamu Dazai. well...i'm not a huge fan of Dazai, but I like his works though. Well he is really a great and respected author, indeed. It's just that...he ended his own life, for a reason which I don't have any idea yet. anyways...I'd like to read more and more books but I don't have money, im poor, so...if you will....please consider donating :D.

diff --git a/journal/.htaccess b/journal/.htaccess new file mode 100644 index 0000000..e3621d9 --- /dev/null +++ b/journal/.htaccess @@ -0,0 +1,3 @@ + + Require all denied + \ No newline at end of file diff --git a/journal/.template b/journal/.template new file mode 100644 index 0000000..73eadd8 --- /dev/null +++ b/journal/.template @@ -0,0 +1,23 @@ + + + + + + + + + +
+

Entry title

+

Written in YYYY, DDst/th of M.

+
+

Entry contents...

+
+ + diff --git a/journal/entry-1.php b/journal/entry-1.php index 6582498..119018b 100644 --- a/journal/entry-1.php +++ b/journal/entry-1.php @@ -2,7 +2,8 @@ require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php"); $pgtitle = "Entry #1 - a dream."; $pgdescription = "a dream."; - head($pgtitle, $pgdescription); + $pgcss = ["journal.css"]; + head($pgtitle, $pgdescription, $pgcss); ?> @@ -11,10 +12,10 @@
- bulb lights

A Dream.

-

...

+

Written in 2025, 12th of July.


+

Apocalypse. A city. Inside the train. Love. Arcade. It must be another weird dream...

diff --git a/journal/entry-2.php b/journal/entry-2.php new file mode 100644 index 0000000..88d015e --- /dev/null +++ b/journal/entry-2.php @@ -0,0 +1,27 @@ + + + + + + + + + +
+

The rain.

+

Written in 2025, 14th of July.

+
+

Monday, somewhere around 3 in the afternoon. It's hot, even though it is already July—rainy season. Well, my cousins, even my sister is out on the high school and elemtary nearby. They started their classes this past month, while mine, would be this upcoming August—as a freshman college—still a month left. Having nothing much to do, I'm usually on the living room on the afternoon. I can't take a nap in my bed, it is blazingly hot inside like I'm in a sauna, yet I don't even know how hot inside sauna is—much likely, our bedroom is significantly hotter.

+

I made a coffee.

+

Then, it rained.

+

The sound of raindrops hitting the thin roof of our house, little-by-little getting louder. I got off the chair, then go to our garage. I put my head on my crossed arm laid above the gate which is almost the same height as my shoulder. I stared on the rain slowly getting heavier...It's just so majestic. I like rain, and I mean it...no, I don't just like it, but I LOVE it. It gives me a feeling or serenity, a peace that I cannot explain through words.

+

I like rain so much that I always look forward to it every single day, especially in the afternoon. Although, that might sounds selfish to many...others might say "Won't you think of others...how about those ones who is out and need to work, or those beggars whom doesn't have a shelter?". Yes!...I feel pity to them, really. It's just that, I love rain, even though the reality that many people doesn't like rain as much as I do.

+
+ + diff --git a/parts/head.php b/parts/head.php index 3d5164f..5aaab51 100644 --- a/parts/head.php +++ b/parts/head.php @@ -14,8 +14,8 @@ function head($pgtitle, $pgdescription, $pgcss = []){?> "> "> - - + + "> + + + + + + https://www.bochard.net/ + 2025-07-14T12:03:57+00:00 + 1.00 + + + https://www.bochard.net/about-me.php + 2025-07-14T12:03:57+00:00 + 0.80 + + + https://www.bochard.net/journal/ + 2025-07-14T12:03:57+00:00 + 0.80 + + + https://www.bochard.net/gallery/ + 2025-07-14T12:03:57+00:00 + 0.80 + + + https://www.bochard.net/works/ + 2025-07-14T12:03:57+00:00 + 0.80 + + + https://www.bochard.net/files/ + 2025-07-14T12:03:57+00:00 + 0.80 + + + https://www.bochard.net/how-to/ + 2025-07-14T12:03:57+00:00 + 0.80 + + + https://www.bochard.net/works/?C=N;O=D + 2025-07-14T12:03:57+00:00 + 0.64 + + + https://www.bochard.net/works/?C=M;O=A + 2025-07-14T12:03:57+00:00 + 0.64 + + + https://www.bochard.net/works/?C=S;O=A + 2025-07-14T12:03:57+00:00 + 0.64 + + + https://www.bochard.net/works/?C=D;O=A + 2025-07-14T12:03:57+00:00 + 0.64 + + + https://www.bochard.net/works/atm-program-in-c/ + 2025-07-14T12:03:57+00:00 + 0.64 + + + https://www.bochard.net/works/basic-calc/ + 2025-07-14T12:03:57+00:00 + 0.64 + + + https://www.bochard.net/works/circle/ + 2025-07-14T12:03:57+00:00 + 0.64 + + + https://www.bochard.net/works/drum-ka-dum/ + 2025-07-11T11:59:13+00:00 + 0.64 + + + https://www.bochard.net/works/number-guessing-game-in-c/ + 2025-07-14T12:03:57+00:00 + 0.64 + + + https://www.bochard.net/works/palindrome-checker/ + 2025-07-11T11:59:13+00:00 + 0.64 + + + https://www.bochard.net/works/rock-paper-scissors-in-c/ + 2025-07-14T12:03:57+00:00 + 0.64 + + + https://www.bochard.net/works/roman-numeral-converter/ + 2025-07-11T11:59:13+00:00 + 0.64 + + + https://www.bochard.net/works/signup-login-system/ + 2025-07-14T12:03:57+00:00 + 0.64 + + + https://www.bochard.net/works/simple-cash-register/ + 2025-07-11T11:59:14+00:00 + 0.64 + + + https://www.bochard.net/works/temperature-converter/ + 2025-07-11T11:59:14+00:00 + 0.64 + + + https://www.bochard.net/works/tick-clock/ + 2025-07-11T11:59:14+00:00 + 0.64 + + + https://www.bochard.net/works/?C=N;O=A + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/?C=M;O=D + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/?C=S;O=D + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/?C=D;O=D + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/atm-program-in-c/?C=N;O=D + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/atm-program-in-c/?C=M;O=A + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/atm-program-in-c/?C=S;O=A + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/atm-program-in-c/?C=D;O=A + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/number-guessing-game-in-c/?C=N;O=D + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/number-guessing-game-in-c/?C=M;O=A + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/number-guessing-game-in-c/?C=S;O=A + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/number-guessing-game-in-c/?C=D;O=A + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/rock-paper-scissors-in-c/?C=N;O=D + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/rock-paper-scissors-in-c/?C=M;O=A + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/rock-paper-scissors-in-c/?C=S;O=A + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/rock-paper-scissors-in-c/?C=D;O=A + 2025-07-14T12:03:57+00:00 + 0.51 + + + https://www.bochard.net/works/atm-program-in-c/?C=N;O=A + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/atm-program-in-c/?C=M;O=D + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/atm-program-in-c/?C=S;O=D + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/atm-program-in-c/?C=D;O=D + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/number-guessing-game-in-c/?C=N;O=A + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/number-guessing-game-in-c/?C=M;O=D + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/number-guessing-game-in-c/?C=S;O=D + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/number-guessing-game-in-c/?C=D;O=D + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/rock-paper-scissors-in-c/?C=N;O=A + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/rock-paper-scissors-in-c/?C=M;O=D + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/rock-paper-scissors-in-c/?C=S;O=D + 2025-07-14T12:03:57+00:00 + 0.41 + + + https://www.bochard.net/works/rock-paper-scissors-in-c/?C=D;O=D + 2025-07-14T12:03:57+00:00 + 0.41 + + + + \ No newline at end of file diff --git a/stylesheets/component.css b/stylesheets/component.css index e024a84..4fa7d7a 100644 --- a/stylesheets/component.css +++ b/stylesheets/component.css @@ -9,18 +9,18 @@ } #sidebar > ul { margin-top: 0; - padding-left: 5px; + padding-left: 7px; } #sidebar li { list-style-type: none; - padding: 1px; + padding: 3px; } #sidebar a { color: inherit; } #body { vertical-align: top; - padding: 0 20px; + padding: 0 100px 0 70px; } #underconstruction-container { text-align: center; diff --git a/stylesheets/journal.css b/stylesheets/journal.css new file mode 100644 index 0000000..d4de5c4 --- /dev/null +++ b/stylesheets/journal.css @@ -0,0 +1,4 @@ +.written-date { + text-indent: unset; + font-style: italic; +} \ No newline at end of file diff --git a/stylesheets/root.css b/stylesheets/root.css index 382e17f..22ad6a4 100644 --- a/stylesheets/root.css +++ b/stylesheets/root.css @@ -8,7 +8,16 @@ body { font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; margin: 0 auto; } +p { + line-height: 2; + text-indent: 20px; + margin-bottom: 10px; + margin-top: 0; +} table { height: 100%; width: 100%; +} +h1, h2, h3, h4, h5, h6 { + margin-bottom: 0; } \ No newline at end of file