PdfCSS:Test: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/*:root {*/
:root {
/* --color-paper: white;*/
font-size: 14px;
/*}*/
/*--color-paper: white;*/
}
 
@font-face {
font-family: "Director-Regular";
    src: url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/Director-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
 
@page{
@page{
size: 290mm 420mm;
size: 290mm 420mm;
Line 16: Line 25:
/*background-color: pink;*/
/*background-color: pink;*/
color: red;
color: red;
font-family: 'Director-Regular';
}
}
div.cover{
div.cover{
Line 21: Line 31:
}
}
div.cover h1{
div.cover h1{
font-size: 52px;
font-size: 3rem;
}
}
div.article{
div.article{

Revision as of 08:32, 16 January 2023

:root {
	font-size: 14px;
	/*--color-paper: white;*/
}

@font-face {
	font-family: "Director-Regular";
    src: url('https://cc.vvvvvvaria.org/fonts/velvetyne/degheest-types/Director-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@page{
	size: 290mm 420mm;
	margin: 15mm;
	
	@top-left {
		content: "something";
	}
}
@page:first{
	background: coral;
}
body{
	/*background-color: pink;*/
	color: red;
	font-family: 'Director-Regular';
}
div.cover{
	break-after: always;
}
div.cover h1{
	font-size: 3rem;
}
div.article{
	break-before: always;
}
span.tocnumber,
div.pad{
	display: none;
}