Ajout du texte dans clr.php
This commit is contained in:
parent
85b54b54ea
commit
ca888fbf37
|
@ -1,71 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<!-- Une partie de ce texte est sujette à la Mozilla Public License, version 2.0.
|
|
||||||
- Vous pouvez en obtenir une copie à l'adresse http://mozilla.org/MPL/2.0/. -->
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<title>about:ant</title>
|
|
||||||
<style>
|
|
||||||
html {
|
|
||||||
background: maroon radial-gradient( circle, #a01010 0%, #800000 80%) center center / cover no-repeat;
|
|
||||||
color: white;
|
|
||||||
font-style: italic;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
min-height: 100%;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#texts {
|
|
||||||
margin-left: 15%;
|
|
||||||
margin-right: 15%;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#otext {
|
|
||||||
margin-top: 15%;
|
|
||||||
font-size: 0.8em;
|
|
||||||
font-family: serif;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 1.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
#anttext {
|
|
||||||
margin-top: 15%;
|
|
||||||
font-size: 1.3em;
|
|
||||||
font-family: serif;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 1.5;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
strong {
|
|
||||||
font-size: 1.3em;
|
|
||||||
line-height: 0;
|
|
||||||
font-weight: normal;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<section id="texts">
|
|
||||||
|
|
||||||
<p id="otext">
|
|
||||||
La Bête se para de <strong>nouveaux ornements</strong> et étudia <strong>le Temps</strong>, <strong>l’Espace</strong>, <strong>la Lumière</strong> et <strong>les Flux</strong> d’énergie au sein de l’univers.
|
|
||||||
De son ouvrage, la Bête façonna de nouvelles structures à partir de <strong>métal oxydé</strong> et chanta leurs louanges.
|
|
||||||
Alors, les adorateurs de la Bête se réjouirent, retrouvant une destinée renouvelée au sein de ses <strong>enseignements</strong>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p id="anttext">
|
|
||||||
Le Créateur <strong>essaya</strong> et <strong>étudia</strong> longuement l'univers que protégait la <strong>Bête</strong>.
|
|
||||||
De ces études, l'Oeuvre <strong>naquit</strong> et évolua en se parant continuellement de nouveaux ornements et atouts.
|
|
||||||
Des adorateurs de l'<strong>Oeuvre</strong> se réjouirent et chantèrent ses louanges à travers l'<strong>univers</strong>.
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -0,0 +1,49 @@
|
||||||
|
<!-- Code source : https://code.antopie.org/miraty/web/src/branch/master/clr.php -->
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<?php
|
||||||
|
if (!isset($_GET['clr']))
|
||||||
|
$clr = sprintf('#%06X', mt_rand(0, 0xFFFFFF));
|
||||||
|
else
|
||||||
|
$clr = "#" . htmlspecialchars($_GET['clr']);
|
||||||
|
?>
|
||||||
|
<head>
|
||||||
|
<meta content="UTF-8">
|
||||||
|
<title>
|
||||||
|
<?php
|
||||||
|
echo $clr;
|
||||||
|
if (isset($_GET['txt']))
|
||||||
|
echo " " . htmlspecialchars($_GET['txt']);
|
||||||
|
?>
|
||||||
|
</title>
|
||||||
|
<style>
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: <?php echo $clr; ?>;
|
||||||
|
}
|
||||||
|
|
||||||
|
#txt {
|
||||||
|
font-family: "Ubuntu", system-ui, sans-serif;
|
||||||
|
font-size: 50px;
|
||||||
|
margin: 10px;
|
||||||
|
background-color: black;
|
||||||
|
color: white;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 0px;
|
||||||
|
position: fixed;
|
||||||
|
top: 20%;
|
||||||
|
left: 20%;
|
||||||
|
right: 20%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<?php if (isset($_GET['txt'])) { ?>
|
||||||
|
<div id=txt>
|
||||||
|
<?php echo htmlspecialchars($_GET['txt']); ?>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
</body>
|
||||||
|
</html>
|
Reference in New Issue