First commit: Upload files

This commit is contained in:
Mohamad Damaj 2023-10-30 20:08:33 +02:00
commit 1477bbb2e5
7 changed files with 93 additions and 0 deletions

54
css/main.css Normal file
View File

@ -0,0 +1,54 @@
/* Main HTML style */
body {
background-color: #1f2024;
color: #f0eee6;
}
a {
color: #fd7717;
}
/* End of main HTML style */
/* Header style */
.box {
border: 2px solid #f0833a;
background-color: #121212;
height: 40px;
overflow: auto;
}
header {
float: left;
text-align: center;
position: absolute;
}
header img {
float: left;
text-align: center;
padding: 7px;
border-radius: 25px;
width: 25px;
margin-bottom: 25px;
}
.header {
padding: 10px;
color: #f0eee6;
margin-left: 30px;
}
/* Footer Style */
footer {
position: fixed;
left: 0px;
bottom: 0px;
height: 30px;
width: 100%;
text-align: center;
background-color: #121212;
}
footer a {
color: #616b6f;
}

BIN
img/d301d.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

13
index.php Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>Damaj301damaj's site</title>
<link rel="stylesheet" href="/css/main.css" text="text/css"></link>
<?php include 'templates/meta.php' ;?>
</head>
<body>
<?php include 'templates/header.php' ;?>
<p>Hello World!</p>
<?php include 'templates/footer.php' ;?>
</body>
</html>

13
site/blog/index.php Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>Damaj301damaj's site</title>
<link rel="stylesheet" href="/css/main.css" text="text/css"></link>
<?php include '/../../templates/meta.php' ;?>
</head>
<body>
<?php include '/templates/header.php' ;?>
<p>Hello World!</p>
<?php include '/templates/footer.php' ;?>
</body>
</html>

3
templates/footer.php Normal file
View File

@ -0,0 +1,3 @@
<footer>
<a href=https://git.damaj.tech/Damaj301damaj/damaj.tech>Source(Git)</a>
</footer>

8
templates/header.php Normal file
View File

@ -0,0 +1,8 @@
<div class="box">
<header>
<img src='/img/d301d.png' alt='Site Icon' width=25px height=25px></img>
<div class="header">
<a href="/">[Main]</a>
</header>
</div>
</div>

2
templates/meta.php Normal file
View File

@ -0,0 +1,2 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">