20240413#9

This commit is contained in:
User
2024-04-13 12:24:53 +03:00
parent 8346234859
commit 4ad36c6034
5 changed files with 29 additions and 5 deletions

View File

@@ -1,2 +1,2 @@
<?php
return (new \Rmphp\Content\Content('/templates/base.tpl0'))->setSubtemplatePath('/templates');
return (new \Rmphp\Content\Content('/templates/base.tpl'))->setSubtemplatePath('/templates');

View File

@@ -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;
}

View File

@@ -7,7 +7,7 @@
<title>404 Page Not Found</title>
<style>
body{
font-family: Arimo, sans-serif;
font-family: Arial, sans-serif;
font-size: 15px;
margin: 0;
padding: 0;

View File

@@ -7,7 +7,7 @@
<title>501 Not Implemented</title>
<style>
body{
font-family: Arimo, sans-serif;
font-family: Arial, sans-serif;
font-size: 15px;
margin: 0;
padding: 0;

View File

@@ -1,5 +1,8 @@
<article>
<main>
<h1 style="text-align: center">Hello. Now is <?=$this->date?></h1>
<div class="main-block">
<div class="main-block__header">Hello</div>
<div class="main-block__text">Now is <?=$this->date?></div>
</div>
</main>
</article>