PdfCSS:APRJA Minor Tech: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
:root{
    --first-heading-size: 21px;
    --second-heading-size: 16px;
}
/*------------------page rules */
/*------------------page rules */


Line 18: Line 23:
         content: counter(page);
         content: counter(page);
     }
     }
}
/*-----------------cover */
div.cover {
div.cover h1 {
    font-size: var(--first-heading-size);
}
div.cover p {
}
div.cover small {


}
}

Revision as of 10:59, 31 May 2023

:root{
    --first-heading-size: 21px;
    --second-heading-size: 16px;
}

/*------------------page rules */


@page:first {

    background-color: lavender;

    @bottom-left{
        content: none;
    }

}


@page{

    @bottom-left{
        content: counter(page);
    }

}


/*-----------------cover */

div.cover {


div.cover h1 {
    font-size: var(--first-heading-size);
}

div.cover p {

}

div.cover small {

}

/*-----------------turning off embedded pads */
div.pad {
    display: none;
}

/*-----------------page breaks */


h1.heading1-heading2, h2.heading2-heading3 {
  break-before: always;
}

/*-----------------sections */