added css styling to the credits

This commit is contained in:
Tobias Diekershoff 2022-02-20 08:25:26 +01:00
parent e35339e151
commit b0da756e2e
2 changed files with 6 additions and 0 deletions

5
mahjong.css Normal file
View File

@ -0,0 +1,5 @@
#mahcredits {
margin-top: 20px;
margin-bottom: 20px;
font-size: 0.8em;
}

View File

@ -38,5 +38,6 @@ EOT;
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/runtime.js" type="module"></script>';
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/polyfills.js" type="module"></script>';
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/main.js" type="module"></script>';
DI::page()->registerStylesheet(__DIR__ . '/mahjong.css');
return $o;
}