You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
158 lines
2.7 KiB
HTML
158 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>my 2 cents about code documentation</title>
|
|
|
|
<style>
|
|
|
|
|
|
@font-face {
|
|
font-family: "Unilegant";
|
|
src: url("https://hub.xpub.nl/soupboat/docs/font/Unilegant.woff2")
|
|
format("woff2"),
|
|
url("https://hub.xpub.nl/soupboat/docs/font/Unilegant.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
background-color: dodgerblue;
|
|
font-family: sans-serif;
|
|
|
|
perspective: 2px;
|
|
transform-style: preserve-3d;
|
|
|
|
|
|
}
|
|
|
|
|
|
.list {
|
|
|
|
|
|
transform-style: preserve-3d;
|
|
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
padding: 32px;
|
|
padding-left: 64px;
|
|
font-family: serif;
|
|
font-size: 96px;
|
|
line-height: 1.2;
|
|
|
|
color: white;
|
|
filter: blur(8px);
|
|
transform: translateX(10px) translateZ(-1px);
|
|
|
|
transition: all 0.4s ease-in;
|
|
z-index: 0;
|
|
}
|
|
|
|
.list:hover {
|
|
filter: blur(1px);
|
|
transform: translate(0) translateZ(-1px);
|
|
transition: all 0.6s ease-out;
|
|
}
|
|
|
|
.list ul {
|
|
list-style: none;
|
|
list-style-type: "- ";
|
|
list-style-position: outside;
|
|
}
|
|
|
|
.list li + li {
|
|
margin-top: 1.4em;
|
|
|
|
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-family: "Unilegant";
|
|
text-decoration: underline;
|
|
text-shadow: 1px 0 0 currentColor, 1px 0 0 currentColor;
|
|
margin-top: 200px;
|
|
|
|
}
|
|
|
|
.contents {
|
|
position: relative;
|
|
z-index: 50;
|
|
margin: 0 auto;
|
|
padding-top: 32px;
|
|
font-size: 48px;
|
|
filter: blur(10px);
|
|
max-width: 50ch;
|
|
transform: translate(100px);
|
|
opacity: 0.5;
|
|
|
|
line-height: 1.6;
|
|
|
|
z-index: 999;
|
|
transition: all 0.6s ease-out, opacity 2s ease-out 0.4s;
|
|
}
|
|
|
|
.contents:hover {
|
|
transition: all 0.4s ease-in;
|
|
|
|
filter: blur(0px);
|
|
opacity: 1;
|
|
transform: translate(0);
|
|
}
|
|
|
|
.contents ul {
|
|
|
|
list-style-type: '- ';
|
|
|
|
}
|
|
|
|
.contents li+li {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
a {
|
|
color: white;
|
|
}
|
|
|
|
blockquote {
|
|
font-style: italic;
|
|
font-family: serif;
|
|
margin-block: 64px;
|
|
|
|
}
|
|
|
|
strong {
|
|
background-color: white;
|
|
color: black;
|
|
font-weight: normal;
|
|
padding-inline: 0.5ch;
|
|
}
|
|
|
|
img {
|
|
max-width: 800px;
|
|
max-height: 800px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
hr {
|
|
color: white;
|
|
max-width: 20ch;
|
|
}
|
|
</style>
|
|
|
|
|
|
</head>
|
|
<body>
|
|
<main>
|
|
|
|
<section class="list">{{list|safe}}</section>
|
|
<section class="contents">{{content|safe}}</section>
|
|
</main>
|
|
</body>
|
|
</html>
|