This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository www.
View the commit online.
commit 1a5c2ddbb490d49bc2de9d50861276b43fc1fd9a
Author: Carsten Haitzler (Rasterman) <[email protected]>
AuthorDate: Fri May 15 00:52:08 2026 +0100
some polishing of style and cleaning of md content
---
public_html/content/start.php | 10 +++++-----
public_html/site/funcs.php | 9 +++++++--
public_html/style.css | 12 ++++++------
3 files changed, 18 insertions(+), 13 deletions(-)
diff --git a/public_html/content/start.php b/public_html/content/start.php
index 4825a6a5..1573404e 100644
--- a/public_html/content/start.php
+++ b/public_html/content/start.php
@@ -57,9 +57,9 @@ int main(int argc, char **argv) {
"# Header 1
## Header 2
### Header 3
-#### H4
-##### H5
-###### H6
+#### Header 4
+##### Header 5
+###### Header 6
Alternatively, for H1 and H2, an underline-ish style:
@@ -71,9 +71,9 @@ Alt-H2
1. First ordered list item
2. Another item
-⋅⋅⋅⋅* Unordered sub-list.
+ * Unordered sub-list.
1. Actual numbers don't matter, just that it's a number
-⋅⋅⋅⋅1. Ordered sub-list
+ 1. Ordered sub-list
4. And another item.
[I'm an inline-style link](https://www.google.com)
diff --git a/public_html/site/funcs.php b/public_html/site/funcs.php
index e9d7c8c7..f5fdb313 100644
--- a/public_html/site/funcs.php
+++ b/public_html/site/funcs.php
@@ -27,14 +27,19 @@
print($code);
print("</code></pre>");
}
+// https://github.github.com/gfm/
include "site/parsedown.php";
+// https://michelf.ca/projects/php-markdown/extra/
+ include "site/parsedownextra.php";
function md($text) {
- $pd = new Parsedown();
+// $pd = new Parsedown();
+ $pd = new ParsedownExtra();
print($pd->text($text));
}
function md_file($filename) {
- $pd = new Parsedown();
$text = file_get_contents("content/" . $filename);
+// $pd = new Parsedown();
+ $pd = new ParsedownExtra();
print($pd->text($text));
}
?>
diff --git a/public_html/style.css b/public_html/style.css
index af39719a..cfcfa0cb 100644
--- a/public_html/style.css
+++ b/public_html/style.css
@@ -40,10 +40,10 @@ header {
align-items: center;
width: 100%;
font-weight: bold;
- font-size: 1.2em;
+ font-size: 1.0em;
}
.head-wrap .head-icon {
- height: 32px;
+ height: 20px;
margin: 0 16px;
}
.head-icon {
@@ -70,7 +70,7 @@ header {
.head-menu-item-active a:active {
float: left;
color: #a0a0a0;
- padding: 11px 16px;
+ padding: 7px 12px;
width: auto;
text-decoration:none;
}
@@ -79,12 +79,12 @@ header {
.head-menu-item-active a:hover,
.head-menu-item-active a:active {
color: #ffffff;
- padding-bottom: 11px;
+ padding-bottom: 7px;
border-bottom: 5px solid #3399ff;
background: #202020;
}
.main-wrap {
- margin: 96px 32px 80px;
+ margin: 76px 26px 80px;
}
.biglogo {
margin: 16px;
@@ -108,7 +108,7 @@ footer {
z-index: 100;
box-shadow: 0px -5px 10px rgb(0 0 0 / 20%);
font-size: 0.8em;
- padding: 6px;
+ padding: 8px;
text-align: center;
}
a:link {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.