Commit 02fcbc3c authored by Julie Blanc's avatar Julie Blanc

delete css vars used in javascript

parent f7170f48
:root{ :root{
/* main font (specified all in px) */ /* main font (specified all in px) */
--main-font-size: 20px; --main-font-size: 22px;
--main-line-height: 20px; --main-line-height: 25px;
--main-font-family: 'ibm-plex-sans'; --main-font-family: 'ibm-plex-sans';
--main-font-weight: 400; --main-font-weight: 400;
/* --baseline: 40px; */
font-size: var(--main-font-size); font-size: var(--main-font-size);
font-family: var(--main-font-family); font-family: var(--main-font-family);
font-weight: var(--main-font-weight); font-weight: var(--main-font-weight);
...@@ -27,25 +24,6 @@ span{ background-color: rgba(255, 80, 80, 0.5); } ...@@ -27,25 +24,6 @@ span{ background-color: rgba(255, 80, 80, 0.5); }
/* for paged js */
/* @media screen {
.pagedjs_page {
background: linear-gradient( transparent 0%, transparent calc(var(--baseline) - 1px), #999 calc(var(--baseline) - 1px), #999 var(--baseline)), transparent;
background-size: 100% var(--baseline);
background-repeat: repeat-y;
}
} */
/* body{
--baseline-position: 0px;
background: linear-gradient( transparent 0%, transparent calc(var(--baseline) - 1px), #999 calc(var(--baseline) - 1px), #999 var(--baseline)), transparent;
background-size: 100% var(--baseline);
background-repeat: repeat-y;
background-position-y: var(--baseline-position);
} */
p{ p{
/* margin-top: 6px; /* margin-top: 6px;
padding-top: 5px;*/ padding-top: 5px;*/
...@@ -59,7 +37,7 @@ p{ ...@@ -59,7 +37,7 @@ p{
h1{ h1{
font-family: 'ibm-plex-sans'; font-family: 'ibm-plex-sans';
font-weight: 800; font-weight: 800;
font-size: 60px; font-size: 3rem;
line-height: 80px; line-height: 80px;
/* margin-bottom: 23px; */ /* margin-bottom: 23px; */
} }
...@@ -69,6 +47,7 @@ h2{ ...@@ -69,6 +47,7 @@ h2{
} }
li{ li{
padding-top: 3px;
/* padding-bottom: 24px; */ /* padding-bottom: 24px; */
} }
...@@ -77,8 +56,8 @@ blockquote{ ...@@ -77,8 +56,8 @@ blockquote{
/* padding: 10px 50px; */ /* padding: 10px 50px; */
} }
.intro{ /* .intro{
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 600; font-weight: 600;
line-height: 60px; line-height: 60px;
} } */
...@@ -33,21 +33,7 @@ ...@@ -33,21 +33,7 @@
} }
/* uncomment for recto/verso book.
--------------------------------------------------- */
/* .pagedjs_pages {
flex-direction: column;
width: 100%;
}
.pagedjs_first_page {
margin-left: 0;
}
.pagedjs_page {
margin: 0 auto;
margin-top: 10mm;
} */
#pagedjs_interface_header{ #pagedjs_interface_header{
......
@page{ @page{
size: A5; size: A5;
margin: 0mm 20mm; margin: 0mm 20mm;
/* margin: calc(var(--baseline)*2) 20mm; */
} }
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