Compare commits
6 commits
05500cb27b
...
441e4781de
Author | SHA1 | Date | |
---|---|---|---|
Michael Rodin | 441e4781de | ||
Michael Rodin | b125f86fa9 | ||
Michael Rodin | cae4cc03fb | ||
Michael Rodin | 0f33db1175 | ||
Michael Rodin | d8c6c2036f | ||
Michael Rodin | e83758fc07 |
|
@ -8,6 +8,8 @@
|
|||
}
|
||||
|
||||
body {
|
||||
position: relative;
|
||||
min-height: 100em;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: Roboto;
|
||||
|
@ -42,6 +44,7 @@ main > p {
|
|||
#links-container {
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
@ -63,7 +66,7 @@ div.item > a {
|
|||
}
|
||||
|
||||
div.item:hover {
|
||||
animation:hover 0.2s forwards;
|
||||
animation: hover 0.2s forwards;
|
||||
}
|
||||
|
||||
@keyframes hover {
|
||||
|
@ -73,30 +76,42 @@ div.item:hover {
|
|||
|
||||
img.item {
|
||||
height: inherit;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
div.image {
|
||||
border-radius: 15pt;
|
||||
height: 58pt;
|
||||
width: auto;
|
||||
display: inline-block;
|
||||
min-width: 58pt;
|
||||
display: block;
|
||||
width: fit-content;
|
||||
padding: 5pt;
|
||||
margin: 12pt 10pt 12pt 12pt;
|
||||
text-align: center;
|
||||
background: white;
|
||||
}
|
||||
|
||||
div.desc {
|
||||
margin: auto 6pt auto 0;
|
||||
text-align: center;
|
||||
font-weight: 700;
|
||||
font-size:15pt;
|
||||
font-weight: 800;
|
||||
font-size: 14pt;
|
||||
}
|
||||
|
||||
footer {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
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%;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,17 @@
|
|||
<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>
|
||||
|
@ -13,26 +21,25 @@ $title = "Marcel's Homepage";
|
|||
<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>
|
||||
<footer id="bottombar" class="darkerbar">
|
||||
Footer currently completely empty.
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
8
root/static/peertube.svg
Normal file
8
root/static/peertube.svg
Normal file
|
@ -0,0 +1,8 @@
|
|||
<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>
|
After Width: | Height: | Size: 290 B |
9
root/static/uptime-kuma.svg
Normal file
9
root/static/uptime-kuma.svg
Normal file
|
@ -0,0 +1,9 @@
|
|||
<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>
|
After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in a new issue