refactor: migrate images and assets to /blog subdirectory
This commit is contained in:
52
src/blog_assets/css/print.scss
Normal file
52
src/blog_assets/css/print.scss
Normal file
@@ -0,0 +1,52 @@
|
||||
nav,
|
||||
.right-side,
|
||||
.main-header,
|
||||
.main-footer,
|
||||
.post-nav,
|
||||
.post-list-footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
orphans: 3;
|
||||
widows: 3;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
page-break-after:avoid;
|
||||
break-after: avoid;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 22px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
}
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
}
|
||||
h4 {
|
||||
font-size: 14px;
|
||||
}
|
||||
.main-content {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.main-content .sub-title {
|
||||
margin: 0.5rem 0 1rem 0;
|
||||
}
|
||||
.post-list {
|
||||
display: block;
|
||||
gap: 0;
|
||||
}
|
||||
.post-list-item {
|
||||
max-width: none;
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user