mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-15 23:52:23 -06:00
add print css. hides the sidebar, keeps the logo
This commit is contained in:
parent
16c18c1020
commit
d3c389ccc5
12
_sass/utilities/_print.scss
Normal file
12
_sass/utilities/_print.scss
Normal file
@ -0,0 +1,12 @@
|
||||
@media print{
|
||||
.side-bar{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
.main-nav, footer{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.main-content{
|
||||
margin-left: 20px;
|
||||
}
|
||||
}
|
@ -3,3 +3,4 @@
|
||||
@import "./typography";
|
||||
@import "./lists";
|
||||
@import "./spacing";
|
||||
@import "./print";
|
||||
|
Loading…
x
Reference in New Issue
Block a user