.mdoc_3.2.6.0.source-code.custom.css Maven / Gradle / Ivy
body {
font-size: 1.2em;
color: #222;
padding: 0 10px;
font-family: Helvetica, sans-serif, "Bookman Old Style",
/* Windows, MacOS */ "Serifa BT",
/* Windows XP. Not the same font, but the overall look is close enough. */
"URW Bookman L",
/* Unix+X+FontConfig */ "itc bookman",
/* Unix+X */ /* Fallback options */ times, /* Unix+X, MacOS */ serif;
}
code {
font-size: 1em;
}
.wrapper {
display: flex;
}
.main {
max-width: 700px;
/* height: 150vh; */
}
.sidebar {
display: block;
position: -webkit-sticky;
position: sticky;
max-height: calc(100vh - 20px);
top: 20px;
overflow-y: auto;
}
.sidebar {
line-height: 1.2em;
}
.sidebar ul {
list-style: none;
margin-left: 5px;
padding-left: 5px;
}
.main img {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
}
hr {
border: 0;
height: 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.main aside {
display: inline-block;
padding-left: 5px;
font-size: 0.5em;
}
@media screen and (max-width: 700px) {
.main {
max-width: unset;
width: 95%;
}
.sidebar {
display: none;
}
}
@media screen and (min-width: 700px) {
.main {
width: 65%;
}
.sidebar {
width: 30%;
}
}
@media screen and (min-width: 800px) {
.main {
width: 55%;
}
.sidebar {
width: 30%;
}
}
@media screen and (max-device-width: 700px) {
.home {
font-size: 1em;
}
.main {
max-width: unset;
width: 95%;
}
.sidebar {
display: none;
}
}
div[data-mdoc-js] {
background-color: blanchedalmond;
}