|
|
|
/* h1 → Name
|
|
|
|
* h2 → Description
|
|
|
|
* h3 → Tags
|
|
|
|
* h4 → Date
|
|
|
|
* h5 → Url
|
|
|
|
*/
|
|
|
|
:root {
|
|
|
|
--font-size:22px;
|
|
|
|
--font-size-s:calc(var(--font-size) / 1.5);
|
|
|
|
--line-height:24px;
|
|
|
|
--gutter:0px;
|
|
|
|
--padding:2px;
|
|
|
|
--height:auto;
|
|
|
|
--color:black;
|
|
|
|
--selection:purple;
|
|
|
|
--background:#FFF;
|
|
|
|
--background-2:#FEFEFE;
|
|
|
|
--background-bottom:black;
|
|
|
|
}
|
|
|
|
/* https://github.com/psb1558/Junicode-font/releases */
|
|
|
|
@font-face {
|
|
|
|
font-family: Junicode;
|
|
|
|
src: url("Junicode-CondLight.otf") format("opentype");
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: Junicode;
|
|
|
|
src: url("Junicode-CondLightItalic.otf") format("opentype");
|
|
|
|
font-style:italic;
|
|
|
|
}
|
|
|
|
* {
|
|
|
|
font-family: Junicode;
|
|
|
|
font-variant-numeric: lining-nums;
|
|
|
|
}
|
|
|
|
h1,h2,h3,h4,h5,p, a {
|
|
|
|
word-break: break-all;
|
|
|
|
width:fit-content;
|
|
|
|
line-height:var(--line-height);
|
|
|
|
padding:0;
|
|
|
|
margin:0;
|
|
|
|
font-weight:normal;
|
|
|
|
font-size:var(--font-size);
|
|
|
|
}
|
|
|
|
nav, section, textarea {
|
|
|
|
padding: var(--padding) 0;
|
|
|
|
}
|
|
|
|
a{
|
|
|
|
width:100%;
|
|
|
|
display:block;
|
|
|
|
color:var(--color);
|
|
|
|
text-decoration:none;
|
|
|
|
margin:auto;
|
|
|
|
|
|
|
|
}
|
|
|
|
h5 {
|
|
|
|
text-decoration:underline }
|
|
|
|
li:hover a {
|
|
|
|
color:var(--selection)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
textarea{
|
|
|
|
position:fixed;
|
|
|
|
top:0;
|
|
|
|
left:5px;
|
|
|
|
z-index:10;
|
|
|
|
width:calc(100vw - 10px);
|
|
|
|
font-size:var(--font-size);
|
|
|
|
height:calc(var(--line-height) + var(--padding));
|
|
|
|
}
|
|
|
|
ol {
|
|
|
|
margin:0;
|
|
|
|
display:flex;
|
|
|
|
gap:var(--gutter);
|
|
|
|
flex-direction:column-reverse;
|
|
|
|
padding-left: 34px;
|
|
|
|
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
|
|
|
|
}
|
|
|
|
footer {
|
|
|
|
height:100vh;
|
|
|
|
margin-top:50vh;
|
|
|
|
background:linear-gradient( var(--background), var(--background-bottom));
|
|
|
|
width:calc(100% + 20px - 2px);
|
|
|
|
margin-left:-10px;
|
|
|
|
margin-bottom:-10px;
|
|
|
|
overflow:hidden;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
font-size:var(--font-size);
|
|
|
|
color:rgba(0,0,0,0);
|
|
|
|
height:0;
|
|
|
|
overflow:hidden
|
|
|
|
|
|
|
|
}
|
|
|
|
.active:nth-of-type(2n){
|
|
|
|
background:var(--background-2);
|
|
|
|
|
|
|
|
}
|
|
|
|
li,textarea, nav {
|
|
|
|
|
|
|
|
box-sizing:border-box;
|
|
|
|
border:none;
|
|
|
|
|
|
|
|
}
|
|
|
|
.active {
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
height:var(--height);
|
|
|
|
display:list-item;
|
|
|
|
color:var(--color);
|
|
|
|
overflow:visible;
|
|
|
|
}
|
|
|
|
h1,h2,a {
|
|
|
|
overflow-y:scroll;
|
|
|
|
}
|
|
|
|
h3{
|
|
|
|
opacity:.5
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* h1,h2,h3 {max-width:20px; overflow:hidden}
|
|
|
|
*/
|
|
|
|
section{
|
|
|
|
flex-wrap:wrap;
|
|
|
|
display:flex;
|
|
|
|
}
|
|
|
|
h1 {order: 0;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-style:italic}
|
|
|
|
h5,h2,h3,h4 {
|
|
|
|
order:3
|
|
|
|
}
|
|
|
|
h3::before, h2::before, h1::after{content:'\00a0·\00a0'}
|
|
|
|
h4 {
|
|
|
|
margin-left:auto;
|
|
|
|
}
|
|
|
|
html{background:white}
|
|
|
|
nav p {display:inline;
|
|
|
|
}
|
|
|
|
nav p:not(:first-of-type)::before{
|
|
|
|
content:'· '
|
|
|
|
}
|
|
|
|
nav p::after{
|
|
|
|
font-size:var(--font-size-s);
|
|
|
|
display:inline-block;
|
|
|
|
transform:translateY(-7px);
|
|
|
|
content:'\00a0(' attr(count) ')'
|
|
|
|
}
|
|
|
|
nav {
|
|
|
|
border-top: 1px solid black;
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
margin-top:calc(var(--line-height) + 1px + var(--padding));
|
|
|
|
height:calc(var(--line-height) + var(--padding) * 2);
|
|
|
|
overflow:hidden;
|
|
|
|
|
|
|
|
}
|
|
|
|
nav:hover {height:auto}
|
|
|
|
#cc {
|
|
|
|
display:absolute;
|
|
|
|
position:fixed;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
z-index:10;
|
|
|
|
height:100vh;
|
|
|
|
width:100vw;
|
|
|
|
pointer-events:none;
|
|
|
|
background:linear-gradient(0deg, yellow, ivory);
|
|
|
|
mix-blend-mode:multiply;
|
|
|
|
|
|
|
|
/* A color correction pass, enable it by removing this line ↓ */
|
|
|
|
display:none
|
|
|
|
}
|
|
|
|
|