Skip to content

Commit 091ae1e

Browse files
authored
Merge pull request #6 from joseemds/make-sidebar-fixed
Make sidebar fixed
2 parents 8a2405a + 6d3b0a0 commit 091ae1e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

static/css/stgit.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,18 @@ body > div > header {
198198
padding-top: var(--s3);
199199
}
200200

201+
@media (min-width: 768px) {
202+
body > div > header {
203+
position: fixed;
204+
height: 100%;
205+
}
206+
207+
body > div > div {
208+
margin-left: 12rem;
209+
}
210+
211+
}
212+
201213
body > div > header > a > img {
202214
width: 33%;
203215
}

0 commit comments

Comments
 (0)