aboutsummaryrefslogtreecommitdiff
path: root/sass/css
diff options
context:
space:
mode:
Diffstat (limited to 'sass/css')
-rw-r--r--sass/css/yaroslavps.scss46
1 files changed, 46 insertions, 0 deletions
diff --git a/sass/css/yaroslavps.scss b/sass/css/yaroslavps.scss
index 723d3a5..1017f79 100644
--- a/sass/css/yaroslavps.scss
+++ b/sass/css/yaroslavps.scss
@@ -273,3 +273,49 @@ h2 > span.publish-date {
background-color: #00000000;
}
}
+
+@media print {
+ html,
+ body,
+ .main-container {
+ background-image: none;
+ background-color: #fff;
+ }
+
+ h1,
+ h2,
+ h3,
+ h4,
+ h5,
+ h6,
+ ul,
+ ol,
+ li,
+ p,
+ a[href],
+ sup,
+ sub {
+ color: #000;
+ font-family: $font_serif;
+ }
+
+ a[href] {
+ text-decoration: none;
+ }
+
+ .sidebar-container {
+ display: none;
+ }
+
+ .header-container,
+ .content-container {
+ grid-column-start: 1;
+ grid-column-end: 3;
+ }
+
+ .publish-date,
+ pre,
+ code {
+ color: #777;
+ }
+}