<style>

@font-face {
    font-family: 'et-book';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/tufte-css/1.8.0/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* There is some redundancy between this command for root and 
the commands below. The current solution emerged from trial and 
error. The problem I encountered in the version I was using for 
testing is that Jupyter Notebook did not seem to run the root 
commands and set the values for line-height or font-size1. 
Both JupyterLab 4 and Jupyter Notebook are evolving so it might 
be worth checking periodically to see if the problems 
that caused this work around have been solved. 
 */

:root {
    --jp-content-line-height: 1.3;
    --jp-content-font-scale-factor: 1.2;
    --jp-content-font-size1: 20px; /* Base font size */
    --jp-content-font-family: 'et-book', 'Times New Roman', Times, serif;
} 

.jp-RenderedHTMLCommon {
    line-height: 1.3 !important;
    font-size: 20px !important;
    font-family: 'et-book', 'Times New Roman', Times, serif;
    padding-left: 10% !important;
    padding-right: 20% !important;
}

.jp-CodeCell {
    padding-left: 10% !important;
    padding-right: 20% !important;
}

.jp-RawCell {
    padding-left: 10% !important;
    padding-right: 20% !important;
}


code {
    font-size: 0.8em !important;
    background-color: #f0f0f0 !important;
}

hr {
    background: #000;
    height: 1px;
    border: 0px;
} 


</style>