Compare commits

..

No commits in common. "441e4781de1401a433b60649093692cb39eb2d33" and "05500cb27b218e3f9cdc70c9ab52388c83764602" have entirely different histories.

4 changed files with 23 additions and 62 deletions

View file

@ -8,8 +8,6 @@
}
body {
position: relative;
min-height: 100em;
padding: 0;
margin: 0;
font-family: Roboto;
@ -44,7 +42,6 @@ main > p {
#links-container {
justify-content: center;
display: flex;
flex-flow: row wrap;
width: 100%;
}
@ -66,7 +63,7 @@ div.item > a {
}
div.item:hover {
animation: hover 0.2s forwards;
animation:hover 0.2s forwards;
}
@keyframes hover {
@ -76,42 +73,30 @@ div.item:hover {
img.item {
height: inherit;
margin: 0 auto;
}
div.image {
border-radius: 15pt;
height: 58pt;
min-width: 58pt;
display: block;
width: fit-content;
width: auto;
display: inline-block;
padding: 5pt;
margin: 12pt 10pt 12pt 12pt;
text-align: center;
background: white;
}
div.desc {
margin: auto 6pt auto 0;
text-align: center;
font-weight: 800;
font-size: 14pt;
font-weight: 700;
font-size:15pt;
}
footer {
position: absolute;
bottom: 0;
position: fixed;
display: flex;
left: 0;
width: 100%;
bottom: 0;
height: 10em;
border-top: grey 1px solid;
display: flex;
justify-content: center;
align-items: center;
}
@media screen and (max-width: 600px) {
div.item {
width: 70%;
}
}

View file

@ -2,17 +2,9 @@
<html>
<?php
$title = "Marcel's Homepage";
$services = [
array("name" => "authentik","displayname" => "Authentik", "link" => "https://auth.marcelsite.com", "image" => "/static/authentik.svg"),
array("name" => "uptime-kuma","displayname" => "Uptime Kuma", "link" => "https://status.marcelsite.com", "image" => "/static/uptime-kuma.svg"),
array("name" => "forgejo","displayname" => "Forgejo", "link" => "https://git.marcelsite.com", "image" => "/static/forgejo.svg"),
array("name" => "peertube","displayname" => "Peertube", "link" => "https://peertube.marcelsite.com", "image" => "/static/peertube.svg"),
array("name" => "element","displayname" => "Matrix (Element)", "link" => "https://element.marcelsite.com", "image" => "/static/element.svg"),
];
?>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/base.css" type="text/css">
<title> <?php echo $title; ?> </title>
</head>
@ -21,25 +13,26 @@ $services = [
<header id="topbar" class="darkerbar"><h1><?php echo $title; ?></h1> </header>
<main>
<div id="links-container">
<div class="item" id="authentik">
<div class="image"><img class="item" src="static/authentik.svg"></div><div class="desc">authentik</div>
<a href="https://auth.marcelsite.com"></a>
</div>
<div class="item" id="forgejo">
<div class="image"><img class="item" src="static/forgejo.svg"></div><div class="desc">Forgejo</div>
<a href="https://git.marcelsite.com"></a>
</div>
<div class="item" id="element">
<div class="image"><img class="item" src="static/element.svg"></div><div class="desc">Matrix (Element)</div>
<a href="https://element.marcelsite.com"></a>
</div>
</div>
<p>
You've reached my realm. Now look around or leave.
</p>
<div id="links-container">
<?php
foreach ($services as $service) {
echo " <div class='item' id='$service[name]'>";
echo " <div class='image'><img class='item' alt='logo' src='$service[image]'></div><div class='desc'>$service[displayname]</div>";
echo " <a href='$service[link]'></a>";
echo " </div>";
}
?>
</div>
</main>
<footer id="bottombar" class="darkerbar">
Footer currently completely empty.
</footer>
<footer id="bottombar" class="darkerbar"> </footer>
</body>
</html>

View file

@ -1,8 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="2799 -911 16 22">
<g>
<path fill="#211f20" d="M2799-911v11l8-5" />
<path fill="#737373" d="M2799-900v11l8-6" />
<path fill="#f1680d" d="M2807-905v10l8-5" />
<path fill="transparent" d="M2807-895v-10l-8 5z" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 290 B

View file

@ -1,9 +0,0 @@
<svg width="640" height="640" viewBox="0 0 640 640" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1 0 0 1 320 320)">
<linearGradient id="S3" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1 0 0 1 -319.99875 -320.0001577393)" x1="259.78" y1="261.15" x2="463.85" y2="456.49">
<stop stop-color="#5CDD8B"/>
<stop offset="1" stop-color="#86E6A9"/>
</linearGradient>
<path style="stroke: rgb(242,242,242); stroke-opacity: 0.51; stroke-width: 200; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: url(#S3); fill-rule: nonzero; opacity: 1;" transform=" translate(0, 0)" d="M 170.40125 -84.36016 C 224.09125 38.37984 224.09125 115.33984 170.40125 146.49984 C 89.85125000000001 193.23984000000002 -120.03875 207.48984000000002 -180.45875 135.63984 C -220.73875 87.73983999999999 -220.73875 14.399839999999998 -180.45875 -84.36016000000001 C -139.49875 -151.82016 -81.28875000000001 -185.55016 -5.828750000000014 -185.55016 C 69.64124999999999 -185.55016 128.38125 -151.82016000000002 170.40124999999998 -84.36016000000001 z" stroke-linecap="round" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB