PdfCSS:APRJA Minor Tech: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
:root{ | :root{ | ||
--first-heading-size: | --first-heading-size: 44px; | ||
--first-heading-line-height: | --first-heading-line-height: 100%; | ||
--second-heading-size: | --second-heading-size: 24px; | ||
--heading-font: "Times New Roman", serif; | --heading-font: "Times New Roman", serif; | ||
--author-font: "Arial", sans-serif; | --author-font: "Arial", sans-serif; |
Revision as of 11:40, 31 May 2023
@charset "utf-8";
:root{
--first-heading-size: 44px;
--first-heading-line-height: 100%;
--second-heading-size: 24px;
--heading-font: "Times New Roman", serif;
--author-font: "Arial", sans-serif;
}
/*------------------page rules */
@page:first {
background-color: lavender;
size: 210mm 297mm portrait;
margin: 55px 55px 80px 40px;
@bottom-right{
content: none;
}
}
/*@page{
size: 210mm 297mm portrait;
margin: 70px 40px 40px 40px;
}*/
@page:left{
@bottom-left{
content: counter(page);
}
}
@page:right{
@bottom-right{
content: counter(page);
}
}
/*-----------------cover */
div.cover {
}
div.cover > h1 {
font-size: var(--first-heading-size);
line-height: var(--first-heading-line-height);
font-family: var(--heading-font);
}
div.cover > p {
font-size: var(--second-heading-size);
font-family: var(--author-font);
}
div.cover small {
}
/*----------------table of contents */
div.TOC {
display:none;
}
/*-----------------turning off embedded pads */
div.pad {
display: none;
}
/*-----------------page breaks */
section.article {
break-before: always;
}
/*-----------------sections */