_sass/hydejack/_base.pre.scss in jekyll-theme-hydejack-9.0.3 vs _sass/hydejack/_base.pre.scss in jekyll-theme-hydejack-9.0.4
- old
+ new
@@ -11,11 +11,11 @@
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-// <<<<< LINK
+// <<< LINK
body {
/* Prevent side-scrolling on mobile */
display: block;
position: relative;
overflow-x: hidden;
@@ -23,18 +23,17 @@
hy-push-state, hy-drawer {
display: block;
overflow: hidden;
}
-// >>>>>
-
-// <<<<< INLINE
+// >>>
+// <<< INLINE
body::before {
@media screen {
content: '';
width: .5rem;
- background: var(--border-color);
+ background: var(--gray-bg);
position: fixed;
left: 0;
top: 0;
bottom: 0;
}
@@ -55,8 +54,17 @@
@media screen and (min-width: $break-point-font-large) {
font-size: var(--root-font-size-large);
}
}
-// >>>>>
+// >>>
+// <<< LINK
+@media print {
+ html {
+ font-size: var(--root-font-size-print);
+ }
+}
-@media print { html { font-size: var(--root-font-size-print); } } // link
+@page {
+ margin: 16mm;
+}
+// >>>
\ No newline at end of file