2021-11-08 22:00:37 +01:00
|
|
|
/* This baseline.css stylesheet is derived from: https://gist.github.com/julientaq/08d636a7a2b5f2824025256de0fca467 */
|
|
|
|
/* Thanks a lot to julientaq for publishing it! */
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--baseline: 18px;
|
|
|
|
--baseline-color: blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagedjs_page {
|
|
|
|
/* grid baseline */
|
|
|
|
background:
|
|
|
|
repeating-linear-gradient(
|
|
|
|
white 0,
|
|
|
|
white calc(var(--baseline) - 1px), var(--baseline-color) var(--baseline));
|
|
|
|
background-size: cover;
|
|
|
|
background-repeat: repeat-y;
|
2022-04-22 14:49:55 +02:00
|
|
|
/* start of the first baseline: half of the line-height: 18px / 2 = 9px */
|
2022-08-30 19:01:52 +02:00
|
|
|
background-position-y: 7px;
|
2021-11-08 22:00:37 +01:00
|
|
|
}
|