From 4ad36c6034ab3e2f7cdc1954c4d08758cb4172fe Mon Sep 17 00:00:00 2001 From: User Date: Sat, 13 Apr 2024 12:24:53 +0300 Subject: [PATCH] 20240413#9 --- .../config/factories/templateFactory.php | 2 +- public/assets/css/style.css | 23 ++++++++++++++++++- templates/error/404.tpl | 2 +- templates/error/501.tpl | 2 +- templates/main/index.tpl | 5 +++- 5 files changed, 29 insertions(+), 5 deletions(-) diff --git a/application/config/factories/templateFactory.php b/application/config/factories/templateFactory.php index ca27672..d025a55 100644 --- a/application/config/factories/templateFactory.php +++ b/application/config/factories/templateFactory.php @@ -1,2 +1,2 @@ setSubtemplatePath('/templates'); \ No newline at end of file +return (new \Rmphp\Content\Content('/templates/base.tpl'))->setSubtemplatePath('/templates'); \ No newline at end of file diff --git a/public/assets/css/style.css b/public/assets/css/style.css index 1624be7..5a88e01 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -1,4 +1,10 @@ -body{font-family: Arimo, sans-serif; font-size: 15px; margin: 0; padding: 0;} +body{ + font-family: Arial, sans-serif; + font-size: 15px; + margin: 0; + padding: 0; + background:#d4e5d8; +} * { scrollbar-width: thin; scrollbar-color: #CCC #FFF @@ -17,3 +23,18 @@ body{font-family: Arimo, sans-serif; font-size: 15px; margin: 0; padding: 0;} h1{padding: 0 30px} +.main-block{ + display: flex; + align-items: center; + height: 50vh; + flex-direction: column; + justify-content: center; + color:#888; +} +.main-block__header{ + font-size: 70px; +} +.main-block__text{ + font-size: 30px; +} + diff --git a/templates/error/404.tpl b/templates/error/404.tpl index 624dda2..ea840de 100644 --- a/templates/error/404.tpl +++ b/templates/error/404.tpl @@ -7,7 +7,7 @@ 404 Page Not Found