save rewrite

This commit is contained in:
Mohamad Damaj 2023-08-13 19:47:55 +03:00
parent 017fb02f09
commit c050b8da4c
7 changed files with 86 additions and 0 deletions

40
new/css/header.css Normal file
View File

@ -0,0 +1,40 @@
.navbar {
background-color: #131316;
color: #fd7717;
padding: 5px;
margin: 0px;
position: sticky;
top: 0px;
align-items: center;
z-index: 6;
width: 100%;
text-align: center;
}
.navbar a {
color: #e6e6fa;
text-decoration: none;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 3px;
padding-right: 3px;
}
.navbar a:hover {
display: inline;
text-decoration: underline;
}
.navbar name {
text-align: left;
}
.navbar span {
padding: 5px;
display: inline;
}
.navbar img {
transform: translate(+30%, +25%)
}

20
new/css/main.css Normal file
View File

@ -0,0 +1,20 @@
body {
background-color: #1f2024;
}
p {
color: #FFFFFF;
}
a:hover {
color: #FD7717;
}
.welcome {
font-size: 20px;
text-align: center;
}
img.pfp {
border-radius: 100px;
width: 100px;
margin-bottom: 40px;
}

BIN
new/img/d301d.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
new/img/home.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

15
new/index.php Normal file
View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>Damaj301damaj's site</title>
<?php include 'res/meta.php' ?>
</head>
<body>
<?php include 'res/header.php'?>
<a href="/"><img class="pfp" src="img/d301d.png"></a>
<div class="welcome">
<p>Welcome!</p>
</div>
<p>insert content</p>
</body>
</html>

6
new/res/header.php Normal file
View File

@ -0,0 +1,6 @@
<div class="navbar">
<span><name>Mohamad's website</name>
<img src="/img/home.png" width="16" height="16">
<a href="https://damaj.tech">Home</a>
</span>
</div>

5
new/res/meta.php Normal file
View File

@ -0,0 +1,5 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/css/header.css">
<link rel="stylesheet" href="/css/main.css">
<link rel="icon" type="image/x-icon" href="/img/favicon.svg">
<meta http-equiv="content-language" content="en-US"