Commit 955f4d8f authored by Julie Blanc's avatar Julie Blanc

upadate CSS variables of pagedjs

parent 4c7bd532
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
} }
.pagedjs_pages { .pagedjs_pages {
display: flex; display: flex;
width: calc(var(--width) * 2); width: calc(var(--pagedjs-width) * 2);
flex: 0; flex: 0;
flex-wrap: wrap; flex-wrap: wrap;
margin: 0 auto; margin: 0 auto;
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
} }
.pagedjs_pages { .pagedjs_pages {
display: flex; display: flex;
width: calc(var(--width) * 2); width: calc(var(--pagedjs-width) * 2);
flex: 0; flex: 0;
flex-wrap: wrap; flex-wrap: wrap;
margin: 0 auto; margin: 0 auto;
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
margin-top: 10mm; margin-top: 10mm;
} }
.pagedjs_first_page { .pagedjs_first_page {
margin-left: var(--width); margin-left: var(--pagedjs-width);
} }
......
...@@ -523,7 +523,7 @@ pre{ ...@@ -523,7 +523,7 @@ pre{
} }
.pagedjs_pages{ .pagedjs_pages{
display:flex; display:flex;
width:calc(var(--width) * 2); width:calc(var(--pagedjs-width) * 2);
flex:0; flex:0;
flex-wrap:wrap; flex-wrap:wrap;
margin:0 auto; margin:0 auto;
...@@ -537,7 +537,7 @@ pre{ ...@@ -537,7 +537,7 @@ pre{
margin-top:10mm; margin-top:10mm;
} }
.pagedjs_first_page{ .pagedjs_first_page{
margin-left:var(--width); margin-left:var(--pagedjs-widthh);
} }
.pagedjs_margin-content{ .pagedjs_margin-content{
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
} }
.pagedjs_pages { .pagedjs_pages {
display: flex; display: flex;
width: calc(var(--width) * 2); width: calc(var(--pagedjs-width) * 2);
flex: 0; flex: 0;
flex-wrap: wrap; flex-wrap: wrap;
margin: 0 auto; margin: 0 auto;
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
margin-top: 10mm; margin-top: 10mm;
} }
.pagedjs_first_page { .pagedjs_first_page {
margin-left: var(--width); margin-left: var(--pagedjs-width);
} }
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
} }
.pagedjs_pages { .pagedjs_pages {
display: flex; display: flex;
width: calc(var(--width) * 2); width: calc(var(--pagedjs-width) * 2);
flex: 0; flex: 0;
flex-wrap: wrap; flex-wrap: wrap;
margin: 0 auto; margin: 0 auto;
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
margin-top: 10mm; margin-top: 10mm;
} }
.pagedjs_first_page { .pagedjs_first_page {
margin-left: var(--width); margin-left: var(--pagedjs-width);
} }
......
...@@ -34,16 +34,16 @@ ...@@ -34,16 +34,16 @@
.area-sidenote-left { .area-sidenote-left {
width: 150px; width: 150px;
position:absolute; position:absolute;
top: var(--margin-top); top: var(--pagedjs-margin-top);
padding-left: 10mm; left: 10mm;
padding-right: 10mm; padding-right: 10mm;
} }
.area-sidenote-right { .area-sidenote-right {
width: 150px; width: 150px;
top: var(--margin-top); top: var(--pagedjs-margin-top);
position:absolute; position:absolute;
left: calc(var(--width) - var(--margin-right)); left: calc(var(--pagedjs-width) - var(--pagedjs-margin-right));
padding-left: 10mm; padding-left: 10mm;
padding-right: 10mm; padding-right: 10mm;
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
} }
.pagedjs_pages { .pagedjs_pages {
display: flex; display: flex;
width: var(--width); width: var(--pagedjs-width);
flex: 0; flex: 0;
flex-wrap: wrap; flex-wrap: wrap;
margin: 0 auto; margin: 0 auto;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment