Skip to content

Commit

Permalink
layout fixes for portrait
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzoic committed Apr 4, 2024
1 parent 6b0c55d commit 5859060
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
</head>
<body>
<div id="toc" class="sidebar">
<img src="{{ site.url }}{{ site.baseurl }}/img/countess.png" width="100%" style="max-width: 16rem;">
<div>
<img src="{{ site.url }}{{ site.baseurl }}/img/countess.png" width="100%"/>
</div>
<p>
{% if page.url != "/" %}
<a href="{{ site.url }}{{ site.baseurl }}">CountESS Documentation</a></p>
Expand Down
10 changes: 10 additions & 0 deletions docs/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ div.navbar {
border-bottom: 2px solid var(--tertiary-color);
}

div.sidebar div {
text-align: center;
}

div.sidebar div img {
display: inline-block;
max-width: 50%;
margin: 0;
}

dt {
font-weight: bold;
}
Expand Down

0 comments on commit 5859060

Please sign in to comment.