mirror of
https://github.com/thangisme/notes.git
synced 2025-05-16 19:58:38 -04: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