pages/site/home/index.html
2024-09-23 12:20:49 +02:00

112 lines
2 KiB
HTML

<!doctype html>
<html>
<head>
<title>/</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #161925;
}
::selection{
background-color: #00D3A7;
color: #fefefe;
}
html,
body {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.stretch {
width: calc(50vw - 4px);
color: #C3C7D1;
margin-top: 0;
}
.column {
flex-direction: column;
}
.row {
display: flex;
justify-content: space-between;
flex-direction: row;
}
.border {
display: flex;
justify-content: center;
align-items: center;
width: 50vw; /* 50% of the viewport's width */
height: 50vh; /* 50% of the viewport's height */
border: 2px solid white;
flex-direction: row; /* Stack children horizontaly */
justify-content: center; /* Align children to the top */
align-items: flex-start;
}
button {
background-color: #c6262e;
color=black;
border: 1px solid white;
cursor: pointer;
margin-left: auto;
}
button:hover {
background-color: #ed5353;
}
a {
text-decoration: none;
color: #C3C7D1;
}
img {
width: max(min(90%, 100px), 50px);
aspect-ratio: 1/1;
}
.folder {
width: 25%;
}
</style>
</head>
<body id="body">
<div class="border">
<div class="column">
<div class="stretch row">
Dario48's website
<div style="aspect-ratio: 1 / 1">
<button
type="button"
onclick="document.getElementById('body').remove();"
>
X
</button>
</div>
</div>
<form>
<input type="text" value="/home/" class="stretch" />
</form>
<nav class="row">
<div class="column folder">
<a href="Dario48/">
<img
src="Dario48/Pictures/folder.svg"
style="
display: block;
margin-left: auto;
margin-right: auto;
"
/>
<p style="text-align: center">Dario48</p>
</a>
</div>
</nav>
</div>
</div>
</body>
</html>