
body {
    font-family: sans-serif;
    word-break: break-word;

    padding: 0px;
    margin: 0px;
}

.parallax {
    perspective: 1px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100vw;
    height: 100vh;
}
.parallax > .bg {
    transform: scale(2) translateZ(-1px);
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}
.parallax > .fg {
    transform: translateZ(0px);
}

.parallax > .bg {
    background-image: url("/static/bg.png");
    background-repeat: no-repeat;
    background-size: 100%;
}

.parallax > .fg {
    background-color: rgba(255,255,255,0.87);
    border-radius: 2.5em;
    padding-top: 2.5em;
    padding-left: 4em;
    padding-right: 4em;
    padding-bottom: 1.5em;
    margin-top: 5em;
    max-width: 72ex;
    margin-left: auto;
    margin-right: auto;
}
#content {
    text-align: left;
}

#avatar {
    font-size: 400%;
    border-radius: 1em;
    width: 1em;
    height: 1em;
    position: relative;
    top: 0.25ex;
    margin-left: -0.5em;
    margin-right: 0.3ex;
}
#title {
    font-size: 400%;
    text-decoration: none;
    font-weight: lighter;
    color: black;
}

#menu {
    margin-block-start: 0.25em;
    margin-block-end: 0px;
    padding-left: 0px;
    width: 100%;
    text-align: right;
}
#menu > li {
    display: inline;
    margin-left: 1em;
}
#menu ul {
    padding-left: 0px;
}
#menu li {
    list-style-type: none;
}
#menu li:hover > a {
    text-decoration: underline;
    text-decoration-color: #ed0000;
}
#menu li > ul {
    display: none;
}
#menu li:hover > ul {
    display: block;
}
#menu a {
    color: black;
    text-decoration: none;
}
#menu li > div {
    margin-top: 0.5ex;
    font-weight: bold;
    font-variant-caps: petite-caps;
    font-size: 120%;
}

#content {
    padding-bottom: 2.5em;
    line-height: 133%;
}

#content ul {
    padding-left: 3ex;
}
#content ul > li {
    list-style-type: circle;
}

#content > * {
    max-width: 72ex;
}

#content .date {
    font-size: 75%;
    width: 100%;
    font-style: italic;
    text-align: right;
    position: relative;
    top: -2ex;
}

#content > h1,
#content > h2,
#content > h3,
#content > h4,
#content > h5 {
    margin-bottom: 1.2ex;
    line-height: 90%;
    margin-top: 3ex;
}
#content h1.recent {
    margin-top: 5ex;
}
#content .more {
    font-style: italic;
}

#content p {
    margin-top: 1ex;
    margin-bottom: 1ex;
}
#content p + p {
}
#content p > a {
}

#footer {
    clear: both;
}
#footer > #powered-by {
    font-size: 70%;
    float: right;
    margin-bottom: 1ex;
}

a.linkify {
    word-break: break-all;
}
a {
    text-decoration: underline;
    text-decoration-color: #999999;
    color: black;
}
a:visited {
    color: #666666;
}
a#title:hover,
a:hover {
    text-decoration: underline;
    text-decoration-color: #ed0000;
}

img {
    width: 100%;
}
p img {
    width: 50%;
    float: right;
    margin: 1ex;
    margin-right: 0px;:
}

blockquote {
    font-style: italic;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-left: 1ex;
    border-left: 0.33ex solid #bebebe;
}

span.katex {
    line-height: 1;
}
span.katex-display > span.katex {
    line-height: 1.2;
}

span.katex-html {
    white-space: normal;
}
span.katex-display,
span.katex-display > span.katex {
    text-align: left;
}
span.katex-display {
    padding-left: 2em;
}

code {
    background-color: #d2eef4;
    padding-left: 0.5ex;
    padding-right: 0.5ex;
    padding-top: 0.3ex;
    padding-bottom: 0.3ex;
    font-size: 95%;
}
pre > code {
    font-weight: normal;

    display: block;

    margin: 0px;
    padding: 0px;

    background-color: inherit;
    border-left: 0.33ex solid #0a9fc0;
    padding-left: 1ex;

    word-break: break-all;
    white-space: pre-wrap;
}

code.js {
    background-color: #d2eef4;
    border-left: 0.33ex solid #0ac09f;
}

code.out {
    background-color: #f4d2ee;
    border-left: 0.33ex solid #c00a9f;
}

