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.
89 lines
1.5 KiB
HTML
89 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>my 2 cents about code documentation</title>
|
|
|
|
<style>
|
|
|
|
|
|
body {
|
|
background-color: dodgerblue;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
.list {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
padding: 32px;
|
|
padding-left: 64px;
|
|
font-family: serif;
|
|
font-size: 96px;
|
|
|
|
color: white;
|
|
filter: blur(10px);
|
|
transform: translate(10px);
|
|
|
|
transition: all 0.2s ease-out;
|
|
}
|
|
|
|
.list:hover {
|
|
filter: blur(1px);
|
|
transform: translate(0);
|
|
transition: all 1s ease-in;
|
|
}
|
|
|
|
.list ul {
|
|
list-style: none;
|
|
list-style-type: "- ";
|
|
list-style-position: outside;
|
|
}
|
|
|
|
.list li + li {
|
|
margin-top: 0.4em;
|
|
}
|
|
|
|
.contents {
|
|
position: relative;
|
|
z-index: 50;
|
|
margin: 32px auto;
|
|
font-size: 42px;
|
|
max-width: 60ch;
|
|
|
|
filter: blur(10px);
|
|
transform: translate(100px);
|
|
opacity: 0.5;
|
|
|
|
|
|
line-height: 1.6;
|
|
|
|
transition: all 0.6s ease-out;
|
|
}
|
|
|
|
.contents:hover {
|
|
transition: all 0.4s ease-in;
|
|
|
|
filter: blur(0px);
|
|
opacity: 1;
|
|
transform: translate(0);
|
|
}
|
|
|
|
a {
|
|
color: white;
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
</head>
|
|
<body>
|
|
<main>
|
|
|
|
<section class="list">{{list|safe}}</section>
|
|
<section class="contents">{{content|safe}}</section>
|
|
</main>
|
|
</body>
|
|
</html>
|