apvh:now include css in the gen dir+version

This commit is contained in:
mikx
2026-01-05 20:13:06 -05:00
parent e6b38c9626
commit bd5c45923f
2 changed files with 61 additions and 2 deletions

58
apvh/gen.css Normal file
View File

@@ -0,0 +1,58 @@
a {
color: #f2f2f2;
text-decoration: none;
}
body {
font-family: sans-serif;
background: #121212;
color: #eee;
padding: 40px;
}
.container {
max-width: 600px;
margin: auto;
background: #1e1e1e;
padding: 5px;
border-radius: 8px;
}
input {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #333;
background: #2a2a2a;
color: white;
border-radius: 4px;
box-sizing: border-box;
}
button {
background: #38bdf8;
color: #000;
border: none;
padding: 12px 20px;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
width: 100%;
}
textarea {
width: 100%;
height: 250px;
margin-top: 20px;
background: #000;
color: #0f0;
font-family: monospace;
padding: 15px;
border-radius: 4px;
box-sizing: border-box;
}
label {
font-size: 0.9em;
color: #94a3b8;
}

View File

@@ -32,7 +32,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Apache VHost Generator</title> <title>Apache VHost Generator</title>
<link rel="stylesheet" href="../../css/gen.css"> <link rel="stylesheet" href="gen.css">
</head> </head>
<body> <body>
@@ -40,7 +40,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
<h1>Apache VHost Generator</h1> <h1>Apache VHost Generator</h1>
<h2>Language: HTML / PHP</h2> <h2>Language: HTML / PHP</h2>
<h4>Developper: mikx</h4> <h4>Developper: mikx</h4>
<h4>Sources: <a href="https://mxgit.ovh/mikx/MxGen/apvh">MxGit</a></h4> <h4>Sources: <a href="https://mxgit.ovh/mikx/MxGen/src/branch/main/apvh">MxGit</a></h4>
<h5>Version: 0.1.0</h5>
</div> </div>
<br><br> <br><br>
<div class="container"> <div class="container">