File tree Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -307,14 +307,14 @@ a.sidebar-nav-item:focus {
307
307
/* Sticky sidebar
308
308
*
309
309
* Add the `sidebar-sticky` class to the sidebar's container to affix it the
310
- * contents to the bottom of the sidebar in tablets and up.
310
+ * contents to the top of the sidebar in tablets and up.
311
311
*/
312
312
313
313
@media (min-width : 768px ) {
314
314
.sidebar-sticky {
315
315
position : absolute;
316
+ top : 1rem ;
316
317
right : 1rem ;
317
- bottom : 1rem ;
318
318
left : 1rem ;
319
319
}
320
320
}
@@ -338,3 +338,18 @@ a.sidebar-nav-item:focus {
338
338
margin-right : 2rem ;
339
339
}
340
340
}
341
+
342
+ /* Hide the logo on screens with width less than 768px */
343
+ @media (max-width : 767px ) {
344
+ .logo-container {
345
+ display : none;
346
+ }
347
+ }
348
+
349
+ /* Center the logo within the logo container */
350
+ .logo-img {
351
+ display : block;
352
+ margin-bottom : 15px ;
353
+ margin-left : 20px ;
354
+ width : 150px ;
355
+ }
Original file line number Diff line number Diff line change 2
2
< div class ="container sidebar-sticky ">
3
3
< div class ="sidebar-about ">
4
4
< h1 > < a href ="/ "> MoJuWo</ a > </ h1 >
5
- < p class ="lead "> < b > Mo</ b > dern < b > Ju</ b > lia < b > Wo</ b > rkflows</ p >
5
+ < div class ="logo-container ">
6
+ < img src ="/assets/logo.svg " alt ="MoJuWo Logo " class ="logo-img ">
7
+ </ div >
8
+ < p class ="lead "> Modern Julia Workflows</ p >
6
9
</ div >
7
10
< nav class ="sidebar-nav ">
8
11
< a class ="sidebar-nav-item {{ispage index.html}}active{{end}} " href ="/ "> Home</ a >
You can’t perform that action at this time.
0 commit comments