added style in head of html and setted global font

This commit is contained in:
Capelier-Marla 2023-01-23 15:38:11 +01:00
parent bac9398f08
commit a193a1652d
2 changed files with 7 additions and 1 deletions

View File

@ -3,10 +3,11 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My sweet MVC</title> <title>My sweet MVC</title>
<link rel="stylesheet" href="/static/style.css">
</head> </head>
<body> <body>
<?php View::show('common/header'); ?> <?php View::show('common/header'); ?>
<?php echo $A_view['body'] ?> <?php echo $A_view['body'] ?>
<?php View::show('common/footer'); ?> <?php View::show('common/footer'); ?>
</body> </body>
</html> </html>

5
static/style.css Normal file
View File

@ -0,0 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400&display=swap');
* {
font-family: 'Nunito', 'Arial';
}