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