_sass/minima/_base.scss in jekyll-theme-lcsb-default-0.3.9 vs _sass/minima/_base.scss in jekyll-theme-lcsb-default-0.3.10
- old
+ new
@@ -10,10 +10,27 @@
html, body{
height: 100%;
}
+@page {
+ margin: 2cm;
+ size: A4;
+}
+
+@page:right{
+ @bottom-right {
+ content: counter(page);
+ }
+}
+
+@page:left{
+ @bottom-left {
+ content: counter(page);
+ }
+}
+
/**
* Basic styling
*/
body {
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
@@ -103,10 +120,18 @@
*/
a {
color: $brand-color;
text-decoration: none;
+ @media print {
+ &:after {
+ content: " ["attr(href)"] ";
+ font-weight: 600;
+ text-decoration: underline;
+ }
+ }
+
&:visited {
color: darken($brand-color, 15%);
}
&:hover {
@@ -188,9 +213,20 @@
padding-left: $spacing-unit / 2;
}
display: flex;
flex-direction: column;
height: auto;
+}
+
+@media print {
+ .main {
+ max-width: unset;
+ min-width: unset;
+ margin-right: 0px;
+ margin-left: 0px;
+ background-color: #fdfdfd;
+ box-shadow: unset;
+ }
}
.wrapper {
padding-right: $spacing-unit;
padding-left: $spacing-unit;