From b0da756e2ea84465ffc412c3ffa87dbfbc094490 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 20 Feb 2022 08:25:26 +0100 Subject: [PATCH] added css styling to the credits --- mahjong.css | 5 +++++ mahjong.php | 1 + 2 files changed, 6 insertions(+) create mode 100644 mahjong.css diff --git a/mahjong.css b/mahjong.css new file mode 100644 index 0000000..016878f --- /dev/null +++ b/mahjong.css @@ -0,0 +1,5 @@ +#mahcredits { + margin-top: 20px; + margin-bottom: 20px; + font-size: 0.8em; +} diff --git a/mahjong.php b/mahjong.php index 8bde9c9..f6e123f 100644 --- a/mahjong.php +++ b/mahjong.php @@ -38,5 +38,6 @@ EOT; DI::page()['htmlhead'] .= ''; DI::page()['htmlhead'] .= ''; DI::page()['htmlhead'] .= ''; + DI::page()->registerStylesheet(__DIR__ . '/mahjong.css'); return $o; }