Remove the old frontpage
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-09-13 23:24:36 +02:00
parent cd23d6b3b3
commit 3cebf305f8
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 6 additions and 92 deletions

View file

@ -1,6 +1,3 @@
/* Title font */
@import url("https://api.fonts.coollabs.io/css2?family=Overpass:wght@200&display=swap");
/* Normal font */ /* Normal font */
@font-face { @font-face {
font-family: "Luciole"; font-family: "Luciole";
@ -172,59 +169,6 @@ div.subcontent {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
/* Index */
.index {
height: 100%;
padding: 0;
margin: 0;
}
.divIndex {
width: 50%;
height: 50%;
float: left;
}
button.buttonIndex {
width: 100%;
height: 100%;
border: none;
opacity: 0.6;
transition: all 0.1s;
cursor: pointer;
}
span.buttonIndex {
font-family: "Overpass", sans-serif;
font-size: 500%;
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.buttonIndex:hover,
span.buttonIndex:after {
opacity: 1;
padding-right: 2%;
}
#buttonIndexTL {
background-color: rgb(0, 255, 255);
}
#buttonIndexTR {
background-color: rgb(21, 255, 0);
}
#buttonIndexBL {
background-color: rgb(187, 255, 0);
}
#buttonIndexBR {
background-color: rgb(208, 88, 255);
}
/* Back links going to the index */ /* Back links going to the index */
footer.backToIndexPage { footer.backToIndexPage {
text-align: center; text-align: center;

View file

@ -4,41 +4,11 @@
{{>head.html}} {{>head.html}}
</head> </head>
<body class="index"> <body class="index">
<div class="divIndex"> <div id="content">
<button <p style="font-weight: bold;"><a href="/blog">Blog</a></p>
class="buttonIndex" <p><a href="/portfolio">Portfolio</a></p>
id="buttonIndexTL" <p><a href="/networks">Réseaux</a></p>
onclick="window.location.href='https://liv.mylloon.fr/#index.md';" <p><a href="/contrib">Contributions</a></p>
> <p><a href="https://liv.mylloon.fr">Cours</a> (external)</p>
<span class="buttonIndex">Cours</span>
</button>
</div>
<div class="divIndex">
<button
class="buttonIndex"
id="buttonIndexTR"
onclick="window.location.href='/blog';"
>
<span class="buttonIndex">Blog</span>
</button>
</div>
<div class="divIndex">
<button
class="buttonIndex"
id="buttonIndexBL"
onclick="window.location.href='/networks';"
>
<span class="buttonIndex">Réseaux</span>
</button>
</div>
<div class="divIndex">
<button
class="buttonIndex"
id="buttonIndexBR"
onclick="window.location.href='/portfolio';"
>
<span class="buttonIndex">Projets</span>
</button>
</div>
</body> </body>
</html> </html>