mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 16:52:16 +00:00
47 lines
790 B
CSS
47 lines
790 B
CSS
html, body {
|
|
margin: 0;
|
|
max-height: 100%;
|
|
width: 100%;
|
|
}
|
|
body {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.content-wrapper {
|
|
display: grid;
|
|
grid-template-columns: 250px 1fr;
|
|
height: 100%;
|
|
}
|
|
#sidebar {
|
|
width: 250px;
|
|
overflow-y: auto;
|
|
border-right: 1px solid #ccc;
|
|
}
|
|
#sidebar > h4 > a {
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
#main {
|
|
overflow-y: auto;
|
|
padding: 1em;
|
|
}
|
|
#header {
|
|
background: #f0f0f0;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
/* TODO: quick basic code styling here; integrate boostlook instead? */
|
|
pre > code {
|
|
display: block;
|
|
background-color: #f5f5f5;
|
|
color: #232a56;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
font-family: monospace;
|
|
font-size: 0.875rem;
|
|
overflow-x: auto;
|
|
white-space: pre-wrap;
|
|
line-height: 1.5;
|
|
}
|