Verified Commit b50c63ca authored by Camil Staps's avatar Camil Staps 🚀

Documentation browser layout

parent 5e0ecd4f
......@@ -34,7 +34,7 @@ window.onload = function() {
onLoad: function(state) {
if (state.jump != null) {
var l = document.getElementsByName(state.jump)[0].documentOffsetTop();
viewer.scrollTo(0, l - window.innerHeight/4);
viewer.scrollTo(0, l - window.innerHeight/8);
}
},
state: {
......
......@@ -16,6 +16,10 @@
padding: 1em;
}
#sidebar {
min-width: 300px;
}
#sidebar h3 {
background: none;
font-family: serif;
......@@ -33,6 +37,11 @@
a:visited {
color: blue !important;
}
.browser-item {
padding-left: 1em;
text-indent: -1em;
}
</style>
</head>
<body>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment