update 2026-11-20 19:53

This commit is contained in:
nix
2026-11-20 19:53:02 +01:00
parent ef1e197ed8
commit 4696d75bc7
13 changed files with 1618 additions and 59 deletions
+37 -13
View File
@@ -6,23 +6,47 @@
</head>
<body>
<div id='DivG'>
<div class='DivLien'>
<a href="https://steampowered.com">Steam</a>
<!-- CORPS DU SITE -->
<h1 class='centre mimicolor'>TEST TITRE</h1>
<header class='centre pad'>emerge --ask --getbinpkg --binpkg-respect-use=n --update --deep --newuse @world</header>
<div class='parent grid-parent'>
<!-- DIV PARENTE (dans la quel les autres seront) -->
<div class='child large'>
<!-- Div enfant (de gauche) -->
<h1 class='centre'>TEST</h1>
<div class='child divclic'> <!-- Div cliquable -->
<a href="https://steampowered.com">TEST2</a>
</div>
<div class='child divclic'> <!-- Div cliquable -->
<a href="https://steampowered.com">TEST2</a>
</div>
<div class='child divclic'> <!-- Div cliquable -->
<a href="https://steampowered.com">TEST2</a>
</div>
<div class='child divclic'> <!-- Div cliquable -->
<a href="https://steampowered.com">TEST2</a>
</div>
</div>
<div class='child large'>
<!-- Div enfant (de droite) -->
<h1 class='centre'>TEST</h1>
<div class='child divclic'> <!-- Div cliquable -->
<a href="https://steampowered.com">TEST2</a>
</div>
</div>
<div class ='DivLien'>
</div>
</div>
<div id='DivM'>
<div class ='child_div_1'>asd</div>
<div class ='child_div_2'>asd</div>
</div>
<script src='script.js' defer></script>
<div id='DivD'>
<div class ='child_div_1'>asd</div>
<div class ='child_div_2'>asd</div>
</div>
<footer class='centre pad'>Ce site fonktionne :)</footer>
</body>
</html>
+1 -14
View File
@@ -1,14 +1 @@
var couleurs = [
"red",
"blue",
"gray",
"black",
"purple",
"pink",
"green"
];
if (true == true) {
var random = Math.floor(Math.random() * couleurs.length);
document.getElementById("rainbow").style.color = couleurs[random];
}
console.log("Le site est pas fini hein")
+80 -23
View File
@@ -4,39 +4,96 @@ html {
font-family: 'Comfortaa', cursive;
}
#DivG, #DivM, #DivD {
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
width: 300px;
height: 100px;
margin-right: 10px;
float: left;
text-align: center;
width: 600px;
align-content: center;
.large {
width: 80%;
}
.DivLien {
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
body {
background: url(../data/fond/Pino.png) no-repeat center center fixed;
}
.parent {
padding: 1rem;
}
.grid-parent {
background: yellow;
display: grid;
grid-template-columns: 1fr 1fr;
}
.child {
background: pink;
padding: 1rem;
margin: 0 auto;
}
.divclic {
border-radius: 10px;
background: lightblue;
margin: 1% auto;
width: 500px;
height: 100px;
align-content: center;
text-align: center;
overflow-wrap: anywhere;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}
/* Alignement au centre et espacé des autre éléments */
.centre {
text-align: center;
}
.pad {
padding: 20px;
}
/* Animation multicolor */
.mimicolor {
font-family: monospace;
font-family: Comfortaa;
font-size: 3em;
animation: color-change 1s infinite;
}
@keyframes color-change {
0% { color: #cc0001; }
16% { color: #fb940b; }
32% { color: #ffff01; }
48% { color: #01cc00; }
64% { color: #03c0c6; }
80% { color: #0000fe; }
90% { color: #762ca7; }
100% { color: #fe98bf; }
0% { color: #ff0000; }
10% { color: #ff5300; }
20% { color: #ffa500; }
30% { color: #ffd200; }
40% { color: #ffff00; }
50% { color: #80c000; }
60% { color: #008000; }
70% { color: #004080; }
80% { color: #0000ff; }
90% { color: #2600c1; }
100% { color: #4b0082; }
}
/* Apparence des LIENS */
a {
color: white;
background-color: black;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}