wip: [try to get the htaccess file to work safely... Egh
This commit is contained in:
parent
d2294d8572
commit
c3ed56cb99
4 changed files with 9 additions and 5 deletions
1
www/.htaccess
Normal file
1
www/.htaccess
Normal file
|
@ -0,0 +1 @@
|
|||
Allow from all
|
42
www/dergstyle.css
Normal file
42
www/dergstyle.css
Normal file
|
@ -0,0 +1,42 @@
|
|||
|
||||
body {
|
||||
color: #B0B0B0;
|
||||
background: #302A3F;
|
||||
}
|
||||
|
||||
:link {
|
||||
color: cyan;
|
||||
font-style: italic;
|
||||
text-decoration: none;
|
||||
|
||||
transition: color 0.2s;
|
||||
}
|
||||
:link:hover {
|
||||
color: lightblue;
|
||||
}
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
|
||||
list-style-type: none;
|
||||
margin-top: 1em;
|
||||
padding: 0px;
|
||||
}
|
||||
ul li {
|
||||
padding: 0em 0.3em 0em 0.3em;
|
||||
}
|
||||
|
||||
#big_title {
|
||||
text-align: center;
|
||||
font-size: 2.5em;
|
||||
margin-bottom: 0.2em;
|
||||
}
|
||||
#title_separator {
|
||||
height: 1.5px;
|
||||
background-color: #ddd;
|
||||
opacity: 0.5;
|
||||
margin-left: 2em;
|
||||
margin-right: 2em;
|
||||
}
|
11
www/index.php
Normal file
11
www/index.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
require_once '../vendor/autoload.php';
|
||||
|
||||
$loader = new \Twig\Loader\FilesystemLoader('../templates');
|
||||
$twig = new \Twig\Environment($loader);
|
||||
|
||||
echo $twig->render('index.html',[
|
||||
"a_variable" => "is very spicy. In a good way."
|
||||
]);
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue